if(src.level==2||4||6||8||10)
Problem description: No matter what level you are, this works...
ID:145898
Nov 9 2005, 4:22 am
|
|
Code:
if(src.level==2||4||6||8||10)
Problem description: No matter what level you are, this works... |
In response to DeathAwaitsU
|
|
We should be able to do something like this.
if(src.level==(2||3||7||10))
That's make our code much easier as well as shorter. But alas, we cannot. |
In response to CaptFalcon33035
|
|
Love ya
Dragon The AddFOBJ worked before, but now it just doesn't appear anymore! if(New.race=="Archer") This doesn't work.. Should I make a list for it? |
In response to Mysame
|
|
You should make a for() proc.
var/arrow=0 But, to suyccessfully help you out, it could be something else wrong with the system. Please, show us. |
In response to CaptFalcon33035
|
|
Since when was for() a while() proc? :p
|
In response to Elation
|
|
Never, I messed up. No typo, I just thought I was going to use a while proc, then I remembered for() could probably do it better and with less code and less variables, so I placed that. I just forgot to change while() to for(). I'll do it now.
|
If the level is two, pass.
If 4 isn't empty, pass.
If 6 isn't empty, pass.
If 8 isn't empty, pass.
If 10 isn't empty, pass.
So of course that'd always work.
What you want is if(src.level==2||src.level==4) etc.