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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock