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.

nicklist.tcl -> hide bot

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
r
renegate98
Voice
Posts: 2
Joined: Sat Feb 16, 2013 12:28 pm

nicklist.tcl -> hide bot

Post by renegate98 »

hello,

at first sorry for my bad english!

it's possible to hide the eggdrop nick in the nicklist.txt?

regards
rené
User avatar
Madalin
Master
Posts: 310
Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:

Post by Madalin »

Can you give more details about what you want to hide?
r
renegate98
Voice
Posts: 2
Joined: Sat Feb 16, 2013 12:28 pm

Post by renegate98 »

i have a channel in euirc.net. an eggdrop read the users who is online and write a textfile whith nicklist.tcl.
this eggdrop (bot) is also list in this list, but i would like hide this bot.

i hope you understand what i mean.

rené
User avatar
Madalin
Master
Posts: 310
Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:

Post by Madalin »

I have to see the script so that i add the code
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Re: nicklist.tcl -> hide bot

Post by speechles »

renegate98 wrote:hello,

at first sorry for my bad english!

it's possible to hide the eggdrop nick in the nicklist.txt?

regards
rené
The eggdrop's current nickname is always the first in the nicklist it returns. This would be index position 0. So you just need to skip this first position with a "list range" or [lrange].

Code: Select all

change this:
set nicklist [chanlist $channel]

to this:
set nicklist [lrange [chanlist $channel] 1 end]
Post Reply