Recompensa fichar y Racha con SAMMI

En mi canal de Twitch tengo una recompensa por puntos en las que los usuarios «Fichan» y van sumando rachas de fichajes. ¿Quieres saber cómo se hace? Pues te lo cuento ahora mismo.

En el vídeo podéis ver el proceso paso a paso y, a continuación, os dejo los códigos que tenéis que insertar como botones.

1- INICIAR RACHAS

{ "color": 12623383.0, "persistent": 1.0, "text": "1 INICIAR\nFICHAR\nCSV", "release_duration": 0.0, "queueable": 0.0, "command_list": [ { "b1": "NombreTwitch", "cmd": 198.0, "obsid": "Main", "pos": 0.0, "vis": 1.0, "ms": 0.0, "sel": 0.0, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "b5": "", "b1": "racha", "b3": "", "cmd": 199.0, "obsid": "Main", "pos": 1.0, "vis": 1.0, "ms": 0.0, "sel": 0.0, "dis": 0.0, "xpan": 0.0, "b0": "rachas", "b4": "", "b2": "0", "b6": "" }, { "b1": "\/$global.main_directory$\/rachas.csv", "cmd": 201.0, "obsid": "Main", "pos": 2.0, "vis": 1.0, "ms": 0.0, "sel": 0.0, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "cmd": 211.0, "obsid": "Main", "pos": 3.0, "vis": 1.0, "ms": 0.0, "sel": 0.0, "dis": 0.0, "xpan": 0.0, "b0": "rachas" } ], "press_type": 0.0, "x": 0.0, "border": 2.0, "image": "", "triggers": [ ], "group_id": "", "overlappable": 0.0, "init_variable": "", "deck": 0.0, "width": 0.10000000000000000555111512312578, "button_id": "ID24", "button_duration": 0.0, "y": 0.29999999999999998889776975374843, "switch_deck": "", "height": 0.10000000000000000555111512312578, "release_list": [ ], "functions": 65.0, "stretch": 0.0 }

2- GESTIÓN RECOMPENSA RACHAS

