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 

Problem with [ , ( - how to remove

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
phreako
Voice


Joined: 20 Jul 2005
Posts: 8

PostPosted: Mon Aug 22, 2005 6:01 am    Post subject: Problem with [ , ( - how to remove Reply with quote

thanks a lot

Last edited by phreako on Mon Aug 22, 2005 9:38 am; edited 1 time in total
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Aug 22, 2005 9:11 am    Post subject: Reply with quote

You're probably facing that problem with using timers, use [list] instead of "". Example:
Code:
utimer 2 [list do:this $nick]

this way if nick has characters such as [ or ], it won't cause problems, while using "do:this $nick" will.

PS: Read this post from the FAQ forum.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
phreako
Voice


Joined: 20 Jul 2005
Posts: 8

PostPosted: Mon Aug 22, 2005 9:26 am    Post subject: Reply with quote

yeap ok thanks

Last edited by phreako on Mon Aug 22, 2005 9:38 am; edited 1 time in total
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Aug 22, 2005 9:34 am    Post subject: Reply with quote

Code:
set string [string map {[ "" ] "" ( "" ) ""} $string]

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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