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.

Bracket Conflict [SOLVED]

Help for those learning Tcl or writing their own scripts.
Post Reply
d
dq
Voice
Posts: 32
Joined: Mon Apr 03, 2006 12:28 am

Bracket Conflict [SOLVED]

Post by dq »

Is it just me or can't you use brackets within putserv messages

Code: Select all

proc uptime_pub {nick uhost hand chan text} {
	putserv "PRIVMSG $chan :12,0[ 2#dx 12,0; [uptime_getuptime] 12]"
}
(17:10:05:p) (dx) [02:10] Tcl error [uptime_pub]: invalid command name "#dx"

Is there some kind of bypass.. or just don't use themes with brackets in them? =/
Last edited by dq on Wed Jun 14, 2006 5:33 am, edited 1 time in total.
User avatar
krimson
Halfop
Posts: 86
Joined: Wed Apr 19, 2006 8:12 am

Post by krimson »

replace any [ you have (and don't want to use for evaluation) with \[
d
dq
Voice
Posts: 32
Joined: Mon Apr 03, 2006 12:28 am

Post by dq »

Thanks :D
Post Reply