;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; -= Unreal Oper Menu Addon by XeRXeS v0.1 =- ; ; This is a simple mIRC addon to be used by opers on ; servers running the "Unreal IRCd". While some of ; the commands will work with other IRCd software, ; others will not. ; ; This script was primarily developed for use on the ; Your-IRC Network (irc.your-irc.net). Details are ; available @ http://www.your-irc.net. ; ; This script may be freely distributed under the ; terms of the GNU General Public License, which can ; be found at http://www.gnu.org/copyleft/gpl.html ; ; -= Copyright © 2003 XeRXeS. All Rights Reserved. =- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; on *:LOAD: { echo -s 10---==7 Unreal Oper Menu Addon by XeRXeS v0.1 10==--- } on *:START: { if (o isincs $usermode) set %opered Opered else set %opered Not Opered if (a isincs $usermode) set %sadmin 1 else set %sadmin 0 } on *:USERMODE: { if (o isincs $usermode) set %opered Opered else set %opered Not Opered if (a isincs $usermode) set %sadmin 1 else set %sadmin 0 } menu status,channel { - Oper Menu .Oper ( $+ %opered $+ ): { .oper $$?="Nick:" $$?*="Password:" } .$iif(%opered == Not Opered,$style(2)) User Functions ..Kill User: { kill $$?="Nick to Kill:" $$?="Reason:" } ..Ban User ...Kline ....Add: { kline + $+ $$?="Hostmask:" $$?="Time to ban (e.g. 1d, 1h):" $$?="Reason:" } ....Remove: { kline - $+ $$?="Hostmask:" } ....View: { kline } ...Zline ....Add: { zline + $+ $$?="IP:" $$?="Time to ban (e.g. 1d, 1h):" $$?="Reason:" } ....Remove: { zline - $+ $$?="IP:" } ....View: { zline } ...GZline ....Add: { gzline + $+ $$?="IP:" $$?="Time to ban (e.g. 1d, 1h):" : $+ $$?="Reason:" } ....Remove: { gzline - $+ $$?="IP:" } ....View: { gzline } ...Gline ....Add: { gline + $+ $$?="User@Host:" $$?="Time to ban (e.g. 1d, 1h):" : $+ $$?="Reason:" } ....Remove: { gline - $+ $$?="User@Host:" } ....View: { gline } ...Shun ....Add: { shun + $+ $$?="User@Host:" $$?="Time to ban (e.g. 1d, 1h):" : $+ $$?="Reason:" } ....Remove: { shun - $+ $$?="User@Host:" } ....View: { shun } ..Change Host: { chghost $$?="Nick:" $$?="New Host:" } ..Change Ident: { chgident $$?="Nick:" $$?="New Host:" } ..Change Name: { chgname $$?="Nick:" $$?="New Host:" } ..$iif(%sadmin == 0,$style(2)) Force Join: { sajoin $$?="Nick:" $$?="Channel:" } ..$iif(%sadmin == 0,$style(2)) Force Part: { sapart $$?="Nick:" $$?="Channel:" } ..$iif(%sadmin == 0,$style(2)) Force Mode: { samode $$?="Channel:" $$?="Mode (And User if necessary):" } $iif(%opered == Not Opered,$style(2)) Messaging ..Send msg to +w users (WALLOPS): { wallops $$?="Message:" } ..Send msg to all locops: { locops : $$?="Message:" } ..Send msg to all +c opers: { chatops : $$?="Message:" } ..Send msg to all opers: { globops $$?="Message:" } ..Send msg to all admins: { adchat $$?="Message:" } ..Send msg to all net admins: { nachat $$?="Message:" } ..Send msg to current server: { notice $ $+ $server $$?="Message:" } $iif(%opered == Not Opered,$style(2)) Server Functions ..Lag ...Single Server: { lag $$?="Server:" } ...Lag between Servers (rping): { rping $$?="Server Mask:" } ...Lag between Servers (trace): { trace $$?="Server Mask:" } ..Rehash ...Standard: { rehash $?="Server (Optional):" } ...MOTD: { rehash $?="Server (Optional):" -motd } ...OPERMOTD: { rehash $?="Server (Optional):" -opermotd } ...BOTMOTD: { rehash $?="Server (Optional):" -botmotd } ...GARBAGE: { rehash $?="Server (Optional):" -garbage } ...ALL: { rehash $?="Server (Optional):" -all } ..Connect Server: { connect $$?="Server:" $$?="Port:" $?="Second Server (Optional):" } ..Disconnect Server: { squit $$?="Server:" } ..DCC Deny ...Add: { dccdeny $$?="File Mask:" $$?="Reason:" } ...Remove: { undccdeny $$?="File Mask:" $$?="Reason:" } ..Add Lines ...Add conf line: { addline $$?="Text:" } ...Add MOTD line: { addmotd : $+ $$?="Line to add:" } ...Add Oper MOTD line: { addomotd : $+ $$?="Line to add:" } ..Change Server Description: { sdesc $$?="New Description:" } ..IRCd Internal Clock ...Set: { tsctl svstime $$?="Timestamp: $crlf $+ (DO NOT CHANGE UNLESS YOU KNOW EXACTLY WHAT THIS DOES!)" } ...Offset ....Add: { tsctl offset + $$?="Time: $crlf $+ (DO NOT CHANGE UNLESS YOU KNOW EXACTLY WHAT THIS DOES!)" } ....Remove: { tsctl offset - $$?="Time: $crlf $+ (DO NOT CHANGE UNLESS YOU KNOW EXACTLY WHAT THIS DOES!)" } ...Local TS: { tsctl time } ...All TS: { tsctl alltime } ..High Traffic Mode ...On: { htm -on } ...Off: { htm -off } ...Notices ....On: { htm -noisy } ....Off: { htm -quiet } ...Traffic Level: { htm -to $$?="Value:" } ..Modules Loaded: { module } ..Restart Server: { restart $?="Server (Optional):" $$?*="Restart Password:" } ..Shutdown Server: { die $$?="Die Password:" } $iif(%opered == Not Opered,$style(2)) Server Stats ..Bad Words List: { stats b } ..Link List: { stats C } ..Deny Link Auto: { stats d } ..Deny Link All: { stats D } ..Except Socks List: { stats e } ..Except Ban List: { stats E } ..Deny DCC List: { stats F } ..Glines\Shuns: { stats G } ..Allow List: { stats I } ..Bans\Excepts: { stats K } ..Link Info: { stats L } ..Events List: { stats m } ..Command Usage: { stats M } ..Realname Bans: { stats n } ..Network Config: { stats N } ..Oper List: { stats O } ..SQLine List: { stats q } ..Nick Bans: { stats Q } ..Channel Deny\Allow: { stats r } ..SCache\NS List: { stats s } ..Dynamic Conf: { stats S } ..TLD List: { stats t } ..Connection Info: { stats T } ..Uptime\Connections: { stats u } ..Ulines List: { stats U } ..Deny Version List: { stats v } ..Vhost List: { stats V } ..Class List: { stats y } ..Memory Usage: { stats Z } $iif(%opered == Not Opered,$style(2)) Miscellaneous ..Oper MOTD: { opermotd } ..Set Own Host: { sethost $$?="New Host:" } ..Set Own Ident: { setident $$?="New Ident:" } ..Make Password: { mkpasswd $$?="Auth Type:" : $+ $$?="Password:" } .About { echo -a 10---==7 Unreal Oper Menu Addon by XeRXeS v0.1 10==--- echo -a 1- echo -a 10This is a simple mIRC addon to be used by opers on echo -a 10servers running the "Unreal IRCd". While some of echo -a 10the commands will work with other IRCd software, echo -a 10others will not. echo -a 1- echo -a 10This script was primarily developed for use on the echo -a 7Your-IRC Network 10(7irc.your-irc.net10). Details are echo -a 10available @ 7http://www.your-irc.net10. echo -a 1- echo -a 10This script may be freely distributed under the echo -a 10terms of the GNU General Public License, which can echo -a 10be found at http://www.gnu.org/copyleft/gpl.html echo -a 1- echo -a 10-=7 Copyright © 2003 XeRXeS. All Rights Reserved.10 =- } } CTCP *:VERSION:*: { .ctcpreply $nick $1 7-=10 Unreal IRCd Oper Script by XeRXeS7 =- }