mob/Login
var/list/GMs = new("Jazzyfizzle"=ADMIN,"Beatdown_system"=GM)
if(usr = "Jazzyfizzle")
set category = 'GM'
Problem description:
Im new at coding and Im trying to set an admin code so it can define myself and set a category (For only myself) in GM but Im not sure really what to do so I basicly went with how I thought it would go...Plz help ^_^
2) For some reason you have stuff indented under the list creation line...
3) No put 'usr' in proc. Ugh.
4) For checking/comparisons, use '==', not '='.
5) 'set' may only be used unconditionally and must always be at the top of the proc.
6) This isn't even a verb, and worse, its the Login() proc, why are you setting the category?...
7) You have no parenthesis after 'Login' in your first line, so you're not even actually overriding the proc, but creating a new mob subtype...
What you want is to make GM verbs and add them to GMs when they login, optionally depending on rank and whatnot. Small example: