mob
Login()
switch(input("What team would you like to join?(Requires GM approval)", text) in list ("blue","red")
if("blue")
for(var/mob/M in world)
if(M.GM == 1)
switch(M,input("[src] wants to join blue team. agree?", text) in list ("yes","no"))
if("yes")
src.team = "blue"
src.overlays += 'blueover.dmi'
else
src<<"[M] declined! try joining the other team!"
if("red")
for(var/mob/M in world)
if(M.GM == 1)
switch(M,input("[src] wants to join red team. agree?", text) in list ("yes","no"))
if("yes")
src.team = "red"
src.overlays += 'redover.dmi'
else
src<<"[M] declined! try joining the other team!"
Problem description:
COMPILATION ERROR! it says that the if("blue") has a missing comma or right parent :/ it doesnt