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 }
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.
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.