ID:178544
 
why doesnt this work?


Grant_Temp(mob/M as mob in world)
usr<<"You have granted Temp GM status to [M]"
M<<"You have been granted Temp GM status by [usr]"
M.verb += /mob/GM/verb()
M.verb -= /mob/GM/verb/Grant_Temp()


Kayuki48801 wrote:
why doesnt this work?


Grant_Temp(mob/M as mob in world)
usr<<"You have granted Temp GM status to [M]"
M<<"You have been granted Temp GM status by [usr]"
M.verb += /mob/GM/verb()
M.verb -= /mob/GM/verb/Grant_Temp()


Grant_Temp(mob/M in world)//didnt see this part
usr<<"You have granted Temp GM status to [M]"
M<<"You have been granted Temp GM status by [usr]"
M.verb += /mob/GM/verb()
M.verb -= /mob/GM/verb/Grant_Temp()
In response to Sariat
Sariat wrote:
Kayuki48801 wrote:
why doesnt this work?


Grant_Temp(mob/M as mob in world)
usr<<"You have granted Temp GM status to [M]"
M<<"You have been granted Temp GM status by [usr]"
M.verb += /mob/GM/verb()
M.verb -= /mob/GM/verb/Grant_Temp()


Grant_Temp(mob/M as mob in world)
usr<<"You have granted Temp GM status to [M]"
M<<"You have been granted Temp GM status by [usr]"
M.verb += /mob/GM/verb()
M.verb -= /mob/GM/verb/Grant_Temp()
I don't think that would work, I think it needs to be:
mob/GM/verb/Grant_Temp(mob/M in world)
usr<<"You Granted [M] GM powers"
M<<"[usr] Granted you GM powers"
M.verbs.Add(/mob/GM/verb)
M.verbs.Remove(/mob/GM/verb/Grant_GM)
In response to Strange Kidd
I thought he already declared it as a verb :P
In response to Sariat
I did...^_~ but thanks for the code anyhow even though it doesnt work umm...I'll keep trying different things though