AdminScript [Version 0.1]

By MoMosaMuzic on Dec 26, 2008

This Script is for Net Admins and IRCop's this will help you with some magor commands with Anope and NeoStats.

; **********************************************************
; ***  AdminScript [Version 0.1] by Country|Rocker       ***
; ***  If ya need help with this script, come to         ***
; ***  /server -m irc.abjects.net and join #FileMadness  ***
; ***  Or Goto www.XdccMagic.com                         ***
; ***  This Is My First Snippet I Might Update           ***
; **********************************************************

on *:load:{
  if ($version >= 5.90) {
    echo -a Successfully Loaded AdminScript [Version 0.1] By Country|Rocker
    echo -a To Use Right-Click Pop-ups.
  }
  else {
    echo -a Your mIRC Is Too Old, AdminScript Only Works With mIRC 5.9 Or Later.
    unload -rs $script
  } 
}

menu nicklist,channel {
  .IRC Admin Oper Cmds
  ..Admin Server Cmds
  ...Change Name:/chgname $$1 $$?="New Name for ' $+ $$1 $+ ':"
  ...Change Ident:/chgident $$1 $$?="New Ident for ' $+ $$1 $+ ':"
  ...Change Host:/chghost $$1 $$?="New Host for ' $+ $$1 $+ ':"
  ...GlobOps:/globops $$?="Enter Message"
  ...Snuggleid:/msg operserv2 snuggleid $$?="Code Id"
  ...Kill $snicks:/kill $$1 Removed
  ...Kill (Reason) $snicks:/kill $$1 $$?="Kill Reason:"
  ...AKill $snicks:/akill $$1 $$?="Reason"
  ...RAKill $snicks:/rakill $$1
  ...K-Line $snicks:/kline $$1 $$?="Reason"
  ...TK-Line $snicks:/tkline $$1 $$?="Seconds To Be Banned - 900 = 15 Mins" $$?="Reason"
  ...UnK-Line:/unkline $$?="Enter Hostmask - Example *@*.aol.com"
  ...Z-Line $snicks:/zline $$1 $$?="Reason"
  ...TZ-Line $snicks:/tzline $$1 $$?="Seconds To Be Banned - 900 = 15 Mins" $$?="Reason"
  ...UnZ-Line:/unzline $$?="Enter Ip - Example 127.0.0.1"
  ...G-Line $snicks:/gline $$1 $$?="Seconds To Be Banned - 900 = 15 Mins" $$?="Reason"
  ...GZ-Line $snicks:/gzline $$1 $$?="Seconds To Be Banned - 900 = 15 Mins" $$?="Reason"
  ...Shun $snicks:/shun $$1 $$?="Reason"
  ...Temp Shun $snicks:/shun $$1 $$?="Seconds To Be Shuned - 900 = 15 Mins" $$?="Reason"
  ...SAJoin $snicks:/sajoin $$1 $$?="Channel"
  ...SAPart $snicks:/sapart $$1 $$?="Channel"
  ...SAMode:/samode $$?="Channel" $$?="Channel Modes"
  .-
  .Anope Admin Cmds
  ..ChanServ  
  ...Chan Drop:/msg ChanServ DROP $$?="Channel"
  ...NoExpire:/msg ChanServ SET $$?="Channel" NOEXPIRE $$?="On Or Off"
  ...Chan List:/msg ChanServ LIST $$?="pattern" [FORBIDDEN] [SUSPENDED] [NOEXPIRE] 
  ...GetPass:/msg ChanServ GETPASS $$?="Channel"
  ...Forbid:/msg ChanServ FORBID $$?="channel" $$?="Reason"
  ...Suspend:/msg ChanServ SUSPEND $$?="Channel" $$?="Reason"
  ...Unsuspend:/msg ChanServ UNSUSPEND $$?="Channel"
  ...Status:/msg ChanServ STATUS $$?="Channel" $$?="Nick" 
  ..NickServ
  ...ResetPass:/msg NickServ RESETPASS $$?="Nick"
  ...Nick Drop:/msg NickServ DROP $$?="Nick"
  ...NoExpire:/msg NickServ SET $$?="Nick" NOEXPIRE $$?="On Or Off"
  ...Nick List:/msg NickServ LIST $$?="pattern" [FORBIDDEN] [NOEXPIRE]
  ...AList:/msg NickServ ALIST $$?="Nick" $$?="Level"
  ...GList:/msg NickServ GLIST $$?="Nick"
  ...GetPass:/msg NickServ GETPASS $$?="Nick"
  ...Forbid:/msg NickServ FORBID $$?="Nick" $$?="Reason"
  ..HostServ
  ...Set vhost:/msg HostServ SET $$?="Nick" $$?="HostMask"
  ...SetAll:/msg HostServ SETALL $$?="Nick" $$?="HostMask"
  ...Del:/msg HostServ DEL $$?="Nick"
  ...List:/msg HostServ LIST $$?="Nick Or Vhost"
  ..BotServ
  ...Add Bot:/msg BotServ BOT ADD $$?="Nick" $$?="User" $$?="Host Name" $$?="Real Name"
  ...Bot Del:/msg BotServ BOT DEL ="Nick"
  ...Bot Change:/msg BotServ $$?="Old Nick" $$?="New Nick" $$?="User" $$?="Host Name" $$?="Real Name"
  ...BotList:/msg BotServ BOTLIST
  ...No Bot:/msg BotServ SET $$?="Channel" NOBOT $$?="On Or Off"
  ...Private:/msg BotServ SET $$?="Bot Nick" PRIVATE $$?="On Or Off"
  .-
  ..NeoStats Cmds
  ...Level:/msg NeoStats LEVEL $$?="Nick"
  ...Status:/msg NeoStats STATUS
  ...Version:/msg NeoStats VERSION
  ...Logs:/msg NeoStats LOGS
  ...Shutdown:/msg NeoStats SHUTDOWN $$?="Reason"
  ...ModList:/msg NeoStats MODLIST
  ...Load:/msg NeoStats LOAD $$?="Module File Name"
  ...Unload:/msg NeoStats UNLOAD $$?="Module Name"
  ...Exclude Add:/msg NeoStats EXCLUDE ADD $$?="Host/Server Or Channel" $$?="pattern"
  ...Exclude Del:/msg NeoStats EXCLUDE DEL $$?="Position"
  ...Exclude List:/msg NeoStats EXCLUDE LIST
  ...Jump:/msg NeoStats JUMP $$?="Server"
  ...Reload:/msg NeoStats RELOAD $$?="Reason"
  .-
  ..StatServ
  ...Version:/msg $$?="Bot Nick" VERSION
  ...Levels:/msg $$?="Bot Nick" LEVELS $$?="Commands" $$?="New Level"
  ...CTCPVersion:/msg $$?="Bot Nick" CTCPVERSION $$?="Limit"
  ...Channel:/msg $$?="Bot Nick" CHANNEL $$?="Option"
  ...Server:/msg $$?="Bot Nick" SERVER $$?="Option" $$?="Old Server" $$?="New Server"
  ...Map:/msg $$?="Bot Nick" MAP 
  ...NetStats:/msg $$?="Bot Nick" NETSTATS
  ...Daily:/msg $$?="Bot Nick" DAILY
  ...TdlMap:/msg $$?="Bot Nick" TDLMAP
  ...OperList:/msg $$?="Bot Nick" OPERLIST $$?="Options"
  ...BotList:/msg $$?="Bot Nick" BOTLIST
  ...ForceHTML:/msg $$?="Bot Nick" FORCEHTML
  .-
}

