mIRC Homepage
Posted By: raZOR raw 302 question - 04/09/06 01:43 PM
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?
Posted By: hixxy Re: raw 302 question - 04/09/06 01:58 PM
No. $1 is your nickname, $2- is the rest of the reply - which should be $null after the : is removed by mIRC.
Posted By: raZOR Re: raw 302 question - 04/09/06 02:05 PM
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.
© mIRC Discussion Forums