From 0e8e404c5a469c8d79f6f6e454fdaa544b2476f1 Mon Sep 17 00:00:00 2001 From: Anorak_1 Date: Fri, 2 Dec 2022 21:08:11 +0000 Subject: [PATCH] Separated seconds and stuff --- papik.sk | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/papik.sk b/papik.sk index b524f4d..4b0036c 100644 --- a/papik.sk +++ b/papik.sk @@ -116,22 +116,38 @@ on placeholderapi placeholder request for the prefix "player": if the identifier is "points": set the result to placeholder "objective_score_GridoGames" from player +every 1 second: + set {_name} to "MaxKolo" parsed as offline player + set {_result} to placeholder "objective_score_XD" from {_name} + set {PapikMaxKola} to {_result} + + set {_name} to "Minuty" parsed as offline player + set {_result} to placeholder "objective_score_XD" from {_name} + set {PapikMinuty} to {_result} + + set {_name} to "Sekundy" parsed as offline player + set {_result} to placeholder "objective_score_XD" from {_name} + set {PapikSekundy} to {_result} + + set {_name} to "Kola" parsed as offline player + set {_result} to placeholder "objective_score_XD" from {_name} + set {PapikKola} to {_result} + + set {_name} to "Hry" parsed as offline player + set {_result} to placeholder "objective_score_XD" from {_name} + set {PapikHry} to {_result} + on placeholderapi placeholder request for the prefix "game": if the identifier is "maxkola": - set {_name} to "MaxKolo" parsed as offline player - set the result to placeholder "objective_score_XD" from {_name} + set the result to {PapikMaxKola} if the identifier is "minuta": - set {_name} to "Minuty" parsed as offline player - set the result to placeholder "objective_score_XD" from {_name} + set the result to {PapikMinuty} if the identifier is "sekunda": - set {_name} to "Sekundy" parsed as offline player - set the result to placeholder "objective_score_XD" from {_name} + set the result to {PapikSekundy} if the identifier is "kola": - set {_name} to "Kola" parsed as offline player - set the result to placeholder "objective_score_XD" from {_name} + set the result to {PapikKola} if the identifier is "hra": - set {_name} to "Hry" parsed as offline player - set the result to placeholder "objective_score_XD" from {_name} + set the result to {PapikHry} every 10 seconds: set {_lu} to "Anorak_1" parsed as player