mIRC Home    About    Download    Register    News    Help

Print Thread
#158422 04/09/06 01:43 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
i have it set like this:

raw 302:*:{
if ($1- == $null) { echo -st No such user | halt }
else { haltdef }
}

but even if i try to userhost user that does not exist i dont get any reply of echo

all i see in debug is this:

(15:43) <- :jubiigames.dk.quakenet.org 302 myname :

so reply is $null right?
so why doesnt it work?


IceCapped
#158423 04/09/06 01:58 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
No. $1 is your nickname, $2- is the rest of the reply - which should be $null after the : is removed by mIRC.

#158424 04/09/06 02:05 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
stupid me :P

thanks ^^

edit:
why then when i use /dns on nick that dont exist
this wont trigger ?

coz in debug i see mirc again uses userhost and raw 302
is there again (empty) but all i get from mirc is
"unable to resolve" without my raw msg.

Last edited by raZOR; 04/09/06 02:06 PM.

IceCapped

Link Copied to Clipboard