^WeSt commented on a Page, Weather script for mIRC  -  Oct 06, 2013

There is an bug when i use : !weather ZIPCODE

e.g: !weather 19200

return me an error: * /sockopen: insufficient parameters (line 237, script4.ini)

also one more bug is:

e.g: !w REMOVE

NOTICE ME: Your location association has been removed.

but return me an error: * /sockopen: insufficient parameters (line 237, script4.ini)

Chromatic  -  Oct 06, 2013

Hrmm.. not sure what is going on. However, recently I had to upgrade and modify my code since an API key is now required for OAUTHentication...

I have a solidly working weather script from EQrunner -- It is somewhere on here, but I am just going to paste the code I use that I know works.. You can find it here:

http://pastebin.com/ye0CBSVA

Just note you will need to put your own API key in where it is denoted in the script -- you have to sign up as the script directs in the notation to obtain your key.. it takes 2 minutes to do. Hope this helps.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.