{ "color": 12615733.0, "persistent": 1.0, "text": "FICHAR", "release_duration": 0.0, "queueable": 0.0, "command_list": [ { "b1": "user_name", "cmd": 66.0, "obsid": "Main", "pos": 0.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "usuario_racha" }, { "b1": "\/$global.main_directory$\/rachas.csv", "cmd": 202.0, "obsid": "Main", "pos": 1.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "b1": "0", "b3": "check", "cmd": 208.0, "obsid": "Main", "pos": 2.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas", "b2": "\/$usuario_racha$\/" }, { "b53": "", "b5": "", "b13": "==", "v14": 0.0, "b36": "", "b38": "", "v10": 0.0, "b32": "", "b19": "==", "b57": "", "b59": "", "b17": "", "b1": "==", "v18": 0.0, "v16": 0.0, "b34": "==", "b7": "==", "b11": "", "b9": "", "b51": "", "b15": "", "b3": "", "b55": "==", "v12": 0.0, "cmd": 7.0, "b30": "", "b43": "==", "v21": 0.0, "v1": 0.0, "b26": "", "b28": "==", "obsid": "Main", "b22": "==", "pos": 3.0, "v5": 0.0, "b47": "", "b49": "==", "v3": 0.0, "vis": 1.0, "b24": "", "ms": 0.0, "b41": "", "sel": false, "b45": "", "v9": 0.0, "dis": 0.0, "xpan": 0.0, "b20": "", "v7": 0.0, "b33": "", "v11": 0.0, "b16": "==", "b0": "check", "b58": "==", "b56": "", "b18": "", "b4": "==", "b12": "", "b52": "==", "b39": "", "b37": "==", "v15": 0.0, "b54": "", "b14": "", "b2": "-1", "b31": "==", "v13": 0.0, "b35": "", "v17": 0.0, "v19": 0.0, "b50": "", "b8": "", "b6": "", "b10": "==", "b23": "", "v4": 0.0, "b48": "", "b46": "==", "v20": 0.0, "b42": "", "b29": "", "v0": 1.0, "b27": "", "b44": "", "b21": "", "v6": 0.0, "v8": 0.0, "v2": 1.0, "b25": "==", "b40": "==", "v22": 0.0 }, { "b1": "\/$usuario_racha$\/", "cmd": 200.0, "obsid": "Main", "pos": 4.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "b1": "1", "b3": "RachaUsuario", "cmd": 206.0, "obsid": "Main", "pos": 5.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas", "b2": "usuario_racha" }, { "b1": "RachaUsuario", "cmd": 79.0, "obsid": "Main", "pos": 6.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "RachaUsuarioNumero" }, { "b1": "+=", "cmd": 15.0, "obsid": "Main", "pos": 7.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "RachaUsuarioNumero", "b2": "1" }, { "b1": "1", "b3": "=", "cmd": 207.0, "obsid": "Main", "pos": 8.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas", "b4": "RachaUsuarioNumero", "b2": "usuario_racha" }, { "b1": "", "cmd": 148.0, "obsid": "Main", "pos": 9.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "\/$usuario_racha$\/ lleva fichando, con ésta, una racha de \/$RachaUsuarioNumero$\/ streams." }, { "b1": "\/$global.main_directory$\/rachas.csv", "cmd": 201.0, "obsid": "Main", "pos": 10.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "cmd": 211.0, "obsid": "Main", "pos": 11.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "cmd": 78.0, "obsid": "Main", "pos": 12.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "all" } ], "press_type": 0.0, "x": 0.10000000000000000555111512312578, "border": 2.0, "image": "", "triggers": [ { "requireinput": 0.0, "user_name": "", "case_sensitive": 0.0, "message": "*", "group_id": "", "redeemname": "Fichar", "button_id": "ID26", "trg": 3.0, "allow_empty_wildcard": 0.0 } ], "group_id": "", "overlappable": 0.0, "init_variable": "", "deck": 0.0, "width": 0.10000000000000000555111512312578, "button_id": "ID26", "button_duration": 0.0, "y": 0.29999999999999998889776975374843, "switch_deck": "", "height": 0.10000000000000000555111512312578, "release_list": [ ], "functions": 81.0, "stretch": 0.0 }

3- COMANDO !RACHA

{ "color": 12610906.0, "persistent": 1.0, "text": "CHECK\n!RACHA", "release_duration": 0.0, "queueable": 0.0, "command_list": [ { "b1": "user_name", "cmd": 66.0, "obsid": "Main", "pos": 0.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "UsuarioRachaCheck" }, { "b1": "\/$global.main_directory$\/rachas.csv", "cmd": 202.0, "obsid": "Main", "pos": 1.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "b1": "0", "b3": "check", "cmd": 208.0, "obsid": "Main", "pos": 2.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas", "b2": "\/$UsuarioRachaCheck$\/" }, { "b53": "", "b5": "", "b13": "==", "v14": 0.0, "b36": "", "b38": "", "v10": 0.0, "b32": "", "b19": "==", "b57": "", "b59": "", "b17": "", "b1": "==", "v18": 0.0, "v16": 0.0, "b34": "==", "b7": "==", "b11": "", "b9": "", "b51": "", "b15": "", "b3": "", "b55": "==", "v12": 0.0, "cmd": 7.0, "b30": "", "b43": "==", "v21": 0.0, "v1": 0.0, "b26": "", "b28": "==", "obsid": "Main", "b22": "==", "pos": 3.0, "v5": 0.0, "b47": "", "b49": "==", "v3": 0.0, "vis": 1.0, "b24": "", "ms": 0.0, "b41": "", "sel": false, "b45": "", "v9": 0.0, "dis": 0.0, "xpan": 0.0, "b20": "", "v7": 0.0, "b33": "", "v11": 0.0, "b16": "==", "b0": "check", "b58": "==", "b56": "", "b18": "", "b4": "==", "b12": "", "b52": "==", "b39": "", "b37": "==", "v15": 0.0, "b54": "", "b14": "", "b2": "-1", "b31": "==", "v13": 0.0, "b35": "", "v17": 0.0, "v19": 0.0, "b50": "", "b8": "", "b6": "", "b10": "==", "b23": "", "v4": 0.0, "b48": "", "b46": "==", "v20": 0.0, "b42": "", "b29": "", "v0": 1.0, "b27": "", "b44": "", "b21": "", "v6": 0.0, "v8": 0.0, "v2": 1.0, "b25": "==", "b40": "==", "v22": 0.0 }, { "b1": "", "cmd": 148.0, "obsid": "Main", "pos": 4.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "Lo siento, \/$UsuarioRachaCheck$\/ no ha fichado todavía" }, { "b1": "1", "b3": "RachaUsuario", "cmd": 206.0, "obsid": "Main", "pos": 5.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas", "b2": "UsuarioRachaCheck" }, { "b1": "RachaUsuario", "cmd": 79.0, "obsid": "Main", "pos": 6.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "RachaUsuarioNumero" }, { "b1": "", "cmd": 148.0, "obsid": "Main", "pos": 7.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "\/$UsuarioRachaCheck$\/ lleva fichando una racha de \/$RachaUsuarioNumero$\/ streams." }, { "cmd": 211.0, "obsid": "Main", "pos": 8.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "rachas" }, { "cmd": 78.0, "obsid": "Main", "pos": 9.0, "vis": 1.0, "ms": 0.0, "sel": false, "dis": 0.0, "xpan": 0.0, "b0": "all" } ], "press_type": 0.0, "x": 0.20000000000000001110223024625157, "border": 2.0, "image": "", "triggers": [ { "sub": 0.0, "user_name": "", "case_sensitive": 0.0, "founder": 0.0, "message": "!racha", "moderator": 0.0, "group_id": "", "vip": 0.0, "button_id": "ID27", "broadcaster": 0.0, "trg": 0.0, "allow_empty_wildcard": 0.0 } ], "group_id": "", "overlappable": 0.0, "init_variable": "", "deck": 0.0, "width": 0.10000000000000000555111512312578, "button_id": "ID27", "button_duration": 0.0, "y": 0.29999999999999998889776975374843, "switch_deck": "", "height": 0.10000000000000000555111512312578, "release_list": [ ], "functions": 81.0, "stretch": 0.0 }

Y así de sencillo, tendríais vuestra recompensa de fichar disponible. Espero que os sirva de ayuda y, si tenéis alguna consulta, os ayudaré encantado.

Verificado por MonsterInsights