How to make dialogs..work - 12/11/05 01:15 PM
I have an away script I wrote, and right now the config area is in the code itself, so anyone I gave it to would have to go to the Script Editor to change settings, which is a bit overwhelming for some people.
Here is my code now
(the dialog is question is at the very bottom)
I've got the Configuration window designed and all (it's in there named away_config_main), but I have no idea how to go about making it change and save the settings when I change them in the dialog. And even though it does 99% of the time, the /help files simply aren't working for me on this one. Any example code to show me how to do it would be great.
~ synth7
EDIT___________________________
I got this far, sort of, for changing whether the away script will change the users nick based on if they have the box checked or not.
Here is my code now
(the dialog is question is at the very bottom)
I've got the Configuration window designed and all (it's in there named away_config_main), but I have no idea how to go about making it change and save the settings when I change them in the dialog. And even though it does 99% of the time, the /help files simply aren't working for me on this one. Any example code to show me how to do it would be great.
~ synth7
EDIT___________________________
I got this far, sort of, for changing whether the away script will change the users nick based on if they have the box checked or not.
Code:
on *:DIALOG:away_config_main:sclick:1: { if ($away.chgnick == 1) { did -c away_config_main 1 } }