egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use of ! and ~ characters in binds

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
TamOShanter
Voice


Joined: 03 Jan 2006
Posts: 5

PostPosted: Sat May 13, 2006 11:50 pm    Post subject: Use of ! and ~ characters in binds Reply with quote

Hello,

Is there any reason that this bind will work
Quote:
bind pubm -|- "#test !test" test_play

and this bind won't work?
Quote:
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
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun May 14, 2006 1:14 am    Post subject: Reply with quote

'~' 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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
TamOShanter
Voice


Joined: 03 Jan 2006
Posts: 5

PostPosted: Sun May 14, 2006 1:22 am    Post subject: Reply with quote

The penny drops ...

Thanks, I should have woken up to that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber