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.
LiquidIce
Halfop
Posts: 48 Joined: Fri Jan 09, 2004 7:22 pm
Location: USA
Post
by LiquidIce » Sun Jan 23, 2005 1:56 am
Is it poissble for a eggdrop to use
set botnicks "gamebot-XX"
xx- bot number
gamebot-1
gamebot-2
and so on instead of having it read 30 botnames?
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Sun Jan 23, 2005 5:26 am
Yes, see the .conf file for 'set nick'.
The character "?" replaces any /[0-9/] number.
For your demonstration:
set nick "gamebot-??"
Everytime the bot connects to a server, the last to "?" would be replaced by random numbers in between 0-9.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Sun Jan 23, 2005 10:58 am
awyeah, read the subject and its text :p
He's asking if he can use something so it detects his bot rather than change his name on connect
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Sun Jan 23, 2005 1:05 pm
I do beleive I didn't totally understood what he mean't.
He's asking if he can use something so it detects his bot rather than change his name on connect.
Use something so his bot detects? detects? detects what? What's this got todo with the changing of a name?
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
LiquidIce
Halfop
Posts: 48 Joined: Fri Jan 09, 2004 7:22 pm
Location: USA
Post
by LiquidIce » Sun Jan 23, 2005 4:54 pm
Bot request ill have like 20 bots named CUG-1 through CUG-20
Can i do this :
# bot nicknames you wanna give out
set botnicks "CUG-??" << use it for all bot names starting with that. the ?? be numbers
instead of using:
# bot nicknames you wanna give out
set botnicks "[CUG]-1, [CUG]-2, etc.. "
^DooM^
Owner
Posts: 772 Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:
Post
by ^DooM^ » Sun Jan 23, 2005 6:53 pm
Using botnick-?? will give your bot botnick-19 for instance it just picks a number at random as awyeah said. It wont be sequential tho as in if botnick-01 is taken it wont try botnick-02 unless your extremely lucky and the random number just happens to be 02
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Sun Jan 23, 2005 8:46 pm
Yep. Using botnick-?? will give integers from 00-99 randomly.
VIA TCL: If you want you can create a small loop and incr 1 each time the loop ends then change the botnick or store them in global variables for use.
Like use a do, while loop.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================