Comments

Sign in to comment.
[DX]   -  Dec 27, 2008

or even do NOT need version checking :S

 Respond  
MoMosaMuzic   -  Dec 27, 2008

Thank You Vox91 i have done the "else" code and Updated the Snippet Thanks :) & PunkTuReD i have added the "Close" Bracket. Thank You i did not notice i did that. :)

 Respond  
PuNkTuReD   -  Dec 26, 2008

your menu is missing a closing bracket

 Respond  
Aucun50   -  Dec 26, 2008

Can't test this one but as vox91 said use else.

 Respond  
Vox91   -  Dec 26, 2008

from:

on *:load:{
  if ($version >= 5.90) {
    echo -a Successfully Loaded AdminScript [Version 0.1] By Country|Rocker
    echo -a To Use Right-Click Pop-ups.
  }
  if ($version < 5.8) { 
    echo -a Your mIRC Is Too Old, AdminScript Only Works With mIRC 5.9 Or Later.
    unload -rs $script
  } 
}

You could make:

on *:load:{
  if ($version >= 5.90) {
    echo -a Successfully Loaded AdminScript [Version 0.1] By Country|Rocker
    echo -a To Use Right-Click Pop-ups.
  }
  else {
    echo -a Your mIRC Is Too Old, AdminScript Only Works With mIRC 5.9 Or Later.
    unload -rs $script
  } 
}

Small tip, nice script though. :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.