IRCop Menu/Script

By cellist on Dec 14, 2008

Hey Guys. Now, I haven't scripted in the longest time, so this script is probably major nooooobish... but I'll give it a shot. Its an IRCop menu I made a bit back that has basic bans and such, kinda useful... [for me, at least].

Been getting into PHP a lot... and wrote a bot. Check it out @ irc.aceirc.org - #datablab. If someone wants, I MIGHT paste the source.

Anyways... here goes nothing...

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;@@@ Sam's Basic IRCop Script                @@@
;@@@ By Sam Ferry - AceIRC                   @@@
;@@@ http://www.SamFerry.com/                @@@
;@@@ Check out AceIRC at http://aceirc.org   @@@
;@@@ Also, you can connect at irc.aceirc.org @@@
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

menu nicklist {
-
Gline User (No Reason):/gline $$1 $$?="Please enter a VAILD time limit (In server ban format)"
Gline User (Custom):/gline $$1 $$?="Enter a VALID time limit for the ban" $$?="Enter your reason"
Gline User (Predefined Reasons)
.Ban Walking:/gline $$1 $$?="Please enter a VAILD time limit (In server ban format)" Ban Walking. This is prohibited.
.Botnet:/gline $$1 $$?="Please enter a VALID time limit (In server ban format)" Botnets are prohibited. NO BOTS!
.Harassing Users://gline $$1 $$?="Please enter a VALID time limit (In server ban format)" Harassing users, and/or network
staff is prohibited on $network $+ .
.Breaking the rules:/gline $$1 $$?="Please enter a VALID time limit (In server ban format)" You must abide by server rules.
.Disobeying network staff:/gline $$1 $$?="Please enter a VALID time limit (In server ban format)" Disobeying network staff.
Gline Users (14 days, Predefined Reasons)
.Ban Walking:/gline $$1 14d Ban Walking. This is prohibited.
.Botnet:/gline $$1 14d Botnets are prohibited. NO BOTS!
.Harassing Users://gline $$1 14d Harassing users, and/or network staff is prohibited on $network $+ .
.Breaking the rules:/gline $$1 14d You must abide by server rules.
.Disobeying network staff:/gline $$1 14d Disobeying network staff.
-
Zline User (No Reason):/gzline $$1 $$?="Please enter a VAILD time limit (In server ban format)"
Zline User (Custom):/gzline $$1 $$?="Enter a VALID time limit for the ban" $$?="Enter your reason"
Zline User (Predefined Reasons)
.Ban Walking:/gzline $$1 $$?="Please enter a VAILD time limit (In server ban format)" Ban Walking. This is prohibited.
.Botnet:/gzline $$1 $$?="Please enter a VALID time limit (In server ban format)" Botnets are prohibited. NO BOTS!
.Harassing Users://gzline $$1 $$?="Please enter a VALID time limit (In server ban format)" Harassing users, and/or network
staff is prohibited on $network $+ .
.Breaking the rules:/gzline $$1 $$?="Please enter a VALID time limit (In server ban format)" You must abide by server rules.
.Disobeying network staff:/gzline $$1 $$?="Please enter a VALID time limit (In server ban format)" Disobeying network staff.
Zline Users (14 days, Predefined Reasons)
.Ban Walking:/gzline $$1 14d Ban Walking. This is prohibited.
.Botnet:/gzline $$1 14d Botnets are prohibited. NO BOTS!
.Harassing Users://gzline $$1 14d Harassing users, and/or network staff is prohibited on $network $+ .
.Breaking the rules:/gzline $$1 14d You must abide by server rules.
.Disobeying network staff:/gzline $$1 14d Disobeying network staff.
-
Kline User (No Reason):/kline $$1 $$?="Please enter a VAILD time limit (In server ban format)"
Kline User (Custom):/kline $$1 $$?="Enter a VALID time limit for the ban" $$?="Enter your reason"
Kline User (Predefined Reasons)
.Ban Walking:/kline $$1 $$?="Please enter a VAILD time limit (In server ban format)" Ban Walking. This is prohibited.
.Botnet:/kline $$1 $$?="Please enter a VALID time limit (In server ban format)" Botnets are prohibited. NO BOTS!
.Harassing Users://kline $$1 $$?="Please enter a VALID time limit (In server ban format)" Harassing users, and/or network
staff is prohibited on $network $+ .
.Breaking the rules:/kline $$1 $$?="Please enter a VALID time limit (In server ban format)" You must abide by server rules.
.Disobeying network staff:/kline $$1 $$?="Please enter a VALID time limit (In server ban format)" Disobeying network staff.
Kline Users (14 days, Predefined Reasons)
.Ban Walking:/kline $$1 14d Ban Walking. This is prohibited.
.Botnet:/kline $$1 14d Botnets are prohibited. NO BOTS!
.Harassing Users://kline $$1 14d Harassing users, and/or network staff is prohibited on $network $+ .
.Breaking the rules:/kline $$1 14d You must abide by server rules.
.Disobeying network staff:/kline $$1 14d Disobeying network staff.
-
Kill User (No Reason):/Kill $$1 [ $+ $me $+ ] - No Reason
Kill User (Custom):/Kill $$1 $$?="Enter your reason"
Kill User (Predefined Reasons)
.Ban Walking:/Kill $$1 Ban Walking. This is prohibited.
.Botnet:/Kill $$1 Botnets are prohibited. NO BOTS!
.Harassing Users://Kill $$1 Harassing users, and/or network staff is prohibited on $network $+ .
.Breaking the rules:/Kill $$1 You must abide by server rules.
.Disobeying network staff:/Kill $$1 Disobeying network staff.
Kill Users (Predefined Reasons)
.Ban Walking:/Kill $$1 Ban Walking. This is prohibited.
.Botnet:/Kill $$1 Botnets are prohibited. NO BOTS!
.Harassing Users://Kill $$1 Harassing users, and/or network staff is prohibited on $network $+ .
.Breaking the rules:/Kill $$1 You must abide by server rules.
.Disobeying network staff:/Kill $$1 Disobeying network staff.
}

Comments

Sign in to comment.
Known   -  Mar 06, 2011

What IRCd would this be for? As different IRCds have different ways of going around this, such as UnrealIRCd you need the time you want to gline someone for or else the first part of your reason is cutoff.
Looks alright though.

 Respond  
PuNkTuReD   -  Mar 06, 2011

try adding an exempt for your bots hostmask.

 Respond  
rayrayray   -  Mar 06, 2011

Hey i need help if you can, i own my own server and we added spam protection in the config, but we have an issue when i use my bot script it gets glined
can you make a script for me to protect my bot from glines ? please inbox me.

 Respond  
DaDealer   -  Dec 15, 2008

havent tried them yet, But I dont gline for no reason either lol.

 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.