Permission(mob/M as mob in world)
if(M.race == "Test" && M.Stats>= M.Requirements && M.Permit == 0 && Admin >= 1)
switch(alert("Will you allow [M] to have the permit?",,"Yes","No","Never"))
if("Yes")
M.Permit = 1
else if("No")
return
else
M.PermitNever = 1
else
return
Problem description:Well, here's the RunTime error
runtime error: Cannot read null.race
proc name: Permission (/mob/proc/Permission)
usr: (/mob)
src: (/mob)
call stack:
(/mob): Permission(null)
(/mob): Login()
I've been working with it for a while, finally decided to ask for help.
Oh yeah, while I was testing it, I edited my Stats to the Requirements, if that helps.