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.

Problem with botonchan function

Help for those learning Tcl or writing their own scripts.
Post Reply
N
Nachtfalke
Voice
Posts: 5
Joined: Tue Feb 05, 2008 3:17 pm

Problem with botonchan function

Post by Nachtfalke »

Hi there,

i got a problem with the botchan function ... it return 0 even if the bot is in the channel. Did i miss something ?

thx for help
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Do you use features such as delayed join available on some (strange) irc-networks?
NML_375
N
Nachtfalke
Voice
Posts: 5
Joined: Tue Feb 05, 2008 3:17 pm

Post by Nachtfalke »

No, i don't. Besides the /whois command states, that the bot is denfinitely on the channel.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Upon joining a channel, eggdrop issues a "WHO #channel" command, and builds a channel-members list from the output. This will furthermore be updated upon seing people joining, parting and quitting. To see the current status of this list, you could use the ".channel #channel" partyline command, which will also display details such as whom people were identified (if known), jointime/idletime, and so on.

botonchan is known to fail whenever the eggdrop is excluded from the who-list, due to various server mechanics (anonymous channels, delayed join, etc).
NML_375
N
Nachtfalke
Voice
Posts: 5
Joined: Tue Feb 05, 2008 3:17 pm

Post by Nachtfalke »

The .channel command says :

Code: Select all

[ 21:43:32 ] <MyNick> .channel #ChannelName
[ 21:43:32 ] <BotNick> [15:43] #MyNick# (#ChannelName) channel
[ 21:43:33 ] <BotNick> Processing channel #ChannelName, 0 members, mode +al 22:
[ 21:43:33 ] <BotNick> Channel Topic: 
[ 21:43:33 ] <BotNick> End of channel info.
Why does it say 0 Members ? There are users on this channels.

btw: it already had worked on that channel ... I cant figure out why it doesnt any more ... :(
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Do you have the correct net-type set in your eggdrop.conf?
N
Nachtfalke
Voice
Posts: 5
Joined: Tue Feb 05, 2008 3:17 pm

Post by Nachtfalke »

net-type is set to 1 (IRCNet)
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

And what network are you on?
What IRCd do they use?
N
Nachtfalke
Voice
Posts: 5
Joined: Tue Feb 05, 2008 3:17 pm

Post by Nachtfalke »

Im on irc.icq.com ... it already worked with that network ...
Post Reply