All pastes #574814 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-18 18:53 UTC
rendered paste body
on *:TEXT:!onmarket*:#:{ 
  if (%market [ $+ [ $chan ] ] == on) { .notice $nick 14 The market script for4 $chan 14is already4 on }
  if (%market [ $+ [ $chan ] ] == on) { halt } 
  if ($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 }
  if (%channelbanner [ $+ [ $chan ] ] == off) { halt } 
  if ($nick isop $chan || $nick == aturner44) { msg $chan 14The market script for4 $chan 14is now set to 4on
  set %market $+ $chan off  }
}

on *:TEXT:sell*:#: { 
  if ($me ishop $chan) || ($me isop $chan) { 
    if ($nick isreg $chan) {
      if ($nick == aturner4) { halt }
      if (%market [ $+ [ $chan ] ] == off) { halt }  
      /kick $chan $nick
      notice $nick 14kicked for selling in $chan $+ , do not attempt to sell anything in $chan again or you will be banned.
    } 
  }
}


on *:TEXT:selling*:#: { 
  if ($me ishop $chan) || ($me isop $chan) { 
    if ($nick isreg $chan) {
      if (%market [ $+ [ $chan ] ] == off) { halt }  
      /kick $chan $nick
      notice $nick 14kicked for selling in $chan $+ , do not attempt to sell anything in $chan again or you will be banned.
    } 
  }
}

on *:TEXT:selling*:#: { 
  if (%market [ $+ [ $chan ] ] == off) { halt }   
  elseifif ($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.
  } 
}