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.

bot's nick?

Old posts that have not been replied to for several years.
Locked
J
Juustro
Voice
Posts: 11
Joined: Wed Oct 02, 2002 4:15 pm

bot's nick?

Post by Juustro »

I can't use [ and ] in bot's name?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Simply use "\[" instead of a plain "["
F
FoRc

heh

Post by FoRc »

you can also just make the botnick with none [] and first get it online and use a botnick.tcl to change the nickname when it's on the irc server. more simple :D
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

But that requires user intervention once the bot is online.

If running the bot via a crontab, the bot will be using the wrong nick, until you get online to fix it.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Some snippet from a Tcl manual

Code: Select all

1. Basic Tcl Language Features
[snip]
"hello $a"   quoting with substitution
{hello $a}   quoting with no substitution (deferred substitution)
Locked