mIRC Home    About    Download    Register    News    Help

Print Thread
#10168 07/02/03 08:04 PM
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
i am trying to make a custom window (@RAW_NUMERICS) and i wrote a raw event to shove raw numerics to the window and it is working great, cept one thing, how do i tell which raw number is sending which line? this is my code:
Code:
 raw *:*:{
  window -ek0 @RAW_Numerics
  aline 4 @RAW_Numerics $2-
  haltdef
}
 

can some one tell me how to get the raw numeric in there without having to write a raw event for each numeric there is?


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.
#10169 07/02/03 08:10 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
$numeric

Also I was wondering, why not use /debug for this?

#10170 07/02/03 10:33 PM
Joined: Dec 2002
Posts: 204
K
keeker Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
oh, no special reason, just wanted to catch the RAW numerics, not everything under the sun smile

and thank you for the $numeric identifier , its wonderfull


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.
#10171 08/02/03 01:50 AM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
Code:
 
raw *:*: echo -s $numeric $1-
 

give that a try


Link Copied to Clipboard