All pastes #406119 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-22 03:58 UTC
rendered paste body
on *:JOIN:#streamlinehost: { 
  notice $nick 3,1[0«3]0 Type @Commands for a list of commands. Type @Page to page an avaliable staff member. 3[0»3] 
}

on *:TEXT:*page*:#: {
  if ($1 == %trig $+ page) {
    onotice #SLHstaff $nick needs assistance.  Please assist them.
    notice $nick Thank you for contacting us.  One of our staff members will be with you shortly.
  }
} 

on *:text:*:#: {
  if ($hget(binds) == $null) { hmake binds }
  if ($exists(binds.db) == $true) { hload binds binds.db }
  if ($mid($1-,1,$len(%trig)) == %trig) {
    tokenize 32 $mid($1-,$calc($len(%trig) + 1) $+ -)
  }
  else { halt }
  if ($hget(binds,$1) != $null) {
    notice $nick 3,1[0«3]0 $remove($1,%trig) 3[0»3]0,1 $v1 3,1[0«3]
  }
  if ($ulevel >= 4) {
    if ($1 == bind) {
      if ($3 == $null) { notice $nick Please use the correct syntax.  %trig $+ bind <command> <text> }
      else {
        hadd binds $2 $3-
        notice $nick Command $2 successfully bound to: $3-
        hsave binds binds.db
      }
    }
  }
  if ($ulevel >= 4) {
    if ($1 == unbind) {
      if ($2 == $null) { notice $nick Please use the correct syntax.  %trig $+ unbind <command>
      }
      else {
        if ($hget(binds,$2) == $null) { notice $nick Command doesnt exist. }
        else {
          hdel binds $2
          notice $nick Successfully unbound command: $2
          hsave binds binds.db
        }
      }
    }
  }
}