if(src.level==2||4||6||8||10)
Problem description: No matter what level you are, this works...
ID:145898
![]() Nov 9 2005, 3:22 am
|
|
Code:
if(src.level==2||4||6||8||10)
Problem description: No matter what level you are, this works... |
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. |
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? |
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. |
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.