Top

Topic Protector v 1.0


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  4.6
Scores Submitted  5
Date Added  Jan 23, 2007
Last Updated  Jan 23, 2007
Tags  8  channels  in  protects  topics 
  Bookmark and Share

Introduction

Once you have it in your remotes section, simply right click in an open channel and choose Topic Protector. Then Add the topic for the corresponding channel that has been added. Saves up to 8 channel topics. Other scripts seem to protect individual channels. Do not use where there are current topic protctions (for example if topic is protected by Q). If a person attempts to change the topic, the script will revert the topic and message the channel that the topic is protected.

Grab the Code

Comments

  (6)  RSS
DarthReven
Comments: 468
 
mIRC Snippet:  Topic Protector v 1.0
Posted on Jan 24, 2007 12:18 am
The overal execution is good but we could make it some what better for instance instead of using variables we could use an INI file or a Hash Table to store the topics and make it so it could store more then 8
Aaron
Comments: 104
 
mIRC Snippet:  Topic Protector v 1.0
Posted on Jan 24, 2007 12:51 am
its pretty nice to have if you have annoying people oped in channel :)
|MELIORITE|
Comments: 144
 
mIRC Snippet:  Topic Protector v 1.0
Posted on Jan 24, 2007 4:03 am
I like the ini/ hash table idea! Hmmm... next project :)

...and yes... developed to stop annoying ops playing about rather than deop or bans... :D
Lindrian
Comments: 748
 
mIRC Snippet:  Topic Protector v 1.0
Posted on Jan 24, 2007 8:26 am
not bad, although, the server im on supports a topic lock through the services ;) so ill use that one for now :P
sith_
Comments: 10
 
mIRC Snippet:  Topic Protector v 1.0
Posted on Mar 6, 2008 7:59 pm
* /dialog: \'topic_pro\' name in use (line 75, script1.txt)
mountaindew
Comments: 1,548
 
mIRC Snippet:  Topic Protector v 1.0
Posted on Mar 6, 2008 8:07 pm
^^
Code:

alias tp {
  dialog -dm topic_pro topic_pro
}

should be
Code:

alias tp {
  dialog $iif($dialog(topic_pro),-v,-dm) topic_pro topic_pro
}

Please Register or Login to start posting comments.
Bottom