mIRC Home    About    Download    Register    News    Help

Print Thread
#83048 15/05/04 08:31 AM
Joined: Jul 2003
Posts: 655
Om3n Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
how would i go about determining whether the text recieved (that triggers the on open event for queries) is an action or a message ?


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
#83049 15/05/04 08:53 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
You can make use of $rawmsg smile
Code:
on ^*:open:?:{
  if $gettok($rawmsg,4,32) == :ACTION {  } 
}


#83050 21/05/04 04:34 PM
Joined: Jul 2003
Posts: 655
Om3n Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
Ah, thanks..... dont know why i overlooked that, the first thing i did was look at the raw msg's heh. Always something little, thanks again.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby

Link Copied to Clipboard