mIRC Home    About    Download    Register    News    Help

Print Thread
#81808 04/05/04 04:28 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
raw 401:*:echo -s  $+ %rcolor $+ » $colors2($1 ::) $colors2(No such Nick/Channel) | halt
It returns this: 12» Mew 12:0012:00 No such Nick12/00Channel
If I do /whois sdaad
Shouldn't it be:
12» sdaad 12:0012:00 No such Nick12/00Channel
It keeps returning $me for some reason, ANyone know how to fix this? frown
ALSO, How do I make it return to the window its supposed to instead of the -s, I dont know what i'd use to echo it there.
~Kriminal

Last edited by Kriminal; 04/05/04 04:46 AM.

Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#81809 04/05/04 08:45 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Code:
raw 401:*:echo [color:green]$iif($query($2),$2,-s)[/color] $+(,%rcolor,») $colors2($[color:red]2[/color] ::) $colors2(No such Nick/Channel) | halt
Guess you mean the green by "return to the window its supposed to". If you want both, like mIRC normally does, you'll have to echo twice.

#81810 04/05/04 07:49 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
$1 in a raw event almost always returns your nickname
try $2 or $3,
even better parse the raw event and count the words!


billythekid
#81811 06/05/04 01:39 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Thanks, Once Again, Iori. :-P


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -

Link Copied to Clipboard