@ehsankia Can you help me with something to do with the quote system? Would you be able to send me a message?
Hello
I was wandering if this could be used for jokes too.
Instead of adding the jokes through the chat though, iâd rather have the an external txt file where i save the jokes/quotes and can edit, add, detele them easyer
I expect this woudl use the fetch url function but not sure how to make this work. Do you have any ideas?
Dear forum,
I am personally using your quote system as a counter, but I would love to remove a specific query only once.
But it wonât work, is there a variable I could add to make it delete one in stead of giving me the answer âtoo many matching entriesâ
Hope to hear from you
Kind regards,
Dennis
@gg_recked You can specify the list ID of the entry you want to delete.
Dear @RokettoJanpu,
Thank you for your reply, the thing is it is not handy.
I want to make it person proof .
I am using the system you created a year ago (Command to display multiple $(count) results)
Is there really no other way then delete #id?
Kind regards,
Dennis
can you explain
- what do you mean by âthe thing is it is not handyâ
- what do you mean by âmake it person proofâ
- what do you propose here? If there are multiple matching entries, but you want to remove a single quote, thereâs no other way to do it through commands.
Dear @ehsankia,
Thank you for responding. I just would like a variable that I can put behind the link to delete one entry point with the name âlossââwinâ .
For example: $(urlfetch https://twitch.center/customapi/delquote?token=token&data=loss&remove=1)
What I mean by human proof is to make it as simple for the streamer as possible so he does !delloss and 1 loss will be subtracted.
Hope to hear from you.
Kind regards,
Dennis Berkers
Hey, so need help with a specific topic, and if this question was answered already I do apologize couldnât find the answer in a scroll. So, right now I have a total 3 commands for quotes â the regular !quote, !addquote, and !delquote. I have been using the commands for quite a while and they work great. However, what Iâm looking for currently is a way to separate the !quote command itself so that regular users (up to vip) canât do, say, !quote 4 to get the 4th quote while moderators up can. Essentially Iâm wanting a way to make sure regular streamgoers have the randomized list whereas mods can pull specific quotes for specific situations. How would I go about accomplishing this? Thank you in advance.
Make a copy of the quote command with a new name and set the level to âVIPâ or whatever you need it to be. Then update the original !quote command to not have the data=$(querystring)
part at the end, that way it always receives an empty argument.
Thank you @ehsankia
Hey all! Is there some way to impose a cooldown on the !quote command (with or without a number)? Some folk do it a bit too often, and it clogs up the chat quite a lot. Thanks for any advice
!editcom !quote -cd=[new cooldown in seconds]
thatâs perf, thanks <3
Excuse me. Is there a way for me to add a name and remove the @. for example. If I do !addquote @zebcy âwhatever quote he saysâ. it brings back the result as zebcy âwhatever quote he saysââŠ
Thanks in advance
Hi!
I have a bit of a novice question:
Iâm a mod/Editor for a channel using this API and a bunch of the quotes in quote list are showing as $(querystring). What does this mean, why is it happening and how do I fix it please?
Sorry if this has already been answered!
Copy and paste your command response for !addquote (with the 16 character private token excluded).
Hello there.
A streamer I have been watching has been receiving an error code every time we attempt to use the !addquote command when he plays PokĂ©mon games. I was thinking it may be the fact of the accent mark âĂ©â and the character not available to be used or posted? I could just be completely wrong lol.
If there was a previous solution similar to my situation I appreciate it, and apologize for the duplicate discrepancy. Just tryna deduce the problem.
Thank you very much!
Is there a way I can create a different command with the sam system?
Iâm already using !quote command, and want to create something similar but using a different command instead.
Thanks for the work!
Hey @N1MP0!
Of course, just generate new tokens. Use the second link in the original post and copy the public and private tokens youâll get. Look at the field bellow if you donât know where to look for these.
$(urlfetch https://twitch.center/customapi/quote?token=PUBLIC_TOKEN&data=$(querystring))
$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(querystring))
$(urlfetch https://twitch.center/customapi/delquote?token=PRIVATE_TOKEN&data=$(querystring))
Then create command with the new tokens.
For example if you want to fill a list and consult it, use this to add an element to your list:
$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(querystring))
And use this to consult it:
$(urlfetch https://twitch.center/customapi/quote?token=PUBLIC_TOKEN&data=$(querystring))
Like you would for a normal quote command.
Keep your PRIVATE_TOKEN secret, donât share it anywhere, so to add a command do it from the dashboard, donât use the chat as anyone could monitor it and copy the token, they could then edit your list.
Hi
All the commands work, but when i try to display (!quote 1)
it says â1. 0â instead of â0â