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.
Old posts that have not been replied to for several years.
a
amerce
Post
by amerce » Wed Apr 09, 2003 7:07 pm
I have problems with a tcl script. When i try to add a channel with [ ] in it, it gives errors, is there something to solve it?
greeetz
Weirdo
Master
Posts: 265 Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England
Post
by Weirdo » Wed Apr 09, 2003 7:18 pm
I thought there was a bug with most bots and heck most servers, that channels with [] in them wouldnt be allowed.
Certainly not allowed on Aniverse
a
amerce
Post
by amerce » Wed Apr 09, 2003 7:33 pm
on quakenet its allowed:/
Fluxism
Halfop
Posts: 47 Joined: Mon Aug 05, 2002 8:58 am
Post
by Fluxism » Wed Apr 09, 2003 8:58 pm
Hi,
Yes u can add chans with [ ].
If the channel is called #[fred]
Then you need to make entries in the conf file and any tcl scripts like so;
#\[fred]
The \ makes the code ignore the [ as a command.
Flux.
edit; maybe you would have to put #\[fred\] I didnt really need my bots to join a channel with [ ] for any length of time, but #\[fred] will get it online, maybe #\[fred\] would stop errors being generated? A TCL guru will put me right on this....
O
ObelNix
Post
by ObelNix » Thu Apr 10, 2003 5:02 am
#\[fred\] must do
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Apr 10, 2003 5:07 am
No, you only need the first \.
Tcl will see no reason to parse the ] as part of a command, unless one has been opened.
It is a complicated subject, where brackets and quotes change the way you have to use the \.
For simple purposes though, allways use #\[fred\], as it will prevent you getting into trouble later.
Last edited by
ppslim on Thu Apr 10, 2003 5:25 am, edited 1 time in total.
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Apr 10, 2003 5:07 am
#\[fred] will do fine.
Once the game is over, the king and the pawn go back in the same box.
a
amerce
Post
by amerce » Thu Apr 10, 2003 8:17 am
thnx, it works