rendered paste bodymenu * {
.Gathers
..Auto-Add:/set %chank_m $active | echo -a 3Auto-Add is rady on $chan
..Auto-Sub:/set %GathersAuto $active | echo -a 3Auto-Sub is searching on $chan
..Stop:/unset %GathersAuto , %chank_m | echo -a 4Auto-Sub and Auto-Add is OFF
-
}
on *:notice:*:#:{
if (*Sub is needed* iswm $1-) && (# == %GathersAuto) {
set %GathersAuto $chan 1
}
}
on *:RAWMODE:*:{
if (%chank_m == $chan) && (*-*m*N* iswm $1-) {
msg $chan !add
msg $chan !add
msg $chan !add
.timer 1 3 unset %chank_m
}
if ($gettok(%GathersAuto,2,32) == 1) && (*-*m*N* iswm $1-) {
msg $chan !sub
msg $chan !sub
.timer 1 3 unset %GathersAuto
}
}