mIRC Home    About    Download    Register    News    Help

Print Thread
D
Death1223
Death1223
D
Alright so I want to implement a weather command for my twitch bot. I found a script online:
http://pastebin.com/kuQT3yJd

However, I can't get it to work. Not sure if it's because it's for a different IRC program or maybe it requires something else. Please help, I just started scripting recently so I'm not an expert yet.

K
keyeslol
keyeslol
K
Did you register for an API key to weather underground? You need to put in your key for this script to work.

S
Sakana
Sakana
S
You could also just make your own. If you use the 'JSON for mIRC' script it will only be a few lines of code. Just find a random weather API online and look up some examples on using JSON

D
Death1223
Death1223
D
Yeah I registered an API Key, put it in the script and it still isn't working.

D
Death1223
Death1223
D
bump

K
keyeslol
keyeslol
K
I used exactly the same code you posted and it works. Did you do !w on?


Link Copied to Clipboard