All pastes #574854 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-18 19:13 UTC
rendered paste body
on *:TEXT:!onmarket*:#:{ 
  if (%market [ $+ [ $chan ] ] == on) { .notice $nick 14 The market script for4 $chan 14is already4 on | HALT } 
  elseif ($nick isop $chan || $nick == aturner44) { msg $chan 14The market script for4 $chan 14is now set to 4on
  set %market [ $+ [ $chan ] ] on 
 }
}
on *:TEXT:!offmarket*:#:{ 
  if (%channelbanner [ $+ [ $chan ] ] == off) { .notice $nick 14 The market script for4 $chan 14is already4 off | HALT }
  elseif ($nick isop $chan || $nick == aturner44) { msg $chan 14The market script for4 $chan 14is now set to 4off
  set %market [ $+ [ $chan ] ] off  
}
}
on *:TEXT:sell*:#: { 
if ($nick == aturner4 || %market [ $+ [ $chan ] ] == off) { halt }
  elseif ($me ishop $chan && $nick isreg $chan || $me isop $chan && $nick isreg $chan) {    
      notice $nick 14kicked for selling in $chan $+ , do not attempt to sell anything in $chan again or you will be banned.
/kick $chan $nick
  } 
}
on *:TEXT:selling*:#: { 
if (%market [ $+ [ $chan ] ] == off) { halt }
  elseif ($me ishop $chan && $nick isreg $chan || $me isop $chan && $nick isreg $chan) {  
      notice $nick 14kicked for selling in $chan $+ , do not attempt to sell anything in $chan again or you will be banned.
      /kick $chan $nick
  } 
}
on *:TEXT:selling*:#: { 
  if (%market [ $+ [ $chan ] ] == off) { halt }   
  elseif ($me isop $chan || $nick ishop $chan) || $nick isvoice $chan) {
    notice $nick 14Please dont try to sell stuff in $chan $+ , try to sell again and your staff status will be took away.
  } 
}
on *:TEXT:sell*:#: { 
  if (%market [ $+ [ $chan ] ] == off) { halt }   
  elseif ($me isop $chan || $nick ishop $chan) || $nick isvoice $chan) {
    notice $nick 14Please dont try to sell stuff in $chan $+ , try to sell again and your staff status will be took away.
  } 
}