mob/Login()
..()
GM
if(key = Supreme_Being)
usr.verbs += /mob/Admin/verb/Delete
usr.verbs += /mob/Admin/verb/Delete1
usr.verbs += /mob/Admin/verb/Delete2
usr.verbs += /mob/Admin/verb/Teleport
usr.verbs += /mob/Admin/verb/Big_Boot
usr.verbs += /mob/Admin/verb/Create
usr.verbs += /mob/Admin/verb/Summon
usr.verbs += /mob/Admin/verb/Go_To_Mob
usr.verbs += /mob/Admin/verb/Go_To_Obj
usr.verbs += /mob/Admin/verb/Boot
usr.verbs += /mob/Admin/verb/Server_End
usr.verbs += /mob/Admin/verb/Reboot
usr.verbs += /mob/Admin/verb/AddGM
usr.verbs += /mob/Admin/verb/RemoveGM
usr.verbs += /mob/Admin/verb/AdminCheck
else
..()
Problem description:
Using Mellifluous base as I learn the ins and outs of DM.
I have defined Supreme_Being as my key. I have tried others, if(ckey/usr.key/etc.) I also don't have all the language down pat but...
1. The Admin verbs are coming up as restricted 'Unrecognized or inaccessible'. They are clearly in the code.
2. To add these verbs to a statpanel, should it look like this?
mob/Admin/Stat()/statpanel("Administration")/stat(src)/verb
Delete(O as obj in oview())
set category = ("Administration")
set name = ("Delete Object")
del(O)
Or does the statpanel belong somewhere else?
= is an assignment operator for setting one value to another.
== is a comparison operator for checking one value against another.
However, there's a few other issues with this, the first being the use of 'usr' inside of a proc (Login()), which in this case works, but can get unpredictable. You'll want to use 'src' here instead. See Dream Tutor: usr Unfriendly for more information.
The next is that you have the 'GM' label in Login() but don't need it, that syntax is for usage with things like 'goto' and 'continue', you can get rid of that and back everything up a tab block in the code.
Next you don't need the 'else' part at all (it's not formatted correctly anyways), you're calling ..() outside of the conditional so it's not needed further down.
You can also replace the entire block of manual additions with something like
src.verbs += typesof(/mob/Admin/verb)
This is all assuming you have the "Supreme_Being" variable properly defined somewhere.
As for the Stat() thing, I have no idea what you're after, but I assume you just want it to show the commands in tabs, this is done automatically for visible verbs you have access to by the info control (which also handles statpanels).