mIRC Home    About    Download    Register    News    Help

Print Thread
dialog #35302 10/07/03 06:12 AM
Joined: Jun 2003
Posts: 67
D
demitrix Offline OP
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
}
Re: dialog #35303 10/07/03 07:02 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline
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
Re: dialog #35304 10/07/03 07:07 AM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
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
Re: dialog #35305 10/07/03 07:09 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline
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
Re: dialog #35306 10/07/03 07:17 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
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

Re: dialog #35307 10/07/03 12:16 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
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