Yeah, I know you're just starting out, I'm just letting you know :)
Oh, and I overlooked the bit about your radios. The reason why your radios wont work is because of the line:
- {l Code}: {l Select All Code}
alias ccolor 0
You have that written into the actual GUI. GUI's in Red Eclipse refresh their "code" every single frame, as to make everything live and updated. Since you have that line in their, you're resetting the variable each time you change it with the radio button :P
Now, you could put this up at the top outside of the GUI declaration, but then that would end up resetting the user's color every time they launched Red Eclipse.
So, you could just leave it out entirely, and have people store their color of choice in their autoexec...but that wouldn't work for first time users who love to skip instructions ;)
However, we can still use this method, but to avoid breaking the script for those who don't follow instructions, we can create a check and something to default to:
- {l Code}: {l Select All Code}
if (> (strlen (getalias ccolor)) 0) [] [ccolor = 7]
What this does is a hackish way of seeing if an alias exists. If the length of it's value isn't greater than 0, then it doesn't exist :P So, if it doesn't, then we will set ccolor to 7 (white). It's a good idea to default it to white, as not everyone wants chat color, and it's better to default to "off".
Then, leave some instructions for people to add a line to their autoexec something like:
- {l Code}: {l Select All Code}
alias ccolor #
Lastly, attached are my old Extended Compass scripts. They've got all my fiddlings in them that are beyond the version you can find deep in the bowels of this forum, so you can look through them if you really want. You may be most interested in ChatColors.gui ;)
Oh, and sorry if the code is all messy...hopefully you can read through it ;P Oh, and their may be some parts that reference an external file...I modded the client to write an extra file with the values of aliases, but I'm sure you could figure out what's what. You could probably ignore it for the most part.
[removed]
[EDIT]
Almost forgot: onrelease is hard-coded for only a few controls, ie. moving forward/backward/left/right. You can't specifically use onrelease.