Share Pastebin
Guest
Public paste!

GrimReaper

By: a guest | Feb 9th, 2010 | Syntax: None | Size: 11.89 KB | Hits: 31 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. ; TechnoIRC Official Staff Script for mIRC - Version 1
  2. ; Written: 08 February 2010
  3. ; Written GrimReaper
  4. on *:LOAD:{
  5.   echo -at 4TechnoIRC Staff Script loaded 12- 4Copyright TechnoIRC IRC Network 2010 - All Rights Reserved
  6.   echo -at 4Setting Up Variables
  7.  
  8.   ; ---- Set Variables ----
  9.   ; ---- Bans ----
  10.   ; --- Appealing Methods ---
  11.   set %TechnoIRC.appealurl (If you feel this ban was an error you may appeal at http://www.TechnoIRC.net/bans/ )
  12.   ; --- Glines ---
  13.   set %TechnoIRC.g.flood Flooding is not permitted on TechnoIRC.
  14.   set %TechnoIRC.g.baneva Attempting to evade a ban is a serious infraction and only results for a longer ban.
  15.   set %TechnoIRC.g.hatesp Hate speech is not tolerated on TechnoIRC.
  16.   set %TechnoIRC.g.pmflood Don't PM/Query/DCC/CTCP or /invite anyone without first asking their permission in the channel.
  17.   set %TechnoIRC.g.bots This network does not permit clones, trojan bots, spam bots, xdcc/fserves/leech bots, zombies, or drones.
  18.   set %TechnoIRC.g.attitude You have displayed conduct that is not suitable for the TechnoIRC environment.
  19.   set %TechnoIRC.g.pornlink Inappropriate or pornographic links displayed in public channels are not tolerated here.
  20.   set %TechnoIRC.g.proxies The use of an open proxy to connect to the network is not allowed.
  21.   set %TechnoIRC.g.amsg AMSGs considered to be spam are not allowed.
  22.   ; ---- End Set Variables ----
  23.   echo -at Set Variables Complete - TechnoIRC Staff Script fully loaded and ready to use
  24. }
  25.  
  26. menu status,channel,nicklist,query {
  27.   TechnoIRC Commands
  28.   .-
  29.   .Modes and Changes
  30.   ..SetHost:/sethost $$?="new host <Example:microsoft.com>:"
  31.   ..SetIdent:/setident $$?="new ident <Example:Bubba>:"
  32.   ..CHGhost:/chghost $$?="nick and newhost <Example:Bubba code.slashdot.org>:"
  33.   ..chgname:/chgname $$?="nick and name <Example:Bubba TechAdmin on SomeNet>:"
  34.   ..chgIdent:/chgident $$?="nick and ident <Example:Bubba NotBubba>:"
  35.   .-
  36.   .UserKills
  37.   ..DNS Lookup:/dns -c $1
  38.   ..Shun
  39.   ...$1
  40.   ....Flood:/shun $1 $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.flood
  41.   ....Spam/Bots/Trojans:/shun $1 $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.bots
  42.   ....Attitude:/shun $1 $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.attitude
  43.   ....Ban Evasion:/shun $1 $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.baneva
  44.   ....Hate speech:/shun $1 $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.hatesp
  45.   ....PM Spam:/shun $1 $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.pmflood
  46.   ....Other reason:/shun $1 $$?="Shun Time (2w,3d,60m,30s):" $$?="Reason:"
  47.   ...Other hostmask
  48.   ....Flood:/shun $$?="Hostmask:" $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.flood
  49.   ....Spam/Bots/Trojans:/shun $$?="Hostmask:" $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.bots
  50.   ....Attitude:/shun $$?="Hostmask:" $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.attitude
  51.   ....Ban Evasion:/shun $$?="Hostmask:" $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.baneva
  52.   ....Hate speech:/shun $$?="Hostmask:" $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.hatesp
  53.   ....PM Spam:/shun $$?="Hostmask:" $$?="Shun Time (2w,3d,60m,30s):" %TechnoIRC.g.pmflood
  54.   ....Other reason:/shun $$?="Hostmask:" $$?="Shun Time (2w,3d,60m,30s):" $$?="Reason:"
  55.   ...Undo Nickname:/shun - $+ $1
  56.   ..Kill
  57.   ...$1
  58.   ....Flood:/kill $1 %TechnoIRC.g.flood
  59.   ....Spam/Bots/Trojans:/kill $1 %TechnoIRC.g.bots
  60.   ....Attitude:/kill $1 %TechnoIRC.g.attitude
  61.   ....Ban Evasion:/kill $1 %TechnoIRC.g.baneva
  62.   ....Hate speech:/kill $1 %TechnoIRC.g.hatesp
  63.   ....PM Spam:/kill $1 %TechnoIRC.g.pmflood
  64.   ....Amsg:/kill $1 %TechnoIRC.g.amsg
  65.   ....Proxies:/kill $1 %TechnoIRC.g.proxies
  66.   ....Other reason:/kill $1 $$?="Reason:"
  67.   ..Gline
  68.   ...$1
  69.   ....Flood:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.flood %TechnoIRC.appealurl
  70.   ....Spam/Bots/Trojans:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.bots %TechnoIRC.appealurl
  71.   ....Attitude:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.attitude %TechnoIRC.appealurl
  72.   ....Ban Evasion:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.baneva %TechnoIRC.appealurl
  73.   ....Hate speech:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.hatesp %TechnoIRC.appealurl
  74.   ....PM Spam:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pmflood %TechnoIRC.appealurl
  75.   ....Porn links:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pornlink %TechnoIRC.appealurl
  76.   ....Proxies:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.proxies %TechnoIRC.appealurl
  77.   ....Other reason:/gline $1 $$?="Ban Time (2w,3d,60m,30s):" $$?="Reason:" %TechnoIRC.appealurl
  78.   ...Other hostmask
  79.   ....Flood:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.flood %TechnoIRC.appealurl
  80.   ....Spam/Bots/Trojans:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.bots %TechnoIRC.appealurl
  81.   ....Attitude:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.attitude %TechnoIRC.appealurl
  82.   ....Ban Evasion:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.baneva %TechnoIRC.appealurl
  83.   ....Hate speech:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.hatesp %TechnoIRC.appealurl
  84.   ....PM Spam:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pmflood %TechnoIRC.appealurl
  85.   ....Porn links:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pornlink %TechnoIRC.appealurl
  86.   ....Proxies:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.proxies %TechnoIRC.appealurl
  87.   ....Other reason:/gline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" $$?="Reason:" %TechnoIRC.appealurl
  88.   ..GZLine
  89.   ...$1
  90.   ....Flood:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.flood %TechnoIRC.appealurl
  91.   ....Spam/Bots/Trojans:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.bots %TechnoIRC.appealurl
  92.   ....Attitude:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.attitude %TechnoIRC.appealurl
  93.   ....Ban Evasion:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.baneva %TechnoIRC.appealurl
  94.   ....Hate speech:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.hatesp %TechnoIRC.appealurl
  95.   ....PM Spam:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pmflood %TechnoIRC.appealurl
  96.   ....Porn links:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pornlink %TechnoIRC.appealurl
  97.   ....Proxies:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.proxies %TechnoIRC.appealurl
  98.   ....Other reason:/gzline $1 $$?="Ban Time (2w,3d,60m,30s):" $$?="Reason:" %TechnoIRC.appealurl
  99.   ...Other hostmask
  100.   ....Flood:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.flood %TechnoIRC.appealurl
  101.   ....Spam/Bots/Trojans:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.bots %TechnoIRC.appealurl
  102.   ....Attitude:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.attitude %TechnoIRC.appealurl
  103.   ....Ban Evasion:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.baneva %TechnoIRC.appealurl
  104.   ....Hate speech:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.hatesp %TechnoIRC.appealurl
  105.   ....PM Spam:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pmflood %TechnoIRC.appealurl
  106.   ....Porn links:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.pornlink %TechnoIRC.appealurl
  107.   ....Proxies:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" %TechnoIRC.g.proxies %TechnoIRC.appealurl
  108.   ....Other reason:/gzline $$?="Hostmask:" $$?="Ban Time (2w,3d,60m,30s):" $$?="Reason:" %TechnoIRC.appealurl
  109.   .-
  110.   ..Removing UserKills
  111.   ...Removing GLine:/gline -$$?="Hostmask To Remove. *@HOSTMASK or *@IP.Address"
  112.   ...Removing GZLine:/gzline -$$?="Hostmask To Remove. *@HOSTMASK or *@IP.Address"
  113.   ...Removing Shun:/shun -$$?="Nick To Remove Shun From"
  114.   .-
  115.   .ServerAdmin(DANGER)
  116.   ..DCCDeny:/dccdeny $$?="Filename mask and reason:"
  117.   ..UnDCCDeny:/undccdeny $$?="Filename mask:"
  118.   ..EncryptedPasswords
  119.   ...Crypt:/mkpasswd crypt $$?="Password:"
  120.   ...Sha1SSL:/mkpasswd sha1 $$?="Password:"
  121.   ...MD5SSL:/mkpasswd md5 $$?="Password:"
  122.   .-
  123.   .ServerStats
  124.   ..KZElines(Banned hosts/IP):/stats k
  125.   ..Glines(Banned hosts&Shuns):/stats g
  126.   ..Elines(K:Line Exceptions):/stats E
  127.   ..Flines(Filename masks on DCCDENY):/stats f
  128.   ..OLines(IRC Operator Lines):/stats O
  129.   ..Qlines(Forbidden Nicks):/stats Q
  130.   ..CNlines(Serversconnect or acceptfrom):/stats C
  131.   ..HLlines(Hub and Leaf Lines):/stats H
  132.   ..nLines(GECOS Deny):/stats n
  133.   ..VHostLines:/stats V
  134.   ..Tlines(Specific MOTD/Rules Lines):/stats T
  135.   ..Ulines(Usually Services):/stats U
  136.   ..Vlines(Version Deny):/stats v
  137.   ..Dlines(Disallow Lines-Oper & Server Orig Connects):/stats D
  138.   ..dLINES(Disallow Lines-Autoconnects):/stats d
  139.   ..eLInes(Proxy scan exempt IPs):/stats e
  140.   ..ILines(Client auth Lines):/stats I
  141.   ..Flines(DCCDENY Lines):/stats F
  142.   ..Ylines(Connection classes):/stats Y
  143.   ..lLines(Client auth Lines):/stats l
  144.   ..ChanRestric:/stats r
  145.   ..NetConfig:/stats N
  146.   ..DynamConfig:/stats S
  147.   ..ServerLoad:/stats W
  148.   ..SQLineReport:/stats q
  149.   ..ServerUpTime:/stats u
  150.   ..ServCmdList:/stats m
  151.   ..MiscSErv:/stats z
  152.   ..ServerCAcheNS:/stats s
  153.   ..MiscINfo:/stats t
  154.   ..SerVConnt:/stats L
  155.   ..StatsCommands:/stats ?
  156.   .-
  157.   .Server Performance and Info
  158.   ..Trace:/trace $$?="Server Name:"
  159.   ..Lag:/lag $$?="Server Name:"
  160.   ..Links:/links
  161.   ..Version:/version
  162.   ..Map:/map
  163.   ..Rules:/rules
  164.   ..AdminList:/admin $$?="Server Name:"
  165.   .-
  166.   .UserInfo and Changes
  167.   ..Names:/names #$$?="Channel:"
  168.   ..NickIsOn:/ison $$?="Nickname:"
  169.   ..Who:/who $$?="Nickname or Mask:"
  170.   ..WhoWas:/whowas $$?="Nickname:"
  171.   ..IRC Op Who:/who O o
  172.   ..Who On Channel:/who $chan
  173.   ..DNS Lookup:/dns -c $1
  174.   .-
  175.   .User and Channel Info Modes
  176.   ..UserMode:/helpop ?umodes
  177.   ..ChannelMode:/helpop ?chmodes
  178.   .-
  179.   .OperServ (All Uses Logged)
  180.   ..GlobalMessage:/msg operserv global $$?="Message for all channels:"
  181.   ..Stats:/msg operserv stats
  182.   ..Op List:/msg operserv oper list
  183.   ..Admin List:/msg operserv admin list
  184.   ..Staff:/msg operserv staff
  185.   ..News
  186.   ...Logon News:/msg operserv logonnews add $$?="Enter Logon Msg:  Only the most recent 3 items will be sent."
  187.   ...Random News:/msg operserv randomnews add $$?="Enter Random Entry Msg:"
  188.   ...Oper News:/msg operserv opernews add $$?="Enter Oper News:  Only the most recent 3 items will be sent."
  189.   ..Chankill (Akills all users on Chan):/msg operserv chankill $$?="Enter Channel" $$?="Enter Reason"
  190.   ..SuperAdmin
  191.   ...On:/msg operserv set superadmin on
  192.   ...Off:/msg operserv set superadmin off
  193.   ..Kill Clones:/msg operserv killclones $$?="Enter Nick:"
  194.   ..Session Exceptions:/msg operserv exception add $$?="Enter Host: Portion after @" $$?="Enter # of Sessions:" $$?="Enter Reason:"
  195.   -
  196.  
  197. }
  198.  
  199. ;%%%%%%%%%%% MASS KILL %%%%%%%%%%%%
  200. alias masskill {
  201.   var %reason = $input(Reason,eog,Kill Masivo)
  202.   var %victims $snick($active)
  203.   var %i 1
  204.   while ($gettok(%victims,%i,44)) {
  205.     if ($address($gettok(%victims,%i,44),2)) {
  206.  
  207.       if (!%reason) { var %reason Cloning }
  208.       kill $gettok(%victims,%i,44) %reason
  209.     }
  210.     :nokill
  211.     inc %i
  212.   }
  213. }
  214.  
  215. menu nicklist {
  216.   -
  217.   Kill multiple:masskill
  218.   -
  219. }
  220.  
  221. ;%%%%%%%%%%% MASS GLINE AND GZLINE %%%%%%%%%%%
  222. alias massgline {
  223.   var %reason = $input(Reason,eog,Kill Masivo)
  224.   var %time = $input(Time(s,m,d, or 0 for perm),eog,Gline Time)
  225.   var %victims $snick($active)
  226.   var %i 1
  227.   set %appeal If you feel this ban is in error, you may appeal it by visiting: http://www.TechnoIRC.net/bans )
  228.   while ($gettok(%victims,%i,44)) {
  229.     if ($address($gettok(%victims,%i,44),2)) {
  230.  
  231.       if (!%reason) { var %reason Cloning }
  232.       gline $gettok(%victims,%i,44) %time %reason %appeal
  233.     }
  234.     :nokill
  235.     inc %i
  236.   }
  237. }
  238. alias massgzline {
  239.   var %reason = $input(Reason,eog,Kill Masivo)
  240.   var %time = $input(Time(s,m,d, or 0 for perm),eog,Gline Time)
  241.   var %victims $snick($active)
  242.   var %i 1
  243.   set %appeal If you feel this ban is in error, you may appeal it by visiting: http://www.TechnoIRC.net/bans )
  244. }