LiquidIce wrote:i have a add command where ppl can see what bots i have for usage
botrequest script i was wondering if i could use same file
# bot nicknames you wanna give out
set botnicks "botname here"
# File is the place where the data will be save add for botlist
set botlistfile "/home/user/bot/listbots.txt
i tryed using to use it from there but it wont work. how can i get the botnicknames to read from a txt instead of editing the config all the time. whenever i make a new bot
retrieving a item from a
list is simple enough to do (read all about the
list command
here), although to perform this event, it would probably be more efficient to write a new procedure using
bind bot instead.
So, with that said, if you still wish to continue to make/develop this tcl, you might wanna check your list syntax...such as:
Code: Select all
set botlist "bot1 bot2 bot3"
set botlistfile "listbots.dat"
. MC_8 has an
excellent public commands tcl that could be altered quite easily to accomodate this, and just about any other, command. read all about it
here.