Help me create a custom command

Try urself

!boy : addquote?token=1dcbcde5$(eval $(urlfetch https://twitch.center/customapi/quote?token=5a7883926a46ea31&data=-$(user)-).includes(-$(user)-)?&data=-$(querystring $(user))-|~B~ Y:N) boys

!girl :addquote?token=1dcbcde5$(eval $(urlfetch https://twitch.center/customapi/quote?token=5a7883926a46ea31&data=-$(user)-).includes(-$(user)-)?&data=-$(querystring $(user))-|~G~ Y:N) girls

!bg : $(eval a=$(urlfetch https://twitch.center/customapi/$(1))$(urlfetch json https://twitch.center/customapi/quote/list?token=5a7883926a46ea);z=$(3);$(urlfetch json https://pastebin.com/raw/NfuT0svq))

im using these commands with !boy and !girl have !bg alias

thanks

and !bg have no alias

I just tried them and there’s a couple errors that should be fixed now. Remember to set the aliases as explained previously. Replace the tokens.

!boy:

stomapi/addquote?token=PRIVATE_TOKEN$(eval !`$(urlfetch https://twitch.center/customapi/quote?token=PUBLIC_TOKEN&data=-$(user)-)`.includes(`-$(user)-`)?`&data=-$(querystring $(user))-|~B~ Y`:` N`) boys

!girl:

stomapi/addquote?token=PRIVATE_TOKEN$(eval !`$(urlfetch https://twitch.center/customapi/quote?token=PUBLIC_TOKEN&data=-$(user)-)`.includes(`-$(user)-`)?`&data=-$(querystring $(user))-|~G~ Y`:` N`) girls

!bg:

$(eval a=`$(urlfetch https://twitch.center/cu$(1))$(urlfetch json https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN)*$(3)*PRIVATE_TOKEN`;$(urlfetch json https://pastebin.com/raw/NfuT0svq))

How about !Bgreset command ?

Copy and paste this into chat to create !bgreset

!addcom -ul=mod !bgreset $(eval `$(urlfetch https://twitch.center/customapi/delquote?token=PRIVATE_TOKEN&clear=1)`==`All entries have been deleted`?`$(user) has cleared the viewer list!`:`Try again...`)

Still it is not working !boy and !girl command

!boy:
responce : Nightbot
​0 boys have joined this stream. Cheers boys squad!

!girl :
Responce : Nightbot
​0 boys and 0 girls are watching this stream. Use !boy or !girl to join your squad.

Screenshot of testing the commands in my chat. The command names have β€œ2” in them because I already had another set of !boy/!girl commands from the previous posts in this thread.

Make sure you copied and pasted the commands exactly as they were written and have placed in the appropriate public and private tokens.

!Bg : $(eval a=$(urlfetch https://twitch.center/cu$(1))$(urlfetch json https://twitch.center/customapi/quote/list?token=8833d5b9e1a2d528)*$(3)*687e9469;$(urlfetch json https://pastebin.com/raw/NfuT0svq))

!boy : stomapi/addquote?token=687e9469$(eval !$(urlfetch https://twitch.center/customapi/quote?token=8833d5b9e1a2d528&data=-$(user)-).includes(-$(user)-)?&data=-$(querystring $(user))-|~B~ Y:N) boys

!girl : stomapi/addquote?token=687e9469$(eval !$(urlfetch https://twitch.center/customapi/quote?token=8833d5b9e1a2d528&data=-$(user)-).includes(-$(user)-)?&data=-$(querystring $(user))-|~G~ Y:N)girls

!boy:
responce :
​0 boys have joined this stream. Cheers boys squad!

!girl :
Responce :
​0 boys and 0 girls are watching this stream. Use !boy or !girl to join your squad.

As i can seee, you are testing on twitch, can you check on Youtube ?

@xloss

I’ll private message you how the commands need to be set up.

what do you replace tokens with?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.