mIRC Home    About    Download    Register    News    Help

Print Thread
#172189 07/03/07 02:17 AM
Joined: Jul 2004
Posts: 59
L
Babel fish
OP Offline
Babel fish
L
Joined: Jul 2004
Posts: 59
I am trying to make a script that will use the $?!="Shall I continue?" and I just cant figure it out, Im going to chalk it up to the late hour but could someone please give me a hand.

Thanks Much

/test $?!="Shall I continue?" if ($! == $true) Echo -a test


LittleJohn #172192 07/03/07 02:35 AM
Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033
Code:
if ($?!="Shall I continue?") echo -a test


The way you're trying would go like...

Code:
noop $?!="Shall I continue?" | if ($! == $true) echo -a test

Last edited by RoCk; 07/03/07 02:37 AM.
RoCk #172193 07/03/07 02:45 AM
Joined: Jul 2004
Posts: 59
L
Babel fish
OP Offline
Babel fish
L
Joined: Jul 2004
Posts: 59
Thank you for your help After a couple of min and another cup of coffee I figured it out using

$iif($?!="Shall I continue?",circc_backup, halt)

This way I was able to eval both + and - response and have the ability to change halt to another command in the future.

I did cpy your post to my notes for further reference again TY.

Last edited by LittleJohn; 07/03/07 02:45 AM.

Link Copied to Clipboard