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.

Example
mob/song/verb
Play_Song()
// Coding here
Then use what you have now, but instead remove the verb like this:
M.verbs -= /mob/song/verb/Play_Song
That pretty much makes the verb under a new mobtype, you can put it under mob/other/verb, or whatever it takes to lessen confusion.
James