mIRC Home    About    Download    Register    News    Help

Print Thread
topics #113938 10/03/05 06:49 AM
Joined: Mar 2005
Posts: 212
N
NeUtRoN_StaR Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
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.

Re: topics #113939 10/03/05 06:56 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
on @1:Topic:[color:red]#channel[/color]: {
   topic $chan Bleh...
}

Re: topics #113940 10/03/05 06:57 AM
Joined: Mar 2005
Posts: 212
N
NeUtRoN_StaR Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
probably should have looked over the various events before i posted
sorry for wasting ur time

Re: topics #113941 10/03/05 06:59 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
No need to apologise, it was my pleasure. smile

Re: topics #113942 10/03/05 07:02 AM
Joined: Mar 2005
Posts: 212
N
NeUtRoN_StaR Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Mar 2005
Posts: 212
slight addition

on !@*:topic:#channel:{
topic $chan %topic
}

Re: topics #113943 10/03/05 07:08 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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

Re: topics #113944 10/03/05 08:47 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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.