verb
Certification2(mob/M in world)
set category = "GM"
set name = "Cert Two"
set desc = "Reward someone to Cert level Two for good RP."
if(M.Cert2 = 0)
M.Cert2=1
M<<"<font size=3><font color=red>You have been rewarded with Certification Level Two. Congratulations."
verb
Certification1(mob/M in world)
set category = "GM"
set name = "Cert One"
set desc = "Reward someone to Cert level One for good RP."
if(M.Cert1 = 0)
M.Cert1=1
M<<"<font size=3><font color=red>You have been rewarded with Certification Level One. Congratulations."
Problem description:
Why is it invalid?
Admin.dm:888:error:if :invalid proc definition = if(M.Cert2 = 0)
Admin.dm:889:error::invalid proc definition = M.Cert2=1
Admin.dm:897:error::invalid proc definition = M.Cert1=1
It's doing this with any If statement I make!
If you aren't going to put any effort into helping yourself, neither will I.