i need an on-part script that will work for a specified channel and network (if $network == bmxnet), if a person without op\voice parts the channel, the bot will notice him, ban his host and change the topic to +1 on the third word (ex: 'flybye is 3' -> 'flybye is 4').
Why would the script need to know which network your bot is on? Are you moving the bot around alot? What if there's no topic? What if the third word is not an integer?
so never mind the network... i'll just be careful with the servers.
can there be a validity check for the topic.. (if there is one and if the third word is a number?)
if not, just assume there is a topic and the third word is an integer