simple Chanserv commands

By Snip3KitTy on Feb 18, 2010

this is just simply to go into the popups section of your script editor

please don't moan how its so easy to make and all the flaws as i only done it spur of the moment to make life easier for some people.

this is also my first snippet so be nice :)

Updated:

added chanserv bans to the list. to delete with a reason make sure you enter the reason that you banned them for in the first place.

_-'-_ chanserv commands by Snip3KitTy _-'-_

menu,nicklist {

.voice/devoice
..voice:/msg chanserv voice $chan $$1
..devoice:/msg chanserv devoice $chan $$1
.op/deop
..op:/msg chanserv op $chan $$1
..deop:/msg chanserv deop $chan $$1
.halfop/dehalfop
..halfop:/msg chanserv halfop $chan $$1
..dehalfop:/msg chanserv dehalfop $chan $$1
.chan kick
..kick:/msg chanserv kick $chan $$1
..kick/reason:/msg chanserv kick $chan $$1 $?="Reason"
.room owners
..protect:/msg chanserv protect $chan $$1
..deprotect:/msg chanserv deprotect $chan $$1
.chanserv bans
..ban no reason:/msg chanserv akick $chan add $$1 Banned
..ban/reason:/msg chanserv akick $chan add $$1 $?="reason:"
..remove no reason:/msg chanserv akick $chan del $?="Room and Nick" banned
..remove/reason:/msg chanserv akick #test1 del $?="Nick:" $?="Reason banned:"
}

Edited as of 2nd march 2010 01:32am GMT

Comments

Sign in to comment.
napa182   -  Feb 19, 2010

well you can always make ur own shortcuts to anope commands ;x

 Respond  
blackvenomm666   -  Feb 18, 2010

i dont think its bad for a first script def better than when i first started. my first script was an on join script useless in irc because it has that built in but hey all gotta start somewhere

 Respond  
Snip3KitTy   -  Feb 18, 2010

also on the server i am on, it doesn't have the shortcuts to use the cs command so the /msg chanserv is what i must stick by but thank you for informing me of the possibility's :-)

 Respond  
Snip3KitTy   -  Feb 18, 2010

i use this to show the echo so that i know that it has been written out correctly of course people can change the code as they wish, this was just written for my knowledge of its working fine. as i say its my first so with time i shall become better and thanks for the advice :-)

 Respond  
napa182   -  Feb 18, 2010

As Jethro_ said you can use cs unless the server don't have the anope shortcuts then you are stuck using msg chanserv , but i would use a " . " ie: .cs to silence the command send unless you like the echo in ur status window.

 Respond  
Jethro   -  Feb 18, 2010

I believe you can replace > /msg chanserv with

/cs

As a matter of fact, using the command char (/) is unnecessary.

 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.