mIRC Home    About    Download    Register    News    Help

Print Thread
#35302 10/07/03 06:12 AM
Joined: Jun 2003
Posts: 67
D
Babel fish
OP Offline
Babel fish
D
Joined: Jun 2003
Posts: 67
ok i tried everything can some1 make me a simple dialog that just displays a message with an Ok button?


while (demi == nub) {
inc %skill
}
#35303 10/07/03 07:02 AM
Joined: Apr 2003
Posts: 300
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
what do u mean, so u can see how it works?


Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
#35304 10/07/03 07:07 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
dialog Ok {
title "Ok"
size -1 -1 158 46
option dbu
button "Ok", 1, 56 16 37 12, ok
}


new username: tidy_trax
#35305 10/07/03 07:09 AM
Joined: Apr 2003
Posts: 300
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
dialog dialog1 {
title "Dialog"
size -1 -1 298 145
box "Box", 1, 25 4 249 49
button "ok", 2, 117 85 65 25, ok
text " ", 3, 41 24 219 17
}
on *:dialog:dialog1:init:*: {
did -a dialog1 3 This is a dialog
}
oh u beat me to it :tongue:

Last edited by andymps; 10/07/03 07:10 AM.

Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
#35306 10/07/03 07:17 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
dialog Demitrix {
  title "Demitrix "
  size -1 -1 106 112
  option dbu
  edit "Enter your text here..", 1, 13 17 73 11
  button "Submit", 2, 9 65 37 12
  button "Clear", 3, 57 65 37 12
  button "OK", 4, 33 87 37 12
}

on *:dialog:Demitrix:sclick:*: {
  if ($did == 2) { msg $active $did(Demitrix,1) }
  if ($did == 3) { did -r Demitrix 1 }
  else { dialog -x Demitrix Demitrix }
}


You both beat me to it. mad

#35307 10/07/03 12:16 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
mirc has a built-in identifier that pops up the kind of dialog you want. Type /help $input to read about it.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard