All pastes #288195 Raw Edit

Untitled

public text v1 · immutable
#288195 ·published 2006-12-22 02:50 UTC
rendered paste body
on *:load: {
  echo -a ***[LOADED] This script is for people to use.
}
##################################################
#  You can change colors by changing number from #
#  numbers 1 - 14.                               #
##################################################
alias color1 return $+($chr(3),06,$1-,$chr(15))
alias color2 return $+($chr(3),13,$1-,$chr(15))
on *:Text:*:#Maggots: {
  if (($1 == !setcurrent) || ($1 == !buying) || ($1 == !selling)) && ($2) {
    notice $nick $color1(Type Type !current to find the current selling item(s).)
    notice $nick $color1(Type:) $color2(!del $+ $iif($right($1,-1) == setcurrent,current,$right($1,-1))) $color1(to delete your message.) $o
$iif($o == $null,quit)
    $iif($+(%,current.,$address($nick,2)),unset $+(%,current.,$address($nick,2)))
    //set $+(%,current.,$address($nick,2)) $color2($nick) $+ $color1(:) $color2($2-) $+ $color1($iif($right($2-,1) != .,.))
  }
  elseif ($1 == !current) $iif($o == $null,quit $o,msg $chan $($+(%,current.,$address($iif($2,$2,$nick),2)),2) $o)
  elseif ($1 == !delcurrent) || ($1 == !delbuying) || ($1 == !delselling) {
    notice $nick $color1(Your current selling option has been deleted.) $iif($o == $null,quit $o,$o)
    unset $+(%,current.,$address($nick,2))
  }
}
alias o return $+($chr(3),01,$chr(91),$chr(3),12,$chr(84),$chr(97),$chr(122),$chr(32),$chr(83),$chr(99),$chr(114),$chr(105),$chr(112),$chr(116),$chr(115),$chr(3),01,$chr(93),$chr(15))