Simple bot script, nothing big nothing beautiful, simply written, just looking for comments/suggestions and other things, hopefully it will come in handy for someone else as it has for me,
(Not a great scripter, probably obvious from the look if it.)
on 5:text:*:*: {
if ($1 == !kick*) kick $chan $2-
if ($1 == !up*) mode $chan +qaohv $2 $2 $2 $2 $2
if ($1 == !down*) mode $chan -qaohv $2 $2 $2 $2 $2
if ($1 == !set*) mode $chan $2-
if ($1 == !say*) msg $chan $2-
if ($1 == !join*) join $2
if ($1 == !part*) part $2
if ($1 == !partall) partall
if ($1 == !cs) msg chanserv $2-
if ($1 == !ns) msg nickserv $2-
if ($1 == !msg) msg $2-
if ($1 == !notice) notice $2-
if ($1 == !register*) msg chanserv register $chan $2 None
if ($1 == !nick*) nick $2-
if ($1 == !act*) describe $chan $2-
if ($1 == !hop) hop $chan
if ($1 == !access*) msg chanserv access $chan add $2-
if ($1 == !accessdel*) msg chanserv access $chan del $2-
if ($1 == !query*) query $2-
}
nice little one for your first posting here. i noticed you have used an access level of 5 there for the user.. you might have a couple problems there as chanserv has a range of default chanserv settings. i will list them below for you.
�User access levels
�
�By default, the following access levels are defined:
�
� Founder Full access to ChanServ functions; automatic
� opping upon entering channel. Note
� that only one person may have founder
� status (it cannot be given using the
� ACCESS command).
� 10 Access to AKICK command; automatic opping.
� 5 Automatic opping.
� 3 Automatic voicing.
� 0 No special privileges; can be opped by other
� ops (unless secure-ops is set).
� <0 May not be opped.
�
�These levels may be changed, or new ones added, using the
�LEVELS command; type /ChanServ HELP LEVELS for
�information.
level 5 like what you have used is equal to AOP, level 10 is SOP