mob
verb
SSJ()
if(usr.Level>=20)
if(usr.icon == 'Gohan.dmi' || 'Vegeta.dmi' || 'Goten.dmi')
usr.icon_state = "ssj"
usr.level+=10
Levelup()
Revert()
if(usr.Level>=1)
if(usr.icon == 'Gohan.dmi' || 'Vegeta.dmi' || 'Goten.dmi')
usr.icon_state = ""
is my code. but it doesnt work now. can some1 plz urgently help! (ps. i fixed the teleport problem ^__^)
ID:266257
Oct 21 2001, 5:21 am
|
|
Oct 21 2001, 5:52 am
|
|
what's wrong? do you maybe need to put the level up() thing under the ssj(), or is that just there becuase your a fool?
|
Your indentation is wacky. You need to use either spaces or tabs, not both, or you're asking for trouble.
|
I think this should help.
mob verb SSJ() if(usr.Level>=20) else if(usr.icon_state == "") usr.icon_state == "ssj" usr.level+=10 Revert() if(usr.Level>=1) else if(usr.icon_state == "ssj") usr.icon_state = "" usr.level-=10 |
In response to Spuzzum
|
|
The only reason you make rules is to bend them.
|
In response to Lord of Water
|
|
Lord of Water wrote:
The only reason you make rules is to bend them. I'm not helping him, I'm trying to get him to help himself. |