mIRC Home    About    Download    Register    News    Help

Print Thread
#11856 18/02/03 06:07 AM
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
i have the following lines in a channel popup, but i cant get them to show, what am i doing wrong?
Code:
  . $iff(%quiet == on,Turn OFF Quiet Play) :set %quiet off | echo -a Quiet Play is now OFF
  . $iff(%quiet == off,Turn ON Quiet Play) :set %quiet on | echo -a Quiet Play is now ON

what i want it to do is if %quiet is on , set it off and vice-versa. i can type //echo -a $iff(%quiet == on,Turn OFF quiet play) and it will echo it, but i cant get it in the popups


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.
#11857 18/02/03 07:48 AM
Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
$iif tends to work better than $iff

Code:

 . $iif(%quiet == on,Turn OFF Quiet Play) :set %quiet off | echo -a Quiet Play is now OFF 
 . $iif(%quiet == off,Turn ON Quiet Play) :set %quiet on | echo -a Quiet Play is now ON

#11858 18/02/03 07:48 AM
Joined: Dec 2002
Posts: 169
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
Try $iif instead wink

Heh, a couple seconds too late on the reply blush

Last edited by Jerk; 18/02/03 07:49 AM.
#11859 18/02/03 11:51 PM
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
DOH it was only something THAT simple? Man, i need a scripting checker smile


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.
#11860 18/02/03 11:59 PM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
It happens LOL

#11861 19/02/03 12:04 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
that would be a really nice option to ask for ..... something that checks ur scripts while ur creating them ..... id like to see something like that eventually...... would make things alot easier to find .....


D3m0nnet.com

Link Copied to Clipboard