ok i want them to go ssj heres what i have so far:mob
verb
ssj()
set category="ssj"
if(usr.race="Vegeta")
icon='ssjvegeta.dmi'
i am thinking thats all i really need but i get an error that i dont have a race var when i do on my login code.
here are the errors i get plz help!:D.B.S.F.dm:212:error:usr.race:bad var
D.B.S.F.dm:212:error::invalid expression
plz help me sum1
~Vegetto
ID:179752
Nov 13 2001, 2:03 pm
|
|
Nov 13 2001, 2:06 pm
|
|
If you only have the var defined in one proc it does apply anywhere else.
|
In response to Nadrew
|
|
but where is the invalid expression at?
|
In response to Vegetto5748
|
|
Vegetto5748 wrote:
but where is the invalid expression at? In the if() change the = to == |
In response to Nadrew
|
|
i still have the error
|
In response to Vegetto5748
|
|
Well that's what the error means that you messed up the if(). Maybe you should look up how to use if() in the reference, and then learn how to code, the if() is indented too far also.
|