mob
gm
verb
toggle_mute(mob/m in world)
set category = "Staff"
set name = "Toggle Mute"
set desc = "Mute a player"
if(m.muted==1)
m.muted=0
world << output ("<b><font color=blue>[m.key] has been unmuted!</font>", "OOC")
return
else
m.muted=1
world << output ("<b><font color=yellow>[m.key] has been muted!</font>", "OOC")
return
Problem description: The code works perfectly, the only thing, is when muting, I'd like to be able to select players, instead of mobs. I've tried replacing all that with usr, but it says the variable is undefined.