variables: {szpiegowany.%player%} = false {szpieg.%player%} = false {szpiegieg.online.%player%} {szpieg.blokada} options: tag: &3Command Spy on chat: if {szpiegowany.%player%} is true: log "%message%" to "Spy %player%.log" on command: if {szpiegowany.%player%} is true: log "/%command% %arguments%" to "Spy %player%.log" loop all players: if {szpieg.%loop-player%.%player%} is true: send "%player% wywołał komende:/%command% %arguments%" command /commandspy [] []: trigger: if arg 1 is "spy": if arg 2 is player: if {szpieg.%player%.%arg 2%} is false: set {szpiegowany.%arg 2%} to true set {spzieg.%player%.%arg 2%} to true send " &8» &aZaczoles sledzić Gracza %arg 2%" if {szpieg.%player%.%arg 2%} is true: set {szpiegowany.%arg 2%}set false set {szpieg.%player%} set false send " &8» &aPrzestałeś śledzić Gracza %arg 2% if arg 1 is "stan" if arg 1 is "debug" if arg 1 is "online" else: send "&8<>----------{@tag}&8----------<>" send " &8» &aKomendy: " send " &8» &6/&ecommandpspy &7[&espy&7] [&enick&7]" send "&8<>----------{@tag}&8----------<>"