In this script i use mostly regular commands with a dot commands , you can easily edit as per your usage & facility i never add commands.txt in this script so you can make it too, and echo your list or type the list for remember the shortcut keys.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Complete Channel Control On Short Keys
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on 1:load:{
echo -a Sucessfully Load Complete Channel Control On Short Keys
echo -a Script Coded For chat.dodear.com:6666
echo -a Author: Fahad
echo -a Report Your Bugs/Comments/Suggestion Mail Me At ( 12itsmefahad@gmail.com )
}
ON *:INPUT:#:{
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Op / Deop Function
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if ($1 == `o) { msg chanserv@services.dodear.com op $chan $2- } halt
if ($1 == `d) { msg chanserv@services.dodear.com deop $chan $2- } halt
if ($1 == .cclist) { //window @Channel | loadbuf @Channel commands.txt } halt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Channel Modes Control System
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if ($1 == `v) { mode $chan -k+v Voice $2- } halt ( Voice Mode To Any Person )
if ($1 == `dv) { mode $chan -v $2- } halt ( Devoice Mode )
if ($1 == .m) { mode $chan $2 +m-k ChannelModerated } halt ( Channel Moderated )
if ($1 == .-m) { mode $chan $2 -m } halt ( Channel Un Moderated )
if ($1 == .R) { mode $chan $2 +R-k ChannelLock } halt ( Only Registered Users Join Channel)
if ($1 == -R) { mode $chan $2 -R } halt
if ($1 == .i) { mode $chan $2 +i-k InviteOnly | me Channel Invite Only } halt ( Invite Only )
if ($1 == .-i) { mode $chan $2 -i } halt
if ($1 == .s) { mode $chan $2 +s } halt ( Secret Mode If Use This Mode In Chan, Chan Not Show In List/Whois)
if ($1 == -s) { mode $chan $2 -s } halt
if ($1 == .p) { mode $chan $2 +p } halt ( Work Same As Secret Mode )
if ($1 == -p) { mode $chan $2 -p } halt
if ($1 == .mi) { mode $chan $2 +mi-k Moderated-And-Invite-Only } halt ( Moderated Plus Invite Mode )
if ($1 == -mi) { mode $chan $2 -mi } halt
if ($1 == .im) { mode $chan $2 +im } halt ( Invite Plus Moderated Mode )
if ($1 == -im) { mode $chan $2 -im } halt
if ($1 == .mR) { mode $chan $2 +mR } halt ( Moderated Plus Only Registered User Join Chan )
if ($1 == -mR) { mode $chan $2 -mR } halt
if ($1 == .Rm) { mode $chan $2 +Rm } halt ( Moderated Plus Only Registered User Join Chan )
if ($1 == -Rm) { mode $chan $2 -Rm } halt
if ($1 == .Ri) { mode $chan $2 +Ri-k ChannelLocked } halt ( Registered Plus Invite Only )
if ($1 == -Ri) { mode $chan $2 -Ri } halt
if ($1 == .Rim) { mode $chan $2 +Rim } halt ( Registered , Invite Only And Moderated )
if ($1 == -Rim) { mode $chan $2 -Rim } halt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Temp Voice/Devoice Op/Deop Mode
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if ($1 == `v) { mode $chan +v $2- } halt ( Voice Mode To Any Person )
if ($1 == `dv) { mode $chan -v $2- } halt ( Devoice Mode )
if ($1 == `ot) { mode $chan +o $2- } halt ( Op Mode To Any Person )
if ($1 == `od) { mode $chan -o $2- } halt ( Deop Mode To Any Person )
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Manual Kicks With Reason
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if ($1 == `k) { /kick $chan $2- %logo } halt
if ($1 == .fk) { /kick $chan $2- 10You Need To Get Some Lessons !! %logo } halt
if ($1 == .classk) { /kick # $$2 This Is Not Classifieds %logo } halt
if ($1 == .matchk) { /kick # $$2 Sorry We Dont Provide Match Making Service %logo } halt
if ($1 == .badk) { /kick # $$2 People Like You Dont Deserve To Be On Nice Channels %logo } halt
if ($1 == .spamk) { /kick # $$2 Spammer's Be Goner's %logo } halt
if ($1 == .capsk) { /kick # $$2 [Caps] Using excessive letters in upper case is considered shouting stop now. %logo } halt
if ($1 == .slapk) { /kick # $$2 [Slap] Please mind your manners and don't slap people in this channel by using stupid popus! %logo } halt
if ($1 == .sweark) { /kick # $$2 [Swear] You have said an unacceptable word in your message. You need to work on your social skills. %logo } halt
if ($1 == .jpk) { /kick # $$2 [Join Part Flood] Join part flood detected. Please don't try such foolish stunts here! %logo } halt
if ($1 == .langk) { /kick # $$2 Please Speak in English, Urdu , We Are Not Against Other Languages But Its Just That We Cant Understand Them %logo } halt
if ($1 == .ivk) { /kick # $$2 You Are Infected With A Virus, Please Type /remote off %logo } halt
if ($1 == .bnk) { /kick # $$2 [Bad Nick] Your nick contains offensive or unacceptable words change it by using this command --> /nick NewNick Please Part It And Join $active %logo } halt
if ($1 == .hotk) { /kick # $$2 Feeling Hot? Come Back after Taking a Bath :) (/nick <nice_nick>) %logo } halt
if ($1 == .repk) { /kick # $$2 [Repeat] Don't Repeat Yourself As You Were heard The First Time. %logo } halt
if ($1 == .familyk) { /kick # $$2 Dont Involve Families in your Stupid Quarrels Or Jokes %logo } halt
if ($1 == .fck) { /kick # $$2 This kind of talk is not allowed in a good Family Channel Like $active %logo } halt
if ($1 == .bck) { /kick # $$2 You are Present in a Blacklisted Channel, Please part it and Join $active ! %logo } halt
if ($1 == .ptclk) { /kick # $$2 Banned on Pakistan Telecom Authority Request, Unauthorized use Of Telephone Service. %logo } halt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Manual Ban + Kicks With Reason
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if ($1 == .kb) { /ban # $$2 | /kick $chan $2- %logo } halt
if ($1 == .fb) { /ban # $$2 | /kick $chan $2- 10You Need To Get Some Lessons !! %logo } halt
if ($1 == .ptclb) { /ban # $$2 | /kick # $$2 Banned on Pakistan Telecom Authority Request, Unauthorized use Of Telephone Service. %logo } halt
if ($1 == .classb) { /ban # $$2 | /kick # $$2 This Is Not Classifieds %logo } halt
if ($1 == .matchb) { /ban # $$2 | /kick # $$2 Sorry We Dont Provide Match Making Service %logo } halt
if ($1 == .badb) { /ban # $$2 | /kick # $$2 People Like You Dont Deserve To Be On Nice Channels %logo } halt
if ($1 == .spamb) { /ban # $$2 | /kick # $$2 2Mass Advertising/Spamming/Inviting Not Allowed On This Network Join 4#NoHack %logo } halt
if ($1 == .capsb) { /ban # $$2 | /kick # $$2 [Caps] Using excessive letters in upper case is considered shouting stop now. %logo } halt
if ($1 == .slapb) { /ban # $$2 | /kick # $$2 [Slap] Please mind your manners and don't slap people in this channel by using stupid popus! %logo } halt
if ($1 == .swearb) { /ban # $$2 | /kick # $$2 [Swear] You have said an unacceptable word in your message. You need to work on your social skills. %logo } halt
if ($1 == .jpb) { /ban # $$2 | /kick # $$2 [Join Part Flood] Join part flood detected. Please don't try such foolish stunts here! %logo } halt
if ($1 == .langb) { /ban # $$2 | /kick # $$2 Please Speak in English, Urdu OR Punjabi, We Are Not Against Other Languages But Its Just That We Cant Understand Them %logo } halt
if ($1 == .ivb) { /ban # $$2 | /kick # $$2 You Are Infected With A Virus, Please Type /remote off %logo } halt
if ($1 == .bnb) { /ban # $$2 | /kick # $$2 [Bad Nick] Your nick contains offensive or unacceptable words change it by using this command --> /nick NewNick Please Part It And Join $active %logo } halt
if ($1 == .hotb) { /ban # $$2 | /kick # $$2 Feeling Hot? Come Back after Taking a Bath :) (/nick <nice_nick>) %logo } halt
if ($1 == .repb) { /ban # $$2 | /kick # $$2 [Repeat] Don't Repeat Yourself As You Were heard The First Time. %logo } halt
if ($1 == .familyb) { /ban # $$2 | /kick # $$2 Dont Involve Families in your Stupid Quarrels Or Jokes %logo } halt
if ($1 == .fcb) { /ban # $$2 | /kick # $$2 This kind of talk is not allowed in a good Family Channel Like $active %logo } halt
if ($1 == .bcb) { /ban # $$2 | /kick # $$2 You are Present in a Blacklisted Channel, Please part it and Join $active ! %logo } halt
}
look you need to know, that its not needed it
if ($1 == `o) { msg chanserv@services.dodear.com op $chan $2- } halt
if ($1 == `d) { msg chanserv@services.dodear.com deop $chan $2- } halt
you probably use it on ur server but, in other server using Anope, you can use
cs op # $2
this
if ($1 == .p) { mode $chan $2 +p } halt ( Work Same As Secret Mode )
you need to know that the mode +p its not the same as mode +s,
on Unreal
the +s mode, hides channel from /list and /whois
the +p mode hides channel from /list only
about this
/ban # $$2 | /kick # $$2
you can use this
ban -k # $2 2 $3-
where 2 its the type of ban and $3- its the reason