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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
renegate98
Voice
Posts: 2 Joined: Sat Feb 16, 2013 12:28 pm
Post
by renegate98 » Sat Feb 16, 2013 12:30 pm
hello,
at first sorry for my bad english!
it's possible to hide the eggdrop nick in the nicklist.txt?
regards
rené
Madalin
Master
Posts: 310 Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:
Post
by Madalin » Sat Feb 16, 2013 12:33 pm
Can you give more details about what you want to hide?
renegate98
Voice
Posts: 2 Joined: Sat Feb 16, 2013 12:28 pm
Post
by renegate98 » Sat Feb 16, 2013 2:21 pm
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é
Madalin
Master
Posts: 310 Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:
Post
by Madalin » Sat Feb 16, 2013 2:22 pm
I have to see the script so that i add the code
speechles
Revered One
Posts: 1398 Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)
Post
by speechles » Sat Feb 16, 2013 5:53 pm
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]