Public feed #533563

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-06-03 14:38 UTC
rendered paste body
on *:TEXT:*:?: {
  if (%privmsg == OFF) || ($away == $false) {
    halt 
  }
  elseif (%priv. [ $+ [ $nick ] ] == ON) && ($away == $true) {
    write highlightMSG.txt [PM] < $nick at $time > $1- 
    close -m $nick
  }
  elseif (%privmsg == ON) && ($away == $true) {
    set %priv. [ $+ [ $nick ] ] ON
    write highlightMSG.txt [PM] < $nick at $time > $1- 
    msg $nick I am currently away. Reason: %away.reason $+ . Left at: %away.timeleft $+ . Time gone: $duration($awaytime) $+ . One time respond to private message.
    close -m $nick
  }
}
on *:TEXT:*:#: {
  if (%highlight == OFF) {
    halt 
  }
  elseif (%high. [ $+ [ $nick ] ] == ON) && ($away == $true) {
    write highlightMSG.txt [HL] < $nick at $time > $1- 
  }
  elseif (%highlight == ON) && ($away == $true) {
    //.fopen temphl highlight.txt | if (!$ferr) { while (!$feof) { if ($fread(temphl) isin highlight.txt) {
          set %high. [ $+ [ $nick ] ] ON
          write highlightMSG.txt [HL] < $nick at $time > $1- 
          notice $nick I am currently away. Reason: %away.reason $+ . Left at: %away.timeleft $+ . Time gone: $duration($awaytime) $+ . One time respond to highlight.
          break 
          .fclose temphl
        }
      }
    }
  }
}