This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Looking if a channel has a specific chanset

Old posts that have not been replied to for several years.
Locked
P
ProXy
Op
Posts: 126
Joined: Sun Aug 11, 2002 3:09 pm

Looking if a channel has a specific chanset

Post by ProXy »

Hello, I wrote a script that sets a topic with the currently active DJ of a stream. But whenever i rehash it, the vars are resetted. The Problem is that the eggdrop should change the topic of the channel the script is active in!

I have set this channel with -chanset #chan +stream

So, when I rehash, the script should check in which channels +stream is set, and reset the topic in all those channels. Is this possible?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Use the EVNT bind, to capture rehashes.

You can then check each channel, and set the changes as needed.
Locked