mob
proc
verbcheck()
if(usr.Dario == 1)
if(usr.Mario == 0)
if(usr.Luigi ==0)
if(usr.Bowser == 0)
if(usr.Peach == 0)
if(usr.Yoshi == 0)
if(usr.DK ==0)
if(usr.Cfalcon == 0)
if(usr.Ganondorf == 0)
if(usr.Falco == 0)
if(usr.Ness == 0)
if(usr.IC == 0)
if(usr.Kirby == 0)
if(usr.Samus == 0)
if(usr.Zelda == 0)
if(usr.Ylink == 0)
if(usr.Link == 0)
if(usr.Pichu == 0)
if(usr.Pikachu == 0)
if(usr.Jigglypuff == 0)
if(usr.Mewtwo == 0)
if(usr.Mr == 0)
if(usr.Marth == 0)
if(usr.Roy == 0)
if(usr.Fox == 0)
// usr.ver
if(usr.Mario == 1)
if(usr.Dario == 0)
if(usr.Luigi ==0)
if(usr.Bowser == 0)
if(usr.Peach == 0)
if(usr.Yoshi == 0)
if(usr.DK ==0)
if(usr.Cfalcon == 0)
if(usr.Ganondorf == 0)
if(usr.Falco == 0)
if(usr.Ness == 0)
if(usr.IC == 0)
if(usr.Kirby == 0)
if(usr.Samus == 0)
if(usr.Zelda == 0)
if(usr.Ylink == 0)
if(usr.Link == 0)
if(usr.Pichu == 0)
if(usr.Pikachu == 0)
if(usr.Jigglypuff == 0)
if(usr.Mewtwo == 0)
if(usr.Mr == 0)
if(usr.Marth == 0)
if(usr.Roy == 0)
if(usr.Fox == 0)
// usr.ver
Problem description:
uhhh the 2nd main branch its the first if of the second part and its if(usr.Mario == 1) it says its invalid for some reason and i know theres alot of if's so if there is another way to do this please tell me =\
Your proc is also ridiculous, don't use the == and != operators to check boolean variables. Don't make a ridiculous amount of variables for one purpose. Don't make a ridiculous amount of checks and use the && (and ||) operator for multiple checks.
It probably wouldn't hurt you to read all this either.
http://www.byond.com/members/ DreamMakers?command=view_post&post=40355