lets begin again
from start
look at this script
Code: Select all
bind pub - "!stat" pub:status
proc pub:status {nick host hand chan arg} {
if {[isop $nick $chan]} {
putquick "PRIVMSG $chan :$nick is Op on $chan "
} elseif {[ishalfop $nick $chan]} {
putquick "PRIVMSG $chan :$nick is Halfop on $chan "
} elseif {[isvoice $nick $chan]} {
putquick "PRIVMSG $chan :$nick is Voice on $chan "
} else {
putquick "PRIVMSG $chan :$nick dunno ?!?!?! on $chan "
}
return 0
}
when load this script and a user type
!stat
in the channel it tells the status the user have
[21:34] <@^Willie^> !stat
[21:34] <scan-egg> ^Willie^ is Op on #testbla
or
[21:34] <%^Willie^> !stat
[21:34] <scan-egg> ^Willie^ is Halfop on #testbla
or
[21:34] <+^Willie^> !stat
[21:34] <scan-egg> ^Willie^ is Voice on #testbla
else
[21:34] <^Willie^> !stat
[21:34] <scan-egg> ^Willie^ dunno ?!?!?! on #testbla
the eggdrop bot reply the user status this works ok when it is on one channel when it join`s 2 chan`s at one time on boot
it detect no status at all
when it join one and then join the second channel it detect all status types
( op halfop voice ) in the first channel en in the second only (op voice)
when i set mode +h for those halfop users it do detect them as halfop %
how can i let eggdrop join 3 channels at once and afther sync detect the user`s status
some resync script or some ??