mIRC Homepage
Posted By: JAFO Dialog 101 - 27/09/04 05:50 AM
Ok .... i have a whole bunch of fancy custom sounds i have set to run with an on *:whatever: command ..... one for each sound and it works just fine. The problem is that when the kids home i watch tv on my pc and the sounds drive me crazy. I want to make a simple little menu to control each individual sound .... checkboxes.
I thought i would be able to teach this to myself but i was very very wrong. I have read all the mIRC help files but i am still very confused. Can anyone point me to a simple hands on tutorial for doing these things or even a little more simplified explanation of it all.
Posted By: PastMaster Re: Dialog 101 - 27/09/04 09:09 AM
These links from mircscripts.org might help you:

[*] Starting out with scripting by blue-elf
[*] Using dialogs by INSIDES
[*] Dialog design by blue-elf
[*] mIRC scripting tutorial by MadMonkey

In addition, have a look at the mIRC FAQ (not the normal help file) available here on this site, which provides step-by-step details on starting to "program" mIRC - remember, Section 7 is your friend! laugh

Hope this helps

PM
Posted By: JAFO Re: Dialog 101 - 27/09/04 07:38 PM
PERFECT........ That is exactly what I was looking for !!!
THANKS A LOT!!! grin
Posted By: JAFO Re: Dialog 101 - 27/09/04 10:59 PM
Ok ..... now i have an edit box with all the appropriate information in it , but the section on "Responding To Dialog Events " and there after still confuse me.
I assume the next thing after making the dialog box is to make a remote to determine if its on or off. Then another to determine that if it is on that when said event happens it triggers the event response.
This is what i have so far...
dialog sounds {
title "Sound Controls"
size -1 -1 115 100
option dbu

box "Check Boxes",1,5 5 105 70
check "Connect ",2,8 12 40 11
check "Disconnect",3,8 22 40 11
check "Join Chan",4,8 32 40 11
check "P.M.",5,8 42 40 11
check "Ban Set",6,8 52 40 11
check "Ban Lift",7,8 62 40 11
check "DCC Send",8,63 12 40 11
check "DCC Fail",9,63 22 40 11
check "Gain +",10,63 32 40 11
check "Gain @",11,63 42 40 11
check "Lose +",12,63 52 45 11
check "Lose @",13,63 62 45 11

button "Accept",100,48 85 30 11,ok
button "Cancel",101,80 85 30 11,cancel
}

What I need to learn is, assuming this is the next step in the order of things, how to have mIRC understand if the box is checked or not(the tutorial went a little backwards there...... tells me like I already know and if I already knew I wouldnt be reading the tutorial).
And then it should be just a matter of directing the event responses to respond with an if - then statement?
smirk
© mIRC Discussion Forums