ID:178043
 
Ok i need a verb i can give Clan members so they can ask other people if they want to join a clan. I mean, when they use it a window pops up for the other person and asks do you want to join the [whatever] clan. if they say yes it adds a prefix to the persons name if they say no. It won't.

Can someone put me in the right direction on how to do this?

Alienman
mob/Guid/verb/Add(mob/M in world)
switch(alert(M,"Do you want to join [src]'s clan?","Clan Stuff","Yes","No"))
if("Yes")
M.Clan = src.Clan
world << "[M] joins [src.Clan!"
M.verbs += /mob/Guid/verb/Add
if("No")
..()