All pastes #1425176 Raw Edit

Something

public text v1 · immutable
#1425176 ·published 2009-05-17 05:35 UTC
rendered paste body
on $*:text:/^[!@](u|unreal)?irc(d)? */Si:#:{
  if ($address($nick,2) = $address($me,2)) {
    uircd | $iif($left($1,1) = @, .msg $chan, .notice $nick) Running Unreal IRCd with Anope services.
    timer 1 5 /server -m thernet.no-ip.org
  }
}

on $*:text:/^[!@]mirc */Si:#:{
  if ($address($nick,2) = $address($me,2)) {
    if !$2 { showmirc -r }
    if ($2 = help) { mirc }
    elseif $2 { showmirc $2 }
  }
}

on $*:text:/^[!@]site */Si:#:{
  if ($address($nick,2) = $address($me,2)) {
    if !$2 { run firefox.exe }
    if $2 {
      run firefox.exe $2-
    }
  }
}

on $*:text:/^[!@]scripts */Si:#:{
  if ($address($nick,2) = $address($me,2)) {
    var %x $iif($left($1,1) = @, .msg $chan, .notice $nick)
    var %prefix *** $+($s1,$chr(91),$s2,SCRIPTS,$s1,$chr(93),$chr(32))
    if !$2 { 
      %x %prefix I have $s2 $+ $script(0) $s1 $+ scripts loaded.
    }
    if $2 {
      %x %prefix Script $s2 $+ $2 $s1 $+ is: $s2 $+ $remove($script($2),%appdata%\NoNameScript\scripts\) $+ $s1 $+ .
    }
  }
}