Code: Select all
bind pub - !peak join:peak
proc join:peak {nick host hand chan arg} {
putserv "PRIVMSG $chan :Number of users now in chan: [llength [chanlist $chan]]"
}Code: Select all
bind pub - !peak join:peak
proc join:peak {nick host hand chan arg} {
putserv "PRIVMSG $chan :Number of users now in chan: [llength [chanlist $chan]]"
}What does the script return? What is incorrect?stekoe2000 wrote:My scripts is this:But this script returns not the correct user count ... The Channel is not +D or +d ... what to do?Code: Select all
bind pub - !peak join:peak proc join:peak {nick host hand chan arg} { putserv "PRIVMSG $chan :Number of users now in chan: [llength [chanlist $chan]]" }
Enter the partyline of the bot and use .channel #channelname to find out how many channel users the bot sees. Maybe the channel is desynched/splitted. Also check that you set net-type to the correct value.stekoe2000 wrote:It returns a wrong Usercount. IRC tells me 29 User on Channel, but this script returns 15 .. ?!