Topic Lock

Platform:  mIRC
Published  Oct 05, 2004
Updated  Sep 04, 2008
Just a simple Topic lock. Enable it in the channel you wish to use it in.
I realise it has no real purpose but it might come in handy for Aop/Hops. Do NOT use this in a channel with Tlock set already. menu channel {
-
Topic Lock
.On:/set %chantopic $$?="Enter topic here" | Enable #topiclock | set %tlchan $active
.Off:/Disable #topiclock | unset %tlchan | unset %chantopic
}
#topiclock on
on !*:topic:*:{ if ($chan == %tlchan) {
topic %tlchan %chantopic
}
}
#topiclock end

Comments

Sign in to comment.
napa182   -  Feb 24, 2010
@MagicRevealer09 not every server uses anope services.
 Respond  
MagicRevealer09   -  Feb 24, 2010
ROFL! Or just do /cs set #YourChannel topiclock on
 Respond  
Eugenio   -  Jul 08, 2008
all of you here are being harsh, and rating 2 is abit out of order, it does the job = 4
 Respond  
xFireWallx   -  Jul 08, 2008
Simple and good ;-)
 Respond  
xtr   -  Oct 08, 2004
* ups * :>
 Respond  
xtr   -  Oct 08, 2004
on 100:TEXT:$(%trigger $+ topic*):*: { if (!$2) { timer 1 1 msg $nick !help to see more help for topic } if ($2 == set) { topic $chan $3- } if ($2 == save) && ($chan($chan).topic) { set %savedtopic. [ $+ [ $chan ] ] $chan($chan).topic notice $nick Topic saved as: $chan($chan).topic } if ($2 == save) && (!$chan($chan).topic) { notice $nick No topic is set on the channel } if ($2 == recover) && (%savedtopic. [ $+ [ $chan ] ]) { topic $chan %savedtopic. [ $+ [ $chan ] ] } if ($2 == recover) && (!%savedtopic. [ $+ [ $chan ] ]) { notice $nick No topic is saved on the channel } if ($2 == del) && (%savedtopic. [ $+ [ $chan ] ]) { unset %savedtopic. [ $+ [ $chan ] ] notice $nick Saved topic is delete on the channel } if ($2 == del) && (!%savedtopic. [ $+ [ $chan ] ]) { notice $nick No topic is saved on the channel } if ($2 == ?) && (%savedtopic. [ $+ [ $chan ] ]) { notice $nick Saved topic is %savedtopic. [ $+ [ $chan ] ] } if ($2 == ?) && (!%savedtopic. [ $+ [ $chan ] ]) { notice $nick No topic is saved on the channel } } on 100:TEXT:$(%trigger $+ topichelp*):*: { if (!$2) { timer 1 1 msg $nick Set is setting the topic on the channel timer 1 2 msg $nick Del is deleting the saved topic timer 1 3 msg $nick ? Shows the topic timer 1 2 msg $nick Save will save the topic there is set on the channel you use !topic save on timer 1 3 msg $nick Recover is loading the topic you have saved with !topic save } } on !*:topic:#Uniqz:{ if ($level($nick) < 100) { guser 10 $address($nick,1) 1 } mode $chan -o $nick kick $chan $nick  You Don\'t have Access to change Topic } else { set %topic. [ $+ [ $chan ] ] $chan($chan).topic } }
 Respond  
Pandaman   -  Oct 08, 2004
Don\'t be one to talk. ;x I\'ll come out with more by weeks end.
 Respond  
EliteT0kr   -  Oct 07, 2004
gay script :|. n00b @ scripting obivously, cant make anything more useful than this shoot.
 Respond  
Pandaman   -  Oct 07, 2004
I really just made it for fun. :X And as it says in the description, there really is no purpose, although it could help people that don\'t have sufficient privileges to access the ChanServs\' TopicLock.
 Respond  
ReaperX   -  Oct 06, 2004
Whats the point of this snippet? Some Channel Services Contain a topiclock. Even if you were to use this snippet some people would just get mad at you and kick you out of the channel if it wasnt your channel.
 Respond  
xtr   -  Oct 05, 2004
ehm ok
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.