Hey, guys! This is my first post ever on the forums, so I decided to show you a little code. Have you ever used Fozzie or KatieBot or any other bot with that script thing? You know the
!static and !ttopic? Well, if you already have a bot in your chatroom that you use, and you have a botserv bot, that can make your channel rather crouded with bots. How about adding this topic feature to one of your bots?!!?! Here's the code:
on 1:text:!ttopic *:#:/if ( $nick isop $chan || $nick isop $chan ) { /set %topic $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!status *:#:/if ( $nick isop $chan || $nick isop $chan ) { /set %status $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!static *:#:/if ( $nick isop $chan || $nick isop $chan ) { /set %static $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!divider *:#:/if ($nick isop $chan || $nick isop $chan ) { /set %divider $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!tsync:#:/if ($nick isop $chan || $nick ishop $chan ) { /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!tclear:#:/if ($nick isop $chan || $nick ishop $chan ) { /unset %topic | /unset %status | /unset %static | /unset %divider | /unset %tadd | /unset %user | /unset %verb | /topic $chan Topic has been cleared }
on 1:text:!tadd*:#:/if ($nick isop $chan || $nick ishop $chan ) { /set %tadd $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!tedit*:#:/if ($nick isop $chan || $nick ishop $chan ) { /set %tadd $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!tdel:#:/if ($nick isop $chan || $nick ishop $chan ) { /unset %tadd | /topic $Chan %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!towner*:#:/if ($nick isop $chan || $nick ishop $chan ) { /set %user $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static | /msg $chan Owner set to $nick }
on 1:text:!verb*:#:/if ($nick isop $chan || $nick ishop $chan ) { /set %verb $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!sadd*:#:/if ($nick isop $chan || $nick ishop $chan ) { /set %sadd $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!sedit*:#:/if ($nick isop $chan || $nick ishop $chan ) { /set %sadd $2- | /topic $Chan %tadd %topic %divider %sadd %user %verb %status %divider %static }
on 1:text:!sdel:#:/if ($nick isop $chan || $nick ishop $chan ) { /unset %sadd | /topic $Chan %tadd %topic %divider %user %verb %status %divider %static }
If you're not sure how to use it, feel free to stop by #bradjoe96 and ask me. Remember to specify which channel(s) you want this topic script to be asctive in, or just leave it blank for all channels.