Post your scripting questions / solutions here
Moderator: Moderators
-
ViPER
- General
- Posts: 1058
- Joined: Fri Jan 14, 2005 5:48 pm
- Location: California
-
Contact:
Post
by ViPER »
If((is == ==) && (or == ||) && (less == < ) and (more == >))
{
iprintlnbold "How do you say is not =?"
}
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
-
Contact:
Post
by Rookie One.pl »
local.answer = "!="
if (!isTrue(local.answer))
self kill
-
lizardkid
- Windows Zealot
- Posts: 3672
- Joined: Fri Mar 19, 2004 7:16 pm
- Location: Helena MT
Post
by lizardkid »
...wtf?
that's absurdly unreadable coding... :S
not to mention you have too many logical operators and all that... it wont work :S
!= is the not operator if thats what you were after :S
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
bdbodger
- Moderator
- Posts: 2596
- Joined: Tue Feb 25, 2003 7:34 am
- Location: canada
-
Contact:
Post
by bdbodger »
if !(local.a == local.b)
That works too the ! making it the reverse
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
-
Contact:
Post
by Rookie One.pl »
! means a boolean not. It's all there in the miscellanous script documentation.
I myself miss all the bitwise operators. They only included & and |.

-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
And ^

but not many good reasons to use any of them unless the objective is to look nerdy
