mIRC Home    About    Download    Register    News    Help

Print Thread
#206153 08/11/08 03:58 PM
Joined: Oct 2008
Posts: 167
S
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
Is there a script that will update the topic e.g.
Quote:
<@user> !topic Spam
* no-nick changes topic to 'Spam'
<@user> !status is available
* no-nick changes topic to 'Spam // seanturner70 is available
<@user> !ads NEW wel-chat, Coming Soon!
*no-nick changes topic to: 'Spam // seanturner70 is available // NEW wel-chat, Coming Soon!
<@user2> !ads NEW web-chat, coming soon!
*no-nick changes topic to: 'Spam // seanturner70 is available // NEW web-chat, coming soon!
<@user> !adsx
* no-nick changes topic to: 'Spam // seanturner70 is available
<@user> !topicx
* no-nick changes topic to: 'seanturner70 is availble



Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Code:
on $*:TEXT:$(/[!](topic spam|status is available|ads NEW wel-chat, coming soon|adsx|topicx)/Si):#: {
  if ($regml(1) == topic spam) { topic $chan Spam }
  if ($regml(1) == status is available) { topic $chan Spam // seanturner70 is available }
  if ($regml(1) == ads NEW wel-chat, coming soon) { 
    topic $chan Spam // seanturner70 is available // 4NEW 1web-chat, coming soon! 
  }
  if ($regml(1) == adsx) { topic $chan Spam // seanturner70 is available }
  if ($regml(1) == topicx) { topic $chan seanturner70 is available }
}


Link Copied to Clipboard