Jump to content
chain

Topic script

Recommended Posts

  • Administrators
Posted

This is a topic script, it is not that good so please don't complain and fix what you need to. 😛

COMMANDS:
!b
!m
!e
!a
!s

e.g.
!b Welcome to #channel
!m We are currently offline.
!e Get in queue and please do NOT P.M. ops
!a |
!s Off

--------

Welcome to #channel | We are currently offline | Get in queue and please do NOT P.M. ops | Bot status: Off

 

on *:TEXT:*:#: {
if ( $nick isop $chan && $1 == !b ) {
set %topic $2-
topic $chan %topic %divider %status %divider %end %divider %bot
}
if ( $nick isop $chan && $1 == !m ) {
set %status $2-
topic $chan %topic %divider %status %divider %end %divider %bot
}
if ( $nick isop $chan && $1 == !e ) {
set %end $2-
topic $chan %topic %divider %status %divider %end %divider %bot
}
if ( $nick isop $chan && $1 == !a ) {
set %divider $2
topic $chan %topic %divider %status %divider %end %divider %bot
}
if ( $nick isop $chan && $1 == !s ) {
set %bot Bot status: $2
topic $chan %topic %divider %status %divider %end %divider %bot
}
}

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...