Home
About
Download
Register
News
Help
Register
Log In
Forums
Bug Reports
CTCP event not handling REGEX correctly
Forums
Active Threads
Search
Who's Online
Help
Print Thread
CTCP event not handling REGEX correctly
#
57998
27/10/03
08:28 PM
Joined:
Feb 2003
Posts: 810
C
cold
OP
Hoopy frood
OP
cold
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
Copy Link to Clipboard
Re: CTCP event not handling REGEX correctly
#
57999
28/10/03
12:29 AM
Joined:
Dec 2002
Posts: 1,922
O
Online
Hoopy frood
Online
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.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage