mIRC Homepage

/dialog: invalid parameters

Posted By: _Mhz_

/dialog: invalid parameters - 07/11/07 02:23 PM

Hi
i made my self a custom nicklist using Nicklist.dll. it work fine with mIRC 6.21. At my surprise when i tryed to upgrade to 6.31 my mIRC window start flickering. i tested 6.30 do the same thing.

My code look like that:
if ($4 == 1) { dialog -s $$1 0 0 $calc($$2 - 5) $calc($$3 - 30) }
Parameter are 1: nick.%#DevCafe 2: 175 3: 452
Any help will be apreciate, thanks
Posted By: Wims

Re: /dialog: invalid parameters - 07/11/07 03:45 PM

In which event are you using this line :
Quote:
if ($4 == 1) { dialog -s $$1 0 0 $calc($$2 - 5) $calc($$3 - 30) }
?
Posted By: _Mhz_

Re: /dialog: invalid parameters - 07/11/07 04:17 PM

Hi Wims

;from Epsilon Nicklist.dll help file
ON *:SIGNAL:nicklist_resize: {

Thank you for your reply
Posted By: Wims

Re: /dialog: invalid parameters - 07/11/07 07:22 PM

since this event is called by the dll, it's certainly the dll that have the problem.
Posted By: _Mhz_

Re: /dialog: invalid parameters - 07/11/07 09:07 PM

HiWims
i add a litle debouncer to my code. its not pretty but it works.

if ($4 == 1) && (!$timer(dialog)) { .timer $+ dialog -m 1 10 test | dialog -s ....

Don't know if youre right. Maybe Epsilon or Khaled will come up with something.
Thanks for your help
Posted By: _Mhz_

Re: /dialog: invalid parameters - 17/11/07 09:58 AM

Well its was not a so good idea. i put the resize off for mIRC > 6.21
© 2020 mIRC Discussion Forums