mIRC Home    About    Download    Register    News    Help

Print Thread
#45940 01/09/03 12:49 AM
Joined: Sep 2003
Posts: 13
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2003
Posts: 13
How the heck do I program dailogs?
is it like:

; Main Dailog
Dailog config {
title "//::\\ Configuration //::\\
ect.
}

#45941 01/09/03 01:10 AM
Joined: Aug 2003
Posts: 148
K
Vogon poet
Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
use DialogStudio by dohcan


_________
may death strike you.
#45942 01/09/03 01:18 AM
Joined: Sep 2003
Posts: 13
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2003
Posts: 13
Thanks! smile

#45943 01/09/03 04:14 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#45944 01/09/03 08:10 AM
Joined: Aug 2003
Posts: 73
C
Babel fish
Offline
Babel fish
C
Joined: Aug 2003
Posts: 73
Er, Dialog Studio should only help you, you should try and understand the code so that you can make your own dialogs by hand and make them more complex than dialog studio can. (I've used Dialog Studio and some things just can't be done on it...) !


The blue monkey is out of its barrel...
#45945 01/09/03 04:39 PM
Joined: Sep 2003
Posts: 13
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2003
Posts: 13
i know.
i preview the code.
i've still gotta script/program my own
on *:dailog:sclick:10:{
ect., ect., ect.
}

#45946 01/09/03 06:16 PM
Joined: Aug 2003
Posts: 148
K
Vogon poet
Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
you misspelled dialog 100% of the times u mentioned it, and in this code also... and youy didnt add dialog name:

on *:dialog:DialogName:sclick:10:{
ect., ect., ect.
}


_________
may death strike you.
#45947 01/09/03 06:37 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You have made numerous errors, make sure to check the id of the button is actually 10, most people that are fairly new to dialogs also make that error.

#45948 01/09/03 09:13 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
what cant be done with dialog studio? .. and no im not tryin to be smart assed im just curious.


D3m0nnet.com
#45949 01/09/03 09:20 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
I have never used it, so Iwill not stake any claims on the accuracy of this, although I wouldn't mind knowing for sure, but last I heard is that DS is nice and all for creating the GUI layout, but the actual code that makes the dialog work still needs to be done manually.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#45950 01/09/03 09:25 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
yes ive used it for several dialogs .. its alot quicker to make things align nicely to the eye .. granted yes u do have to add all of the on * stuff but still i can create a dialog like this in a matter of seconds

dialog away {
title "D3m0nic Away"
size -1 -1 131 102
option dbu
icon images/D3m0nicChaos.dll, 0
button "Away", 2, 5 70 38 11
button "Back", 3, 46 70 38 11, ok
box "Enable Options", 6, 5 4 77 49
check "Msg Log", 7, 11 18 36 10
check "Pager", 8, 11 26 30 10
check "30 min Auto Away", 9, 11 34 56 10
check "Msg Block", 10, 11 42 38 10
check "Away msg Broadcast", 11, 11 10 71 10
edit "Away-Nick", 12, 32 55 50 10, autohs hsbar
text "Away Nick", 13, 4 56 27 8
button "Stats", 14, 86 14 37 12
button "Advertise", 15, 86 29 37 12
button "Help", 16, 86 60 37 12
button "Get This At", 17, 86 44 37 12
icon 18, 92 74 27 25, images/D3m0nicChaos.dll, 0
button "Save+Close", 19, 5 85 38 12, ok cancel
button "SL33P", 20, 46 85 38 12
}


granted its a simple lil dialog menu but to hand code that all to work the way i wanted to would have taken severly longer. and ive not found anything in DS that i have needed to be added to make this layout ... yes its nice to also fine tune your stuff manually but to get the layout this way is so much easier for me


D3m0nnet.com
#45951 02/09/03 04:06 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Well, the hard part is the actual code anyway. If you can only create the GUI, I'll stick with mirc and my eyes.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#45952 02/09/03 03:15 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
yes there are several ppl who feel the same way as u do. and thats a great thing. me personally i have trouble just seeing an end result in text, to me i find DS invaluable whereas u may just see it as a kinda in the way program, to each is own i guess. i think DS would be something that a newer scripter would use the one who is used to writting their dialogs from scratch, and you are correct the actual control functions are the hardest part, but i dont think one can actually create something that writes all the control functions for u ..... that would seem more like a program creater or a dll maker (LOL) instead of just a helpful tool to speed the process along.


D3m0nnet.com

Link Copied to Clipboard