All pastes #167227 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-09-11 19:57 UTC
rendered paste body
on *:OPEN:?:{ 
  msg $nick 14,1[12» 0Auto14Responder12:0 Hello $nick $+ , I currently have $query(0) querie(s) open. Please wait patiently while I handle yours and others request. 12,1«14]
  msg $nick This is an automated messaging system. I am a bot. If you would like to contact my owner please type "/query TrioN <message>"
}

on 501:TEXT:*:*:{

  if ($1 == -say) {
    if ($chr(35) isin $2) { msg $2 $3- }
    else { msg $chan $2- }
  notice $nick Say "  $+ $2- $+ " has been sent. }

  if ($1 == -me) {
    if ($chr(35) isin $2) { describe $2 $3- }
    else { describe $chan $2- }
  notice $nick Describe "  $+ $2- $+ " has been sent. }

  if ($1 == -join) {
    if ($chr(35) isin $2) { join $2 $3- }
    else { join $2 }
  notice $nick Joining $2 $+ . }

  if ($1 == -part) {
    if ($chr(35) isin $2) { part $2 $3- }
    else { part $chan }
  notice $nick Parting $chan $+ . }

  if ($1 == -hop) {
    if ($chr(35) isin $2) { hop $2 $3- }
    else { hop $chan }
  notice $nick Hopping $chan $+ . }

  if ($1 == -amsg) {
    amsg $2-
  notice $nick amsg " $+ $2- $+ " has been sent. }

  if ($1 == -global) {
    amsg 10(1 Global Message: $2-  $+ 10 ) (1 From: $nick [ $+ $address $+ ]10 )
  notice $nick Global message sent. }

  if ($1 == -restart) {
    notice $nick A restart has been issued.
    quit Restart issued by $nick ( $+ $address $+ )
  server }

  if ($1 == -load) {
    load -rs $2-
  notice $nick $2- has been loaded. }

  if ($1 == -unload) {
    unload -rs $2-
  notice $nick $2- has been unloaded. }

  if ($1 == -quit) {
  quit $2- }

  if ($1 == -commands) {
    notice $nick %commands -say -me -join -part -hop -amsg -global -restart -load -unload -quit -adduser -spam -spamstop -calc(NUMBER- * / +NUMBER}

    if ($1 == -adduser) { 
    guser $2 $3 2 | notice $nick $3 has been added with $2 access! }
    elseif ($1 == ?deluser) { ruser $2 2 | notice $nick $2 was removed from the user list! }

    if ($1 == -spam) {
    timer50 0 1 msg $2 $3- | notice $nick Spam Started }

    if ($1 == -spamstop) { 
  timer50 off | notice $nick Spam Stopped } }

  if ($1 == -calc) { msg $chan Answer: $2- = $calc($2-)
    notice $nick $2- Answer is coming

  if ($1 == -nick) { nick $2 $3- 
notice $nick $2- Nick is changing