ID:272573
 
OK, How do I make it where specific players(Admins for example) Get special Buttons?
var
Owner = list("Danny Kenobi","World Build")
Admin = list()
Enforcer = list()


mob
Login()
..()
CheckGM()
proc
CheckGM()
if(src.key in Owner)
src.verbs += typesof(/mob/Owner/verb/)
if(src.key in Admin)
src.verbs += typesof (/mob/Admin/verb/)
if(src.key in Enforcer)
src.verbs += typesof(/mob/Enforce/verb/)
Owner
verb
Cookies()
set category = "GM"
src<<"You got some cookies!"
Admin
verb
Cookies()
set category = "GM"
src<<"You got some cookies!"
Enforcer
verb
Cookies()
set category = "GM"
src<<"You got some cookies!"


Be happy.


-Kenobi
In response to Danny Kenobi
Instead of redefining each verb like that, you could just give each mob the verbs of each tier below it :P
In response to Jeff8500
var
Owner = list("Danny Kenobi","World Build")
Admin = list()
Enforcer = list()


mob
Login()
..()
CheckGM()
proc
CheckGM()
if(src.key in Owner)
src.verbs += typesof(/mob/Owner/verb/)
src.verbs += typesof(/mob/Admin/verb/)
src.verbs += typesof(/mob/Enforce/verb/)
if(src.key in Admin)
src.verbs += typesof (/mob/Admin/verb/)
src.verbs += typesof(/mob/Enforcer/verb/)
if(src.key in Enforcer)
src.verbs += typesof(/mob/Enforcer/verb/)
Owner
verb
Reboot()
set category = "GM"
world.Reboot()
Admin
verb

Quit()
set category = "GM"
del(src)
Enforcer
verb
Cookies()
set category = "GM"
src<<"You got some cookies!"



Be happy once. =p
No, Where they get buttons on the skins

In response to World Build
make button then and make it invis, then when theres an admin make it visible
In response to World Build
Use winset() and the is-visible param that all controls have.