mIRC Homepage
Posted By: NeUtRoN_StaR topics - 10/03/05 06:49 AM
i would like to know how to go about resetting the topic to something i specify any time someone tries to change it.

im assuming it would be a raw event, which im not familiar with.
Posted By: SladeKraven Re: topics - 10/03/05 06:56 AM
Code:
on @1:Topic:[color:red]#channel[/color]: {
   topic $chan Bleh...
}
Posted By: NeUtRoN_StaR Re: topics - 10/03/05 06:57 AM
probably should have looked over the various events before i posted
sorry for wasting ur time
Posted By: SladeKraven Re: topics - 10/03/05 06:59 AM
No need to apologise, it was my pleasure. smile
Posted By: NeUtRoN_StaR Re: topics - 10/03/05 07:02 AM
slight addition

on !@*:topic:#channel:{
topic $chan %topic
}
Posted By: SladeKraven Re: topics - 10/03/05 07:08 AM
That's true, you wouldn't want to automatically change the topic when you was the one changing the topic in the first place now, would you? Didn't think so.. grin
Posted By: DaveC Re: topics - 10/03/05 08:47 AM
How about this...

on @*:Topic:#channel:{
if ($nick = $me) { set %topic $1- }
else { topic $chan %topic }
}

Stores your change to the topic or returns topic to what you last set it to.
© mIRC Discussion Forums