Skip to content

[MIRC] topic changer script

Featured Replies

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

wts is this? Give us an explanation and not just a raw code with 4 words

Read section rules, or your thread will be junked.

  • Author

MIRC shares-codes allowed?

Im talking about proper thread titles!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.