Help A Guy Out? in Developer Help
|
|
Code:
obj/tele verb Telepathy(mob/M in world, msg as text) Safe_Guard(M,SGS_Filter_txt("<font color = silver>[usr]: [msg]")) Safe_Guard(usr,SGS_Filter_txt("<font color = silver>[usr]: [msg]")) World_Say(msg as text) set category = "Social" if(usr.mute == 1) usr << "<b>YOU'RE MUTED!</b>" else Safe_Guard(world,SGS_Filter_txt("<font color = red>[usr]</font>: <font color = silver>[msg]</font>"))
|
verbs.dm:232::warning: empty switch statement
verbs.dm:232:error::expected "if" or "else"
1 error, 1 warning
How do I fix this?!?!?!!? I've searched through the guide and still not sure! Please Help!b>
Please dont give me the link to the DM tutorial, I've checked it, im still confused. Please give me the actual code to fix this, or a hint, or something. Not just a reference to soem other tutorial.
|
switch should have if statements.
For example: