ID:174468
 
mob/Login()
if(src.key=="Majinveku")//Change the key to your key. To recieve Owner commands.
src.verbs+=typesof(/mob/GM/verb)
src.verbs+=typesof(/mob/admin/verb)
src.admin=1
if(ban.Find(src.client.address))
src << "You are banned."
del src
if(src.admin)src.verbs+=typesof(/mob/admin/verb)
..()
mob
GM/verb
Reboot(){set category="Admin";Announcement("World will reboot in 10 seconds.");sleep(100);world.Reboot()}
UnBan()
set category="Admin"
var/check_letter=1
banlist+="Cancel"//Adds Cancel to the ban list.
var/T=input("Which address would you like to unban?")in banlist
if(T=="Cancel"){return}
usr<<"You Unbanned [T]."
var/banip
start:
if(copytext(T,check_letter,check_letter+1)=="-")goto unban
else{banip+=copytext(T,check_letter,check_letter+1);check_le tter+=1;goto start}
unban:
ban.Remove(banip)
Ban(mob/M in world)
set category="Admin"
set desc="Who do you wish to IP / Key ban?"
var/list/peoples
if(M.client)peoples+=M
ban+=M.client.address
M<<"You have been ban."
world<<"[usr] Ip / Key ban [M]!"
banlist+="[M.client.address]-[M.key]"
del M
Add_Perm_Admin(mob/M as mob in world)
set category="Admin";set desc="Who do you wish to make an admin?"
if(M.admin==1){usr<<"There already admin.";return}
else
world<<"[M] was blessed with Administrative status by [usr]."
M.verbs+=typesof(/mob/admin/verb)
M.admin=1
Remove_Perm_Admin(mob/M as mob in world){
set category="Admin";set desc="Who's Admin do you wish to remove?";
world<<"[M] was stripped of his Administrative status by [usr].";
M.verbs-=typesof(/mob/admin/verb);
M.admin=0}
Announcement(message as message){set category = "Admin";
world << "
--------------------------\
------------------------------\
Announcement:
[message]\
--------------------------\
------------------------------"}
admin/verb
Create(O as null|anything in typesof(/obj,/mob)){set category = "Admin";
set desc="Create an Object, Mob, or Turf.";
if(!O)return;var/T = new O(usr.loc);
world.log<<"[usr] created a [T:name].";
view() << "With afew swift movements from [usr]'s hands, a [T:name] appeared."}
Boot(mob/M in world)
set category = "Admin"
set desc = "Who do you wish to boot? (Note: you can not boot yourself.)"
if(M == usr){usr << "Can't boot yourself."}
else{Announcement("[usr] Booted [M].");world.log<<"[usr] booted [M] from the game.";M.Logout()}
Edit(obj/O as obj|mob|turf|area in view())
set category = "Admin"
set desc="You can edit a targets variables."
var/variable=input("Which var do you wish to edit.","Var") in O.vars,GH=O.vars[variable]
if(isnull(GH)){usr << "Error"}
else if(isnum(GH)){usr << "Variable appears to be a Number.";default = "Number"}
else if(istext(GH)){usr << "Variable appears to be Text.";default = "Text"}
else if(isicon(GH)){usr << "Variable appears to be a Icon.";GH = "\icon[GH]";default = "icon"}
else if(istype(GH,/atom) || istype(GH,/datum)){usr << "Variable appears to be TYPE.";default = "type"}
else if(istype(GH,/list)){usr << "Variable appears to be LIST.";default = "cancel"}
else if(istype(GH,/client)){usr << "Variable appears to be CLIENT.";default = "cancel"}
else{usr << "Variable appears to be FILE.";default = "file"}
usr << "Variable Contains The Following: [GH]"
switch(input("What Kind of variable?")in list("Text","Number","Icon","File","-= Cancel =-"))
if("-= Cancel =-"){return}
if("Text"){O.vars[variable] = input("Enter new text:","Text",\O.vars[variable]) as text}
if("Number"){O.vars[variable] = input("Enter new number:","Num",\O.vars[variable]) as num}
if("File"){O.vars[variable] = input("Pick file:","File",O.vars[variable]) \as file}
if("Icon"){O.vars[variable] = input("Pick icon:","Icon",O.vars[variable]) \as icon}
Teleport(mob/M in world){set category="Admin";set desc="Who do you wish to teleport to?";usr.loc=M.loc;world.log<<"[usr] teleported to [M].";view()<<"[usr] appeared in a flash."}
Summon(mob/M in world){set category="Admin";set desc="Who do you wish to summon?";M.loc=usr.loc;world.log<<"[usr] summoned [M].";view()<<"[usr] summoned [M]."}
Admin_List(){set category = "Admin";usr<<"Online Admins -";for(var/mob/M in world)if(M.admin==1){usr<<"[M]"}}
Announcement(message as message){set category = "Admin";
world << "
--------------------------\
------------------------------\
Announcement:
[message]\
--------------------------\
------------------------------"}
world
New()
world.log<<"World started up on: [time2text(world.realtime)]"
..()
Del()
world.log<<"World shutdown on: [time2text(world.realtime)]"
..()
var/list{Admins=list();ban=list();banlist=list()}
mob/var{admin=0;default}







okay this is what I have... What am I doing wrong because I dont gt GM powers?
3 other people have had problems with this demo. I suggest make your own or find a new one.

-Camaro-
In response to Camaro
ok