This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
scr0llwheel
Voice
Posts: 17 Joined: Fri Jan 03, 2003 12:37 am
Post
by scr0llwheel » Wed Mar 12, 2003 7:24 pm
I want to match any text said in the channel starting with the character ?. But since ? is a "matching character" it accepts any and all text said on the channel. How can I escape the ? so it matches against it? And I don't want to put anything in the proc. I want it to be in the pubm bind.
-scr0llwheel
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Wed Mar 12, 2003 7:37 pm
I aint particualy sure. Maybe it requires a physical slash.
This is done by escaping the excape code - EG
"* \\?*"
scr0llwheel
Voice
Posts: 17 Joined: Fri Jan 03, 2003 12:37 am
Post
by scr0llwheel » Wed Mar 12, 2003 7:39 pm
Ahh, yes, that works. I just tested it. Thanks
Good guess
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Wed Mar 12, 2003 7:51 pm
This is because the string passes through the Tcl parser, before reaching eggdrop.
The Tcl parser, will convert escape codes. Thus we need to force a \ to be sent to eggdrop, by escaping the slash.