mob/verb/Engage_in_battle(mob/M in oview(1))
set category = "Combat"
switch(alert(M,"[usr] has chalenged you to a battle.","Accept?","Yes","No") == "Yes")
if(M.npc == 0 && !M)
//blah blah rest of the stuff.There IS coding here.
Problem description:
Problem is,now every time I compile,it keeps saying empty switch statement and it highlights the if(M.npc == 0 && !M) and every time the M chooses "no" It does what yes does...