mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2015
Posts: 3
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Aug 2015
Posts: 3
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.

Joined: May 2015
Posts: 133
K
Vogon poet
Offline
Vogon poet
K
Joined: May 2015
Posts: 133
Did you register for an API key to weather underground? You need to put in your key for this script to work.


twitter @keyeslol
Joined: Sep 2014
Posts: 259
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2014
Posts: 259
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

Joined: Aug 2015
Posts: 3
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Aug 2015
Posts: 3
Yeah I registered an API Key, put it in the script and it still isn't working.

Joined: Aug 2015
Posts: 3
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Aug 2015
Posts: 3
bump

Joined: May 2015
Posts: 133
K
Vogon poet
Offline
Vogon poet
K
Joined: May 2015
Posts: 133
I used exactly the same code you posted and it works. Did you do !w on?


twitter @keyeslol

Link Copied to Clipboard