All pastes #414687 Raw Edit

Stuff

public text v1 · immutable
#414687 ·published 2007-03-29 05:29 UTC
rendered paste body
on *:TEXT:!colo*:#:{
  if (%status [ $+ [ $chan ] ] [ $+ [ $nick ] ] >= 4) && (%aaddress [ $+ [ $chan ] ] [ $+ [ $nick ] ] == $address($nick,3) || %aaddress1 [ $+ [ $chan ] ] [ $+ [ $nick ] ] == $address($nick,3) || %aaddress2 [ $+ [ $chan ] ] [ $+ [ $nick ] ] == $address($nick,3) || %aaddress3 [ $+ [ $chan ] ] [ $+ [ $nick ] ] == $address($nick,3) || %aaddress4 [ $+ [ $chan ] ] [ $+ [ $nick ] ] == $address($nick,3)) || ($nick isop $chan) || ($address($me,2) == $address($nick,2)) {
    if ($2 !isnum) || ($3 !isnum) || ($2 > 15) || ($3 > 15) {
      notice $nick The colors have to be between 0 and 15! For example: !colors 3 7.
    }
    else {
      if ($2 isnum 0-15) {
        write -ds $+ $chan c:/mircsaves/colors1.txt
        write c:/mircsaves/colors1.txt $chan $2
      }
      if ($3 isnum 0-15) {
        write -ds $+ $chan c:/mircsaves/colors2.txt
        write c:/mircsaves/colors2.txt $chan $3
      }
      msg $chan  $+ $read(c:/mircsaves/colors1.txt, s, $chan) $+ The colors on $+ $read(c:/mircsaves/colors2.txt, s, $chan) $chan $+  $+ $read(c:/mircsaves/colors1.txt, s, $chan) are now like $+ $read(c:/mircsaves/colors2.txt, s, $chan) these $+ $read(c:/mircsaves/colors1.txt, s, $chan) $+ .
    }
  }