Topic Lock

By sith_ on Mar 06, 2008

a simple topic lock, it works fine for me. it only works for one channel. make sure to replace YOURROOM with the channel you want to protect, then put the topic for that channel that you want to not be changed as ROOMTOPIC (there's 2 spots). yeah I guess it's a noobish script, but it works good if you just wanna protect one channel and don't want some complicated dialog.

on *:topic:#YOURROOM:{ 
  if ($chan(#).topic != ROOMTOPIC) {
    topic #YOURROOM ROOMTOPIC
  }
}

Comments

Sign in to comment.
Jonesy44   -  Mar 09, 2008

chatspace runs on an irc-d doesn\'t it .. ? or does it just not have services? :s

 Respond  
sith_   -  Mar 08, 2008

I don\'t go on irc-d servers. this is for chatspace servers. it doesn\'t have all those cool things

 Respond  
guest598594   -  Mar 08, 2008

also, you can simplify it to \"topic $chan $v2\"

 Respond  
guest598594   -  Mar 08, 2008

^^ I think you can only do that with ChanServ

 Respond  
Jonesy44   -  Mar 08, 2008

You could just set the topic lock mode (can\'t remember which it is) xP. that way, if you\'re offfline it still locks it ;-)

 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.