mIRC Home    About    Download    Register    News    Help

Print Thread
/dialog: invalid parameters #189415 07/11/07 02:23 PM
Joined: Apr 2005
Posts: 13
_
_Mhz_ Offline OP
Pikka bird
OP Offline
Pikka bird
_
Joined: Apr 2005
Posts: 13
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

Last edited by _Mhz_; 07/11/07 02:43 PM.
Re: /dialog: invalid parameters [Re: _Mhz_] #189423 07/11/07 03:45 PM
Joined: Jul 2006
Posts: 3,586
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,586
In which event are you using this line :
Quote:
if ($4 == 1) { dialog -s $$1 0 0 $calc($$2 - 5) $calc($$3 - 30) }
?


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: /dialog: invalid parameters [Re: Wims] #189425 07/11/07 04:17 PM
Joined: Apr 2005
Posts: 13
_
_Mhz_ Offline OP
Pikka bird
OP Offline
Pikka bird
_
Joined: Apr 2005
Posts: 13
Hi Wims

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

Thank you for your reply

Re: /dialog: invalid parameters [Re: _Mhz_] #189438 07/11/07 07:22 PM
Joined: Jul 2006
Posts: 3,586
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,586
since this event is called by the dll, it's certainly the dll that have the problem.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: /dialog: invalid parameters [Re: Wims] #189458 07/11/07 09:07 PM
Joined: Apr 2005
Posts: 13
_
_Mhz_ Offline OP
Pikka bird
OP Offline
Pikka bird
_
Joined: Apr 2005
Posts: 13
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

Re: /dialog: invalid parameters [Re: _Mhz_] #190178 17/11/07 09:58 AM
Joined: Apr 2005
Posts: 13
_
_Mhz_ Offline OP
Pikka bird
OP Offline
Pikka bird
_
Joined: Apr 2005
Posts: 13
Well its was not a so good idea. i put the resize off for mIRC > 6.21