mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
The code below doesn't trigger "//ctcp $me bugged":
ctcp $*:/^bugged$/i:*:{ echo -ag $1- // $rawmsg }

Adding any character along with a meta-character like * makes it work:
ctcp $*:/^bugged[color:blue]x*$[/color]/i:*:{ echo -ag $1- // $rawmsg }

As far as I know, this bug doesn't show up with other events. Maybe it's some mistake related to the ending chr 1?..


* cold edits his posts 24/7
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
I believe it's related the way matchtext is handled in ctcp events. An event like this,
  • Ctcp *:PING:?:
would trigger upon 'PING <ctime>' although it should match only a single 'PING' without any text following it.


Link Copied to Clipboard