ID:167105
 
Ok, I would like to know how to give somebody one admin verb without actually giving them a new rank. Such as giving an GM a new verb that normal GM's dont have, or giving a player a GM verb (I wont do this, it's just for eg.)

//Here is an example of my admin verbs.

mob
Owner/verb
Instant_Kill(mob/players/M in world)
//code in here
Revive(mob/players/M in world)
//code in here
GM/verb
Teleport(mob/players/M in world)
//code in here
Summon
//code in here

mob/Login()
if(src.key == "Dice1989")
src.verbs += typesof(/mob/Owner/verb/)
src.verbs += typesof(/mob/GM/verb/)
src.loc = locate(1,1,1)
if(src.key == "John Doe")
src.verbs += typesof(/mob/GM/verb/)
src.loc = locate(1,1,1)
else
src.loc = locate(1,1,1)
..()

//Theres probably an error in that code somewhere but you get what I mean.


So how would I give John Doe the Instant_Kill verb without changing his rank?

Thanks, Dice1989.
Just add mob/verb/instant_kill to his verbs list.
In response to Jp
[Deleted] Double posted the same thing.
In response to Jp
Yeah I could, but I want to be able to do this in the game. The thing that gets me confused is that I want to have a list of the verbs (Owner, Admin and GM - the whole lot) and be able to choose which one to give him.

Sorry I should have said that in the first post.
In response to Dice1989
Use input, text2path, and your brain. It isn't particularly difficult.