Guest User

SAMMI Button to change Twitch username colour to a specified hex code

a guest
Jan 19th, 2023
2,541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.02 KB | None | 0 0
  1. { "color": 12632256.0, "persistent": true, "text": "Twitch: Set\nUser Colour\n(Custom Hex)", "release_duration": 0.0, "queueable": false, "command_list": [ { "cmd": 78.0, "obsid": "Main", "pos": 0.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 0.0, "b0": "all" }, { "b1": "=", "cmd": 15.0, "obsid": "Main", "pos": 1.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 0.0, "b0": "user", "b2": "\"wolbee\"" }, { "cmd": 6.0, "obsid": "Main", "pos": 2.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 20.0, "b0": "Sets the variable colour to a hex code, then strips the # symbol from the variable\nThis is because the API Call URL requires the # to be URL encoded, so I hard-coded that in", "v0": 2.0 }, { "b1": "=", "cmd": 15.0, "obsid": "Main", "pos": 3.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 0.0, "b0": "colour", "b2": "\"#FCED40\"" }, { "b1": "\/$colour$\/", "b3": "", "cmd": 87.0, "obsid": "Main", "pos": 4.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 0.0, "b0": "colour", "b2": "#", "v0": false }, { "b1": "userID", "cmd": 105.0, "obsid": "Main", "pos": 5.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 0.0, "b0": "\/$user$\/", "v0": 0.0 }, { "b1": "PUT", "b3": "response", "cmd": 268.0, "obsid": "Main", "pos": 6.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 0.0, "b0": "https:\/\/api.twitch.tv\/helix\/chat\/color?user_id=\/$userID$\/&color=%23\/$colour$\/", "b2": "\/$user$\/" }, { "b1": "1000", "cmd": 153.0, "obsid": "Main", "pos": 7.0, "vis": true, "ms": 0.0, "sel": false, "dis": false, "xpan": 0.0, "b0": "response" } ], "press_type": 0.0, "x": 0.83333333333333337034076748750522, "border": 2.0, "image": "", "triggers": [ ], "group_id": "", "overlappable": false, "init_variable": "", "width": 0.1666666666666666574148081281237, "button_id": "ID249", "button_duration": 0.0, "y": 0.80000000000000004440892098500626, "switch_deck": "", "height": 0.20000000000000001110223024625157, "release_list": [ ], "functions": 65.0, "stretch": false }
Tags: Sammi
Advertisement
Add Comment
Please, Sign In to add comment