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.

Custom Flags/variables per channel

Old posts that have not been replied to for several years.
Locked
W
Wildfire
Voice
Posts: 11
Joined: Fri May 16, 2003 4:51 pm

Custom Flags/variables per channel

Post by Wildfire »

It occurs to me that there are a lot more intellegent people here that probably know this than me getting frustrated with it :)

I am trying to set up a script that needs to have channel-specific variables/flags to control what rules set for dice is to be used for that channel. IE, channel #x can be set to use rules schema 1 and channel #y to rules schema 2. I ran across an earlier topic about this, but it seemed to date back to February and an older version than the current .15. Truthfully the short explaination didn't make much sense, either. Anyone care to help help me out with what I need to do to create a custom channel setting?
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Re: Custom Flags/variables per channel

Post by user »

Wildfire wrote:Anyone care to help help me out with what I need to do to create a custom channel setting?
'setudef <type> <name>' (check tcl-commands.doc for details)
then use 'channel get <chan> <name>' to check the current setting for a channel.
W
Wildfire
Voice
Posts: 11
Joined: Fri May 16, 2003 4:51 pm

Post by Wildfire »

Sigh, now I really feel like an idiot for missing that.

takes the rubber 'loser' stamp and stamps forehead

Thank you though :)
Locked