Jump to content

Recommended Posts

Posted

topic changer

instead of /cs topic #channel topic , this code does this

!topic yourtopic

if you are not an Oper you can't use this command

[msg $chan Sorry, you don't have operator status. ]

on *:text:*:#: {
 tokenize32 $strip($1-)
 if (!%floodcontrol) {
   inc -u4 %floodcontrol
   if ($me isop $chan) {
     if ($nick isop $chan) {
       if ($1 == !topic) {
         if ($2 == $null) {
           msg $chan $nick $+ , the correct synax is: !topic YourTopicHere
         }
         else {
           topic $chan $2- 
         }
       }
     }
     else { 
       msg $chan Sorry, you don't have operator status. 
     }
   }
   else { 
     msg $chan I don't have an OP status! 
   }
 }
}

 

need mirc scripting or just scripting board

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..