Hi. I want some sugestions, tips or something like this, and to use .chanset #chan +something and for the channels with the +something the tcl reacts and for the channels without +something or -something to not do nothing at all..
Once the game is over, the king and the pawn go back in the same box.
Yes, setudef, but I was asking how can I make something with this? I meen how to chk if it exists in a channel flags. And please give me an example of the usage of the setudef cos I don't want to screw it up. Thanks.
Once the game is over, the king and the pawn go back in the same box.
The "channel get #chan setting" was added in 1.6.11.
For flags, it returns 0 if a setudef flag is - (disabled) or non-zero if it's + (enabled). For int settings, it returns the value.
In versions before this, you have to use "channel info" and use lsearch to locate the setting. Flags will takr the format "+flag" and "-flag" and int will take the format "flag value".