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.

nicks with special characters

Help for those learning Tcl or writing their own scripts.
Post Reply
T
Tipi
Voice
Posts: 9
Joined: Wed Dec 14, 2005 12:13 pm

nicks with special characters

Post by Tipi »

I have a process that creates a timer:

Code: Select all

proc scheck1 {n uh h chan} {
   timer 5 "scheck2 $n $uh"
}
When that timer expires, it runs a second process:

Code: Select all

proc scheck2 {n2 uh2} {
works well except in the nick has special characters such as { or [

Can someone point me in a direction to fix this?

Thanks,
Tipi
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Use

Code: Select all

timer 5 [list scheck2 $n $uh]
Read in the Tcl faq forum about this.
T
Tipi
Voice
Posts: 9
Joined: Wed Dec 14, 2005 12:13 pm

Post by Tipi »

thank you
Post Reply