Untitled
public text v1 · immutableon *:text:!afk on*:#:{
if ($nick == JeNnA) {
set %away on
set %awaymsg $2- $+
notice $nick You have set your away message as: $3- $+
}
}
on *:text:*jen*:#:{
if (%away == off) { halt }
if (%away == on) {
notice $nick JeNnA is afk: %awaymsg
}
}
on *:text:!afk off*:#:{
set %away off
unset %awaymsg
notice $nick You have unset your away message.
}