|
Maruchan Newbie
Joined: 16 Sep 2005 Posts: 5
|
Posted: Sat Sep 17, 2005 1:54 pm
Help with %pos and NOT. |
How would I change this so that if @chest is in @knighttemp AND @nervehit is NOT in @knighttemp things are true.
#if (%pos( @chest, @knighttemp) AND %pos( @nervehit, @knighttemp)) {
I've tried AND! and !%pos, but due to other unknown problems I have yet to understand, the whole script itself is not working, and I do not know if AND! or !%pos work. |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Sat Sep 17, 2005 4:16 pm |
I did it kinda counter to a normal #if where the 1st one is a true and the 2nd is the false.
#IF (%ismember( @chest, @knighttemp) AND %ismember( @nervehit, @knighttemp)) {#ECHO False} {#ECHO true} |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|