Cannel Manager V2

By Sebastianjbrown on Apr 18, 2010

This Code was originally created by "bllybob" http://www.hawkee.com/snippet/1793/

Easy control your channel.

Placement is in the Remote

To use Say !BotAdmin in the channel with the nick you would like to have as the user of the code. Warning: All ops can use this command!!

.:Commands:.

!op
!v
!hop
!deop
!dehop
!dev
!aop
!ahop
!av
!deaop
!deahop
!deav
!Botadmin

on Botadmin:TEXT:!op *:#:{ /cs op $chan $2 } 

on Botadmin:TEXT:!v *:#:{ /cs voice $chan $2 } 

on Botadmin:TEXT:!hop *:#:{ /cs halfop $chan $2 } 

on Botadmin:TEXT:!deop *:#:{ /cs deop $chan $2 } 

on Botadmin:TEXT:!dehop *:#:{ /cs dehalfop $chan $2 } 

on Botadmin:TEXT:!dev *:#:{ /cs devoice $chan $2 } 

on Botadmin:TEXT:!aop *:#:{ /cs aop $chan add $2 } 

on Botadmin:TEXT:!ahop *:#: { /cs hop $chan add $2 } 

on Botadmin:TEXT:!av *:#: { /cs vop $chan add $2 } 

on Botadmin:TEXT:!deaop *:#: { /cs aop $chan del $2 } 

on Botadmin:TEXT:!deahop *:#: { /cs hop $chan del $2 } 

on Botadmin:TEXT:!deav *:#: { /cs vop $chan del $2 } 

On *:TEXT:!BotAdmin:#: if ($nick isop $chan) { /guser Botadmin $nick }

Comments

Sign in to comment.
Bielie   -  Apr 22, 2010

well, isnt it better to let them use the chanserv? Its a lot easier for newbies though.

 Respond  
gooshie   -  Apr 21, 2010

Bielie
Read previous post... he wrote this script for newbies...
That's why the title is "Cannel Manager V2"
so newbies will be able to find it..

 Respond  
Bielie   -  Apr 21, 2010

Hmmm. Thats true. In that case i take my words back :D

I dont see why you would use a network without botserv.

 Respond  
Jethro   -  Apr 21, 2010

Bielie, not all networks support BotServ.

 Respond  
Bielie   -  Apr 21, 2010

I dont see why people spend time on making this....

/bs assign #channel (Botname)

does it all.. ( recommend X or milk )

 Respond  
Jethro   -  Apr 19, 2010

I know, but once a newbie, a person doesn't have to stay being a newbie, right? lol When the time is right, we need to march forward to learn something new and then some. And if we get stuck in the middle of learning, we can always ask those who know that we don't. :-) At the end of the day, that's how we gain improvement and experience in a subject that we were new and unfamiliar with.

 Respond  
gooshie   -  Apr 19, 2010

Jethro,
He would do that but he wrote this script for newbies...

 Respond  
Jethro   -  Apr 19, 2010

Edgy, using the isop operator is not as strict as using the user list. Isop applies to all the ops. Now by using the user list feature, you can individualize each user with a level for their own access.

Sebastianjbrown, I will suggest that you change $nick to $wildsite

$nick can easily be cloned and impersonated.

You can do this two ways:

/guser -a Botadmin $nick 2

OR

/auser -a Botadmin $wildsite

They're the same thing. The -a switch is recommended so you don't add the same mask repeatedly.

Notice there is slight difference between /auser and /guser command.

 Respond  
Sebastianjbrown   -  Apr 19, 2010

yes tht would but i wanted it to show newbies how to use the users tab

 Respond  
edgy   -  Apr 19, 2010

Cool, maybe if ($nick isop $chan) would be better than using botadmin from the local lists.

 Respond  
StonaJakey   -  Apr 19, 2010

holy sh!t i know you in real life lol

 Respond  
Sebastianjbrown   -  Apr 18, 2010

well yes but my way makes it easier for newbies to edit the code to fit them

 Respond  
gooshie   -  Apr 18, 2010
on $Botadmin:TEXT:/^!(op|voice|halfop|deop|dehalfop|devoice) .+/iS:#: { cs $regml(1) # $2 }
on $Botadmin:TEXT:/^!de(aop|hop|vop) .+/i:#: { cs $regml(1) # $iif($1 iswm !de*,del,add) $2 }
_________________________________________________________________________________________________
 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.