y0ey
1
I found a custom API command (url fetch) but havent found one that works yet. Any help would be greatly appreciated! Thanks!
This is the one i tried, maybe i just did it wrong?
$(urlfetch [https://2g.be/twitch/randomviewer.php?channel=$(channel)]
I set it up as a timer but it never worked
Nightbot does not support a currency system.
y0ey
3
Yes i know that, what im trying to do is set it up so Nightbot gives away the points it earns in my stream
So Nightbot would !givepoints $(randomuser) (# of points)
Try setting the message for the timer like this, set 100 to the amount of points you want (Nightbot can’t really check how many points it has).
!givepoints $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel)) 100
y0ey
5
Hey so thats exactly what ive been using, but when the timer executes it says invalid username, am i supposed to put my name in where it says channel?
Dont replace anything in that url, leave $(channel) as it is, this will automaticly be replace by Nightbot.
y0ey
7
Cheers thats where i think the confusion was, some posts were saying to replace channel
y0ey
8
Just wanted to say thank you, got it working
system
Closed
10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.