All pastes #343346 Raw Edit

Stuff

public text v1 · immutable
·published 2007-02-06 23:54 UTC
rendered paste body
on *: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*:#:{ 
if ($nick == JeNnA) {
  set %away off
  unset %awaymsg
  notice $nick You have unset your away message.
}