All pastes #756372 Raw Edit

Miscellany

public text v1 · immutable
#756372 ·published 2007-10-31 13:14 UTC
rendered paste body
-----------------[- Auto-Add-Script -]--------------------------
-------------------[- By Mazda`MX5 -]---------------------------
------------------
----------------
--------------
------------
----------
--------

on *:load:{ 
  /echo -s ---------------------------------------
  /echo $chan ---------------------------------------
  /echo -s Welcome to Serry's Auto-add-Script!
  /echo $chan Welcome to Serry's Auto-add-Script!
  /echo -s For using this Auto-add-Script you must type /load .
  /echo $chan For using this Auto-add-Script you must type /load .
  /echo -s ---------------------------------------
  /echo $chan ---------------------------------------
}

alias load {
  /echo -s sherry-Autoadd-Script
  /echo $chan sherry-Autoadd-Script
  set %vlscolor 9,1[8,1«0,1
  set %vlscolor2 8,1»9,1]
  set %vlscolor3  8,1»9,1][8,1«0,1 
  /echo -s %vlscolor Welcome to sherry's Addon Autoscript! The Addon-commands: /addon , !addon , /addoff , !addoff , /addon a/b , /addstatus , !addstatus %vlscolor2
  /echo $chan %vlscolor Welcome to sherry's Addon Autoscript! The Addon-commands: /addon , !addon , /addoff , !addoff , /addon a/b , /addstatus , !addstatus %vlscolor2
  /echo -s sherry-Autoadd-Script
  /echo $chan sherry-Autoadd-Script
}

alias commands {
  /echo -s %vlscolor 7,10,1 Auto-Addon-Script Commands: !addon , !addoff , !addstatus , /addon , /addoff , /addon a\b , /addstatus, /addon@ ,/addon@ a\b ,/addoff@ %vlscolor2
  /echo -s 7,10,1Good Luck and Have-Fun! vallis.7,1 -_-|...
  /echo $chan %vlscolor 7,1...|-_-0,1 Auto-Addon-Script Commands: !addon , !addoff , !addstatus , /addon , /addoff , /addon a\b , /addstatus, /addon@ , /addon@ a\b , /addoff@ %vlscolor2
  /echo $chan 7,10,1Good Luck and Have-Fun!
}

alias addon { 
  set %vlschan # 
  set %autoadd 1 
  unset %vlsteam 
  if (%vlsgtrnu == $null) { set %vlsgtrnu 0 } 
  %vlsgtrnunow = %vlsgtrnu + 1 
  echo %vlschan %vlscolor Auto !Add Is Now [9,1Enabled0,1] %vlscolor3 the script is working for %vlschan %vlscolor2  
  if (%autoadd == 1) && ($1 == a) { 
    /echo %vlschan %vlscolor Addon is for team-A %vlscolor2 
    set %vlsteam a 
  }
  elseif (%autoadd == 1) && ($1 == b) { 
    /echo %vlschan %vlscolor Addon is for team-B %vlscolor2 
    set %vlsteam b 
  } 
}

alias addon@ { 
  set %vlschan # 
  set %autoadd@ 1 
  unset %vlsteam 
  if (%vlsgtrnu == $null) { set %vlsgtrnu 0 } 
  %vlsgtrnunow = %vlsgtrnu + 1 
  echo %vlschan %vlscolor Auto @Add Is Now [9,1Enabled0,1] %vlscolor3 the script is working for %vlschan %vlscolor2 
  if (%autoadd@ == 1) && ($1 == a) { 
    /echo %vlschan %vlscolor Addon is for team-A %vlscolor2 
    set %vlsteam a 
  }
  elseif (%autoadd@ == 1) && ($1 == b) { 
    /echo %vlschan %vlscolor Addon is for team-B %vlscolor2 
    set %vlsteam b 
  } 
}

alias addoff {
  /echo %vlschan %vlscolor Auto !Add Is Now [4Disabled0,1] %vlscolor2
  set %autoadd 0
}

alias addoff@ {
  /echo %vlschan %vlscolor Auto @Add Is Now [4Disabled0,1] %vlscolor2
  set %autoadd@ 0
}

alias addstatus {
  if (%vlsgtrnu == $null) { set %vlsgtrnu 0 }
  if (%autoadd == 1) { /echo # %vlscolor Auto Add Is [9,1Enabled0,1] %vlscolor3 the script is working for %vlschan %vlscolor2 }
  if (!%autoadd == 1) { /echo # %vlscolor Auto Add Is [4Disabled0,1] %vlscolor2 }
}

on *:input:#: { 
  if (($1 == !addon) || ($1 == !aaon) || ($1 == !autoaddon)) && ((%autoadd == $null) || (%autoadd == 0)) {
    set %vlschan #
    set %autoadd 1 
    unset %vlsteam
    if (%vlsgtrnu == $null) { set %vlsgtrnu 0 }
    %vlsgtrnunow = %vlsgtrnu + 1
    /echo %vlschan %vlscolor Auto Add Is Now [9,1Enabled0,1] %vlscolor3 the script is working for %vlschan %vlscolor2
    msg %vlschan %vlscolor Auto Add Is Now [9,1Enabled0,1] %vlscolor2
  }
  if ($1 == !addoff) || ($1 == !aaoff) || ($1 == !autoaddoff) && (%autoadd == 1) {
    msg %vlschan %vlscolor Auto Add Is Now [4Disabled0,1] %vlscolor2
    set %autoadd 0
  }
  if ($1 == !addstatus) || ($1 == !aastatus) || ($1 == !autoaddstatus) {
    if (%vlsgtrnu == $null) { set %vlsgtrnu 0 }
    if (%autoadd == 1) { /echo # %vlscolor Auto Add Is [9,1Enabled0,1] %vlscolor3 the script is working for %vlschan %vlscolor2 }
    if (!%autoadd == 1) { /echo # %vlscolor Auto Add Is [4Disabled0,1] %vlscolor2 }
  }
}

on *:mode:%vlschan:{ 
  if (%autoadd == 1) && (%vlsteam == a) && (m !isincs $chan($chan).mode) { 
    msg %vlschan !add a 
    set %autoadd 0 
    inc %vlsgtrnu 
    /echo %vlschan %vlscolor You are in the match which is on the channel %vlschan %vlscolor3 Auto Add Is Now [4Disabled0,1] %vlscolor2 
  } 
  elseif (%autoadd == 1) && (%vlsteam == b) && (m !isincs $chan($chan).mode) { 
    msg %vlschan !add b 
    set %autoadd 0 
    inc %vlsgtrnu 
    /echo %vlschan %vlscolor You are in the match which is on the channel %vlschan %vlscolor3 Auto Add Is Now [4Disabled0,1] %vlscolor2 
  } 
  elseif (%autoadd == 1) && (m !isincs $chan($chan).mode) { 
    msg %vlschan !add %vlsteam 
    set %autoadd 0 
    inc %vlsgtrnu 
    /echo %vlschan %vlscolor You are in the match which is on the channel %vlschan %vlscolor3 Auto Add Is Now [4Disabled0,1] %vlscolor2 
  }
  elseif (%autoadd@ == 1) && (m !isincs $chan($chan).mode) { 
    msg %vlschan @add %vlsteam 
    set %autoadd@ 0 
    inc %vlsgtrnu 
    /echo %vlschan %vlscolor You are in the match which is on the channel %vlschan %vlscolor3 Auto Add Is Now [4Disabled0,1] %vlscolor2 
  } 

} 
}