Paste into your BOT's remotes. This is a Admin system. So it needs to have Admin stats.
;-----------------
;----Relek Bot----
;-----------------
;##########
;##Events##
;##########
on *:JOIN:*: {
if ($nick = $me) {
msg $chan 14,1I am 3,1x14,1Bot 9,1v2.0 0,1Beta 1 4,1(7,1-4,1(3,1R14,1elek 3,1E14,1dition4,1)7,1-4,1)
halt
}
else { halt }
}
;----------------
;--Staff Online--
;----------------
on ^*:snotice:*and server admin*: {
amsg 4,1(7,1-4,1(4,1S7,1erver 9,1A15,1dmin0,1 $4 4,1H7,1as 4,1L7,1ogged 9,1On.4,1)7,1-4,1)
HALT
}
on ^*:snotice:*IRC Operator(o)*: {
amsg 4,1(7,1-4,1(4,1S7,1erver 9,1O15,1perator0,1 $4 4,1H7,1as 4,1L7,1ogged 9,1On.4,1)7,1-4,1)
HALT
}
;---------
;--Owner--
;---------
on *:TEXT:!Owner:*: {
if (xxx.xxx.xxx !isin $address($nick,4)) {
if ($address($nick,4) = $address($me,4)) { SetOwner $nick $chan }
elseif ($level($address($nick,4)) = Owner) { SetOwner $nick $chan }
}
elseif (xxx.xxx.xxx isin $address($nick,4)) {
if ($level($nick) = Owner) { SetOwner $nick $chan }
}
}
on 100:TEXT:!AddOwner *:*: {
if ($level($2) != 100) { SetOwner $2 $chan }
else { msg $chan $2 Already Has Status. | halt }
}
;-----------------------
;--Admin/Oper Commands--
;-----------------------
on 60:TEXT:!Global *:*: {
globops 4,1(7,1-4,1(14,1Global From0,1 $nick $+ 4,1)7,1-4,1)14,1 $2-
halt
}
on +60:TEXT:!Login:*: {
setoper $nick +oper
}
on +60:TEXT:!Logout:*: {
setoper $nick -oper
}
on 90:TEXT:!Login:*: {
setoper $nick +admin
}
on 90:TEXT:!Logout:*: {
setoper $nick -admin
}
on 90:TEXT:!Kline *:*: {
if ($address($2,4) = $address($me,4) {
msg $chan Unauthorized K-Line
kill $nick You Attempted to K-Line a Staff Member.
}
else { kline $address($2,4) | halt }
}
on 60:TEXT:!Security *:*: {
if ($2 = On) {
if ($group(#Security) = off) {
enable #Security
msg $chan Security Enabled
if ($chan != #]-[ellPound) { msg #]-[ellPound Security Enabled. }
halt
}
if ($group(#Security) = On) { msg $chan Security Already Enabled. | halt }
}
elseif ($2 = off) {
if ($group(#Security) = on) {
disable #Security
msg $chan Security Disabled.
if ($chan != #]-[ellPound) { msg #]-[ellPound Security Disabled. }
halt
}
elseif ($group(#Security) = off) { msg $chan Security Already Disabled. | halt }
}
}
;-----------------
;--User Commands--
;-----------------
;-------
;-Users-
;-------
on 5:TEXT:!Voice:*: {
if ($nick isvoice $chan) { msg $chan You Already have Voice. | halt }
elseif ($nick !isvoice $chan) { mode $chan +v $nick | halt }
}
on 5:TEXT:!Devoice:*: {
if ($nick isvoice $chan) { mode $chan -v $nick | halt }
elseif ($nick !isvoice $chan) { msg $chan $nick $+ , You've no voice to take. ;D | halt }
}
;------
;-Mods-
;------
on 10:TEXT:!Op *:*: {
if ($2 != $null) {
if ($2 isop $chan) { msg $chan $2 Is Already Opped. | halt }
elseif ($2 ison $chan) && ($nick !isop $chan) { mode $chan +o $2 | halt }
elseif ($2 !ison $chan) { msg $chan $2 Is Not On The Channel. | halt }
}
elseif ($2 = $null) {
if ($nick isop $chan) { msg $chan You Are Already Opped. | halt }
elseif ($nick !isop $chan) { mode $chan +o $nick | halt }
}
}
on 10:TEXT:!Deop *:*: {
if ($2 != $null) {
if ($2 isop $chan) { mode $chan -o $2 | halt }
elseif ($2 !isop $chan) && ($2 ison $chan) { msg $chan $2 has no Op to take. | halt }
elseif ($2 !ison $chan) { msg $chan $2 Is Not On The Channel | halt }
}
elseif ($2 = $null) {
if ($nick isop $chan) { mode $chan -o $nick | halt }
elseif ($nick !isop $chan) { msg $chan $nick $+ , You've no Op to take. ;D | halt }
}
}
on 10:TEXT:!Voice *:*: {
if ($2 != $null) {
if ($2 isvoice $chan) { msg $chan $2 Is Already Voiced. | halt }
elseif ($2 ison $chan) && ($nick !isvoice $chan) { mode $chan +v $2 | halt }
elseif ($2 !ison $chan) { msg $chan $2 Is Not On The Channel. | halt }
}
elseif ($2 = $null) {
if ($nick isvoice $chan) { msg $chan You Are Already Voiced. | halt }
elseif ($nick !isvoice $chan) { mode $chan +v $nick | halt }
}
}
on 10:TEXT:!devoice *:*: {
if ($2 != $null) {
if ($2 isvoice $chan) { mode $chan -v $2 | halt }
elseif ($2 !isvoice $chan) && ($2 ison $chan) { msg $chan $2 has no Voice to take. | halt }
elseif ($2 !ison $chan) { msg $chan $2 Is Not On The Channel | halt }
}
elseif ($2 = $null) {
if ($nick isvoice $chan) { mode $chan -v $nick | halt }
elseif ($nick !isvoice $chan) { msg $chan $nick $+ , You've no Voice to take. ;D | halt }
}
}
on 10:TEXT:!AddUser *:*: {
if ($level($2) = $null) {
auser 5 $2
msg $chan Added $2 as a User.
halt
}
elseif ($level($2) = 5) { msg $chan $2 Is already a User. | halt }
elseif ($level($2) = 10) { msg $chan $2 is already a Mod. | halt }
elseif ($level($2) = 60) { msg $chan $2 is already a Operator. | halt }
elseif ($level($2) = 80) { msg $chan $2 is already a Admin. | halt }
elseif ($level($2) = 100) { msg $chan $2 is already a Owner. | halt }
}
;-------------
;-Owner Alias-
;-------------
alias SetOwner {
auser 100 $1
msg $2 Added $1 As A Owner.
}
;----------------
;--Security Sys--
;----------------
#Security off
on ^1:snotice:*PONG*:{ HALT }
on ^1:snotice:*added akill*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1AKILL ADDED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*removed akill*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1AKILL REMOVED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*k*line*added*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1KLINE ADDED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*removed*k*line*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1KLINE REMOVED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*user ban for*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1KLINE ADDED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*removed temporary user ban*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1KLINE REMOVED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Z*Line added*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1ZLINE ADDED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*removed*z*line*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1ZLINE REMOVED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*G*Line added for*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1G:LINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Permanent G*Line added for*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1PERM G:LINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Expiring G*Line*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1EXPIRED G:LINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*removed G*Line*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1REMOVED G:LINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*HelpOp*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1HELPOP IN USE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*operoverride*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(11,1OPER OVERRIDE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*changed his/her nickname*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1NICK CHANGE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*clonesx*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1CLONES FOUND4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*AdminChat*:{
notice gh0st 4,1(7,1-4,1(11,1ADMIN CHAT4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Global -- from NickServ*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1NICKSERV4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Notice -- OperWalk*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1OPERWALK4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Global -- from Floodworld*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1FLOODWORLD4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*used SAJOIN*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1SAJOIN4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*used SAPART*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1SAPART4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Shun added for*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1SHUN ADDED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*removed Shun*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1SHUN REMOVED4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*ChatOps -- from*:{
notice gh0st 4,1(7,1-4,1(9,1CHATOP4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Opening config*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1REHASHING CONFIG4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*network administrator*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1NETADMIN ONLINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*server admin*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1SERVERADMIN ONLINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*co administrator*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1COADMIN ONLINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*services administrator*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1CSOP ONLINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*an operator*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1IRCOP ONLINE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*from services*PANIC!*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1PANIC4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Received KILL message*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1KILL4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*from services*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1SERVICES4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*Banwalk*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1BANWALK4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*total invisibility*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(11,1TOTAL INVISIBILITY MODE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*changed the virtual hostname*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1CHGHOST4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*changed the virtual ident*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1CHGIDENT4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*failed oper attempt by*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1FAILED OPER4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*did a /whois*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1WHOIS4,1)7,1-4,1)4,1 $1-
notice gh0st 12[8ALERT12] $1-
HALT
}
on ^1:snotice:*Throttled connections*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1THROTTLE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*has synched to network data*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1RELINKED4,1)7,1-4,1)4,1 $1-
notice gh0st 12[9RELINKED12] $1-
msg #]-[ellPound 12[9RELINKED12] $1-
HALT
}
on ^1:snotice:*No response from*:{
if (%DontShowMeDrops = Off) {
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1SERVER DROP4,1)7,1-4,1)4,1 $9 $1-
notice gh0st 12[8WARNING SERVER DROP DETECTED12] $9 $1-
HALT
}
if (%DontShowMeDrops = On) { halt }
}
on ^1:snotice:*Global -- from NickServ*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1NICKSERV4,1)7,1-4,1)4,1 $1-
HALT
}
on *:snotice:*Client connecting*:{
if (b0t isin $1-) || (bot isin $1-) {
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1>>>4,1)7,1-4,1)4,1[4,1BOT CONNECTING4,1)7,1-4,1)4,114,1 $1-
notice gh0st 4,1(7,1-4,1(9,1>>>4,1)7,1-4,1)4,1[8,1BOT CONNECTING4,1)7,1-4,1)4,114,1 $1-
HALT
}
else {
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1>>>4,1)7,1-4,1)4,114,1 $1-
HALT
}
}
on *:snotice:*Client exiting*:{
if (b0t isin $1-) || (bot isin $1-) {
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1<<<4,1)7,1-4,1)4,1[8,1BOT EXITING4,1)7,1-4,1)4,114,1 $1-
HALT
}
else {
msg #]-[ellPound $timestamp 4,1(7,1-4,1(4,1<<<4,1)7,1-4,1)4,114,1 $1-
HALT
}
}
on ^1:snotice:*vhost*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1VHOST4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*LocOps*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1LOCOPS4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*used SAMODE*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(9,1SAMODE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*OperTopic*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1OPERTOPIC4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*OperMode*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1OPERMODE4,1)7,1-4,1)4,1 $1-
HALT
}
on ^1:snotice:*OperKick*:{
msg #]-[ellPound $timestamp 4,1(7,1-4,1(8,1OPERKICK4,1)7,1-4,1)4,1 $1-
HALT
}
#Security end