mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2007
Posts: 9
L
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Mar 2007
Posts: 9
Hello,
I wrote an very simple WHOIS script with lines like:
Code:
raw 330:*: {
  haltdef
  if ($numeric == 330) { echo AuthName: $3 }
}

It works, but have one mistake, when I enter the whois command I get some output in the active window and the server window.

It's is possible to get the raw numbers from the output in the serverwindow?

I have "catch" the numbers 301,307,310,311,312,313,314,317,318,319,330,338,369,401,406 in my script but I still get the output:
USER is using modes +iwx
USER is connecting from *@p57AB6B93.dip.t-dialin.net 87.171.107.147

how to get the raw numbers for this messages? Or is there another way to get this output in the active window?
(I have try raw PROP:*: and raw *:*: but no luck)

Peter

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
raw *:*: echo -a -> $1-

that would list everyhting sent by raw, to get the numerics from the raw, use this

raw *:*: echo -a -> $numeric


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Mar 2007
Posts: 9
L
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Mar 2007
Posts: 9
my mistake, I have put "raw *.*: echo -a $numeric" at the wrong place in the script and this line get never execute. whistle


Link Copied to Clipboard