Popup works, but remote doesn't since upgrading - 19/09/06 07:52 PM
Since I have upgraded to mIRC 2.0, I have noticed that one of my remotes which uses a DLL I wrote, has stopped working. Today I found something in my popups that I had forgotten about which also uses the DLL. The popup works, but the remote does not. Can anyone help me find out why? This is the popup:
This is the remote
Thanks.
The COM object is opened on START.
Code:
Weather: /var %zip = $$?"ZIP:" | noop $com(weather,GetWeather,3,bstr,%zip) | var %weather = $com(weather).result | .notice $me %weather
This is the remote
Code:
on NOTICE:!weather*:*:{ if ($com(weather)) { var %zip = $2 noop $com(weather,GetWeather,3,bstr,%zip) var %weather = $com(weather).result notice $nick %weather echo -a $nick %weather } else { comopen weather weather.GWeather var %zip = $2 noop $com(weather,GetWeather,3,bstr,%zip) var %weather = $com(weather).result notice $nick %weather echo -a $nick %weather } }
Thanks.
The COM object is opened on START.