#AxOzn - Skrypt na oznaczanie graczy na chacie #Nowa wersja - https://skript.pl/temat/39384-axozn-skrypt-na-oznaczanie-graczy-na-chacie-v2/ options: Sciezka: AxOnz/config.yml on load: if yaml value "Message" from file "{@Sciezka}" is not set: set yaml value "Zmienne.Gracz-S" from file "{@Sciezka}" to "{S-PLAYER} ##Gracz Wysylajacy" set yaml value "Zmienne.Gracz-Z" from file "{@Sciezka}" to "{Z-PLAYER} ##Gracz Oznaczony" set yaml value "Zmienne.Data" from file "{@Sciezka}" to "{DATA} ##Data oznaczenia" set yaml value "Zmienne.LOC.S" from file "{@Sciezka}" to "{S-LOCATION} ##Lokacja wysylajacego gracza" set yaml value "Zmienne.LOC.Z" from file "{@Sciezka}" to "{Z-LOCATION} ##Lokacja Oznaczonego gracza" set yaml value "Zmienne.Data" from file "{@Sciezka}" to "{DATA} ##Data oznaczenia" set yaml value "Message" from file "{@Sciezka}" to "&6{S-PLAYER} &7Wspomnial o tobie!" on chat: if player has permission "Ax.Onz": if message contains "@": loop all players: if message contains "@%loop-player%": set {_m} to yaml value "Message" from file "{@Sciezka}" replace all "{S-PLAYER}" with "%player%" in {_m} replace all "{DATA}" with "%now%" in {_m} replace all "{S-LOCATION}" with "%location of player%" in {_m} replace all "{Z-LOCATION}" with "%location of loop-player%" in {_m} replace all "{Z-PLAYER}" with "%loop-player%" in {_m} send "%colored {_m}%" to loop-player