Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on 1:input:#:{
- ; ChanServ commands on channel.
- ; Set your own special character for the commands like ,.;!@
- ; To set it up you just have to write @set and a popup will appear asking your special character.
- ; The special character can be changed any time.
- ; ATTENTION if you don't set the special character, the script will not work.
- ; Joker @ irc.gotham.chat
- ; This commands require ChanServ access. (you MUST to put the special character in front of the commands. ex. type: 'op Batman)
- if ($1 == @set) { set %char $$?="Enter special character." | HALT } ;use: @set character to set your own special character
- if ($1 == %char $+ op) { cs op $chan $2- } ;ex: 'op Batman
- if ($1 == %char $+ deop) { cs deop $chan $2- } ;ex: 'deop Batman
- if ($1 == %char $+ voice) { cs voice $chan $2- } ;ex: 'voice Batman
- if ($1 == %char $+ devoice) { cs devoice $chan $2- } ;ex: 'devoice Batman
- if ($1 == %char $+ halfop) { cs halfop $chan $2- } ;ex: 'halfop Batman
- if ($1 == %char $+ dehalfop) { cs dehalfop $chan $2- } ;ex: 'dehalfop Batman
- if ($1 == %char $+ protect) { cs protect $chan $2- } ;ex: 'protect Batman
- if ($1 == %char $+ deprotect) { cs deprotect $chan $2- } ;ex: 'deprotect Batman
- if ($1 == %char $+ owner) { cs owner $chan $2- } ;ex: 'owner Batman
- if ($1 == %char $+ deowner) { cs deowner $chan $2- } ;ex: 'deowner Batman
- if ($1 == %char $+ ban) { cs kickban $chan $2- } ;ex: 'ban Batman reason
- if ($1 == %char $+ unban) { cs unban $chan $2- } ;ex: 'unban Batman
- if ($1 == %char $+ kick) { cs kick $chan $2- } ;ex: 'kick Batman reason
- if ($1 == %char $+ b) { cs kickban $chan $2- | HALT } ;Silent version of 'ban
- if ($1 == %char $+ k) { cs kick $chan $2- | HALT } ;Silent version of 'kick
- ; This commands require ChanServ access. (you MUST to put the special character in front of the commands. ex: 'op Batman)
- if ($1 == %char $+ add) { cs $2 $chan add $3- } ;ex: 'add vop Batman (access levels are VOP, HOP, AOP, SOP)
- if ($1 == %char $+ del) { cs $2 $chan del $3- } ;ex: 'del vop Batman (access levels are VOP, HOP, AOP, SOP)
- if ($1 == %char $+ list) { cs $2- $chan list } ;ex: 'list vop (to see all users that have VOP access)
- if ($1 == %char $+ chacc) { cs access $chan list } ;ex: 'chacc (to see the complete access list of the channel)
- if ($1 == %char $+ access) { ns listchans } ;ex: 'access (to see your own access list)
- ; This commands don't require ChanServ access. (you DON'T have to put any special character in front of the commands. ex. type: op Batman)
- if ($1 == op) { mode $chan +o $2- } ;ex: op Batman
- if ($1 == deop) { mode $chan -o $2- } ;ex: deop Batman
- if ($1 == voice) { mode $chan +v $2- } ;ex: voice Batman
- if ($1 == devoice) { mode $chan -v $2- } ;ex: devoice Batman
- if ($1 == halfop) { mode $chan +h $2- } ;ex: halfop Batman
- if ($1 == dehalfop) { mode $chan -h $2- } ;ex: dehalfop Batman
- if ($1 == protect) { mode $chan +a $2- } ;ex: protect Batman
- if ($1 == deprotect) { mode $chan -a $2- } ;ex: deprotect Batman
- if ($1 == owner) { mode $chan +q $2- } ;ex: owner Batman
- if ($1 == deowner) { mode $chan -q $2- } ;ex: deowner Batman
- if ($1 == kick) { kick $chan $2- } ;ex: kick Batman reason
- if ($1 == ban) { ban $chan $2- | kick $chan $2- } ;ex: ban Batman reason
- if ($1 == invite) { invite $2- $chan } ;ex: invite Batman
- if ($1 == pm) { query $2- } ;ex. type: pm Batman
- if ($1 == slap) { me slaps the shit out of $2-, capisci? } ;ex. type: slap Batman
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement