#by Fendi command /kajdanki [] []: trigger: if arg 1 is set: if arg 2 is set: if arg 2 is not player: if arg 1 is "skuj": if player has 1 chain named "&7Kajdanki": loop players in radius 10 of player: if loop-player is arg 2: set {kajdanki::%arg-2%} to true send "&cZostałeś skuty przez %player%" to arg 2 else: send "&cNie masz kajdanek" to player if arg 1 is "rozkuj": loop players in radius 10 of player: if loop-player is arg 2: if {kajdanki::%arg-2%} is true: delete {kajdanki::%arg-2%} teleport arg 2 to player send "&cZostałeś uwolniony przez %player%" to arg 2 if arg 1 is "przenies": loop players in radius 4 of player: if loop-player is arg 2: if {kajdanki::%arg-2%} is true: make the arg 2 ride player send "&cPrzenosisz %arg-2%" else: send "&cNie możesz skuć samego siebie" else: send "&cPoprawne użycie: /kajdanki (skuj/rozkuj/przenies) (gracz)" on player move: if {kajdanki::%player%} is true: cancel event on dismount: if {kajdanki::%player%} is true: cancel event on command: if {kajdanki::%player%} is true: cancel event send "&cNie możesz pisać na chacie! Masz na sobie kajdanki"