• Home
  • Servers
  • Chat
  • Channels
  • Commands
  • Forum
  • FAQ
  • Software
  • Quotes
Topic Options
Rate This Topic
#3603 - 11/27/08 08:53 PM Topic Script!!!
bradjoe96 Offline
newbie

Registered: 11/27/08
Posts: 36
Loc: United States
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:

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.

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#3814 - 12/28/08 05:04 PM Re: Topic Script!!! [Re: bradjoe96]
Dark_Aaron Offline
n00b

Registered: 12/28/08
Posts: 6
Loc: Tennessee US
wow a big mess
_________________________
Don't mess with the Best.

Top


Moderator:  Jeff, mandy, usrbingeek