on *:TEXT:!away:#: {
if ((%floodaway) || ($($+(%,floodaway.,$nick),2))) { return }
set -u10 %floodaway On
set -u30 %floodaway. $+ $nick
if ($nick isop #) {
set %away.mode On
msg $chan Away mode activated, new users will be alerted that the streamer is away
}
}
on *:TEXT:hello *:#: {
if (!%away.mode) return
if ((%floodhello_*) || ($($+(%,floodhello_*.,$nick),2))) { return }
set -u10 %floodhello_* On
set -u3600 %floodhello_*. $+ $nick
msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly
}
on *:TEXT:sup *:#: {
if (!%away.mode) return
if ((%floodsup_*) || ($($+(%,floodsup_*.,$nick),2))) { return }
set -u10 %floodsup_* On
set -u3600 %floodsup_*. $+ $nick
msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly
}
on *:TEXT:hi *:#: {
if (!%away.mode) return
if ((%floodhi_*) || ($($+(%,floodhi_*.,$nick),2))) { return }
set -u10 %floodhi_* On
set -u3600 %floodhi_*. $+ $nick
msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly
}
on *:TEXT:hey *:#: {
if (!%away.mode) return
if ((%floodhey_*) || ($($+(%,floodhey_*.,$nick),2))) { return }
set -u10 %floodhey_* On
set -u3600 %floodhey_*. $+ $nick
msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly
}
on *:TEXT:yo *:#: {
if (!%away.mode) return
if ((%floodyo_*) || ($($+(%,floodyo_*.,$nick),2))) { return }
set -u10 %floodyo_* On
set -u3600 %floodyo_*. $+ $nick
msg $chan $nick $remove(#,$chr(35)) is away, and will be back shortly
}
on *:TEXT:!awayoff:#: {
if ((%floodawayoff) || ($($+(%,floodawayoff.,$nick),2))) { return }
set -u10 %floodawayoff On
set -u30 %floodawayoff. $+ $nick
if ($nick isop #) {
unset %away.mode
msg $chan The streamer is back! Enjoy the show. :)
}
}