ID:142197
 
Code:
var/list/GM     // List for GM's
var/list/Admin // List for Admin
var/list/Master = list("Grimmjore") // You can change this to what ever key is yours.
var/list/banned // Banned List
var/const/MASTER_GM_PREFIX = "\[Master] "
var/const/ADMIN_GM_PREFIX = "\[Admin] "
var/const/GM_PREFIX = "\[GM] "
var/const/MASTER_GM_SUFFIX = null
var/const/ADMIN_GM_SUFFIX = null
var/const/GM_SUFFIX = null
client
New()
BanCheck()
..()


Problem description:

My key is on the list , how come when i log in i dont have my gm verbs?
That's a little vague..you need to show us the 'gm verbs' giving' code so we can help.

if(Master.Find(src.key))
for(var/x in typesof(/mob/MasterGM/verb))
src.verbs+=x //?
In response to Ruben7
mob
master
verb

Reboot()
set desc = "() Restart the world"
set category = "Police"
if(alert("Are you sure?","Reboot","Yes","No") == "Yes")
var/mob/M = src
M:Announce("World is rebooting in 5 seconds!")
sleep(50)
world.Reboot()


Ban(mob/M in world) // Bans the target... (Hard one to explain)
set desc = "(person) Remove a player from your world and don't let them return"
set category = "Police"
if(M == src) // Dont ban yourself
usr << "You can't ban yourself."
return
if(!M.key) // Dont ban NPCs
usr << "That is not a player."
return
// This checks to see if the target is a GM, and if they are,
// if they are same or higher rank then you...
if(M.gmrank >= src.gmrank)
usr << "You can't ban GMs equal to or higher than you in rank!"
M << "[src] tried to ban you."
return
if(alert("Are you sure?","Ban [M]:","Yes","No") == "Yes")
banned += M.key
if(M.client)
banned += M.client.address
del(M.client)
for(var/mob/O in world) // Tells all the GMs who banned who...
if(O.GMCheck() || O.AdminGMCheck() || O.MasterGMCheck())
O << "[src] banned [M]."
world.log << "[src.name] banned [M] ([M.key]) from the world."
del(M)
In response to GrimmJore
Try doing a check like this in the Login() proc
if(Master.Find(src.key))
for(var/x in typesof(/mob/master/verb))
src.verbs+=x
In response to GrimmJore
Man, how many times would I need tell you? The cause of the problem is your world/New() proc.
In response to Jemai1
Hmm..That's only if he saves the admin list as a savefile no? o.o I don't know it's 3am and I'm waiting for someone to reply on my topic so i can sleep in peace :(
In response to Ruben7
In response to Jemai1
In response to Jemai1
What should i do with it?
In response to Ruben7
he is probably a byond admin
In response to GrimmJore
No, I'm not a byond admin. It's just too obvious.
In response to GrimmJore
In response to Jemai1
still no luck :( i will try again tommorow