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.

Use of ! and ~ characters in binds

Help for those learning Tcl or writing their own scripts.
Post Reply
T
TamOShanter
Voice
Posts: 5
Joined: Tue Jan 03, 2006 4:09 pm

Use of ! and ~ characters in binds

Post by TamOShanter »

Hello,

Is there any reason that this bind will work
bind pubm -|- "#test !test" test_play
and this bind won't work?
bind pubm -|- "#test ~test" test_play
The only difference is the use of the ! char in the bind that will work, as opposed to the use of the ~ char in the bind that won't work.

TamOShanter
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

'~' is a special character in bind masks and matches whitespace(s)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
T
TamOShanter
Voice
Posts: 5
Joined: Tue Jan 03, 2006 4:09 pm

Post by TamOShanter »

The penny drops ...

Thanks, I should have woken up to that.
Post Reply