mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2006
Posts: 181
C
Crinul Offline OP
Vogon poet
OP Offline
Vogon poet
C
Joined: Feb 2006
Posts: 181
Code:
dialog mBug {
  title "mIRC did bug"
  option dbu
  size -1 -1 100 100
  button "Bug", 500, 40 40 20 20 // ID is 500 but could be 1
}

ON *:DIALOG:mBug:sclick:*: {
  if ($did == 500) {
    echo -ac info * did before input: $did
    noop $input(Bug?,y)
    echo -ac info * did after input: $did
  }
}


Steps:

1. /dialog -m mBug mBug
2. Click "Bug" button
3. Close input window (X, Yes, No)

Result:

mIRC v7.36

* did before input: 500
* did after input: 0

mIRC v7.32

* did before input: 500
* did after input: 500

Windows XP Pro SP 3

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Confirmed 7.36 (beta1 too).


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Dec 2002
Posts: 5,421
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,421
Thanks for your bug report. This issue has been fixed for the next version.


Link Copied to Clipboard