I'm trying to make a "Remove play song verb" for my icon game (Yeah, yeah, there's too many already, I know.) but the coding I got looks like it should work. Someone reply if they can help me fix my problem.
This is the coding I have for it:
Remove_Song_Verb(mob/M in world)
set category = "Owner"
set desc = "Remove a player's song verb."
if(alert("Are you sure?","Remove song verb","Yes","No") == "Yes")
M.verbs -= typesof(/mob/verb/Play_Song)
world << "[src] has removed [M]'s song verb."
The verb appears in my GM tab, the message is displayed to the world but, lo and behold, my victim still has their play song verb afterwards. The verb's exact name is "Play_Song", the refernce to the path mob/verb/Play_Song is correct, and I still can't find the problem.
Aug 22 2003, 6:16 pm (Edited on Aug 22 2003, 6:21 pm)