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 

Last XDCC by Globulus v1.1 nickname error

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
scewter
Voice


Joined: 17 Jul 2017
Posts: 3

PostPosted: Sat Jul 22, 2017 2:03 pm    Post subject: Last XDCC by Globulus v1.1 nickname error Reply with quote

[1:57pm] <loser> [10:57:43] Tcl error in file 'loser.conf':
[1:57pm] <loser> [10:57:43] invalid command name "futurebot"
[1:57pm] <loser> while executing
[1:57pm] <loser> "futurebot"
[1:57pm] <loser> invoked from within
[1:57pm] <loser> "set gLXbotslist "[futurebot]-[04]""
[1:57pm] <loser> (file "scripts/LastXDCC.tcl" line 77)
[1:57pm] <loser> invoked from within
[1:57pm] <loser> "source scripts/LastXDCC.tcl"
[1:57pm] <loser> (file "loser.conf" line 1389)
[1:57pm] <loser> [10:57:43] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Anyway to allow ex [futurebot]-[03] nickname into the .tcl with []- since it automatically crashes it. possibly adding somelines "*[*" ?
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 925

PostPosted: Sat Jul 22, 2017 7:03 pm    Post subject: Re: Last XDCC by Globulus v1.1 nickname error Reply with quote

scewter wrote:

...
[1:57pm] <loser> "set gLXbotslist "[futurebot]-[04]""
...


Anything inside of [ ] is considered to be a command.
Thus, you need to escape the square brackets.

Try:

set gLXbotslist "\[futurebot\]-\[04\]"

Note the addition of backslashes just before every character that we want to escape.

I hope this helps.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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