mIRC Homepage
Posted By: s0tt0 dialogs - 06/04/03 11:50 AM
I need help with them. So I posted it under mIRC Help topic.
Does somebody have a good tutorial or something like that, how to make simple dialog, with 2 buttons + some radio buttons + some text fields. And how can i put to work them together. I just want tutorial where to learn dialogs.
Posted By: SladeKraven Re: dialogs - 06/04/03 04:38 PM
Code:
  
dialog test.s0tt0 {
  title "Test dialog for s0tt0"
  size -1 -1 135 132
  option dbu
  text "Here is one text field.", 1, 12 14 67 8
  text "Here is another text field.", 2, 12 22 67 8
  button "Help on dialogs.", 3, 12 92 65 12
  button "Button 2.", 4, 12 105 65 12
  radio "Radio button no. 1.", 5, 12 33 56 10
  radio "Radio button no. 2.", 6, 12 43 56 10
  link "Here are some dialog tutorials.", 7, 12 67 82 8
}


Now finally the last bit of code.

Code:
on *:dialog:test.s0tt0:sclick:*:{
  if ($did == 4) { echo -at Button 2 .. }
  if ($did == 3) {  /help /dialog }
  if ($did == 7) {  run http://www.mircscripts.org }
}  
Posted By: s0tt0 Re: dialogs - 06/04/03 05:50 PM
thank you very much smile
Posted By: SladeKraven Re: dialogs - 06/04/03 05:59 PM
You're welcome dude. smile
Posted By: ParaBrat Re: dialogs - 06/04/03 08:34 PM
you can find some good tutorials at this web page
© mIRC Discussion Forums