Discussion:
script to change topic
(too old to reply)
Steffen Moncello
2003-07-27 11:53:34 UTC
Permalink
Hi,

There's somebody in my channel who alway sets strange URLs to the topic.
I need a script that changes these URL-topic to the old topic or to another topic.

Thx for help
Steffen
Stahtrek
2003-07-27 12:01:07 UTC
Permalink
Post by Steffen Moncello
Hi,
There's somebody in my channel who alway sets strange URLs to the topic.
I need a script that changes these URL-topic to the old topic or to another topic.
Thx for help
Steffen
If your an Op in the chan, set the topic to "Op's only may change"

double click chan window will bring up chan details and tick box to set
topic Ops only

--
Stahtrek
a.k.a PizzaTheButt
(or is that the other way around !!)
------------------------------------------------------
/server irc.addictz.net #Startrek-USA (SOP)
/server irc.atomicchat.net #Startrek-USA (SOP)
#Startrek-Distro (SOP)
------------------------------------------------------
U
2003-07-27 18:46:38 UTC
Permalink
Post by Steffen Moncello
Hi,
There's somebody in my channel who alway sets strange URLs to the topic.
I need a script that changes these URL-topic to the old topic or to another topic.
Thx for help
Steffen
If the person is an op you can't stop them. If they are an op, but not in
services, and the network you are on is services based, try turning the
topiclock on. Also make sure you have mode +t enabled or anyone can change
the topic.
--
U
irc.foreverchat.net Founder
"With 26 servers to serve you"
http://www.low-cost-web-hosting.us LCWH
Shtoopid...
2003-08-07 10:08:05 UTC
Permalink
Post by Steffen Moncello
Hi,
There's somebody in my channel who alway sets strange URLs to the topic.
I need a script that changes these URL-topic to the old topic or to another topic.
Thx for help
Steffen
Here's something simple for you to do... it will only work if you're an op... and this
particular one is set for one channel.

on @1:TOPIC:#: {
if (# == #whateveryourchannelis) && ($nick != $me) {
%theirtopic = $1-
if (%theirtopic != %mytopic) { topic #whateveryourchannelis %mytopic }
}
if (# == #whateveryourchannelis) && ($nick == $me) {
%mytopic = $1-
}
plop that into your script, edit whatever you need to... set your topic and it will always
revert to what you set :o)

Loading...