Przerobiłem dosyć ten kod i teraz powinno być git, problemem było ustawianie zmiennej {fly::*} dla player'a a nie dla arg-1
on quit:
if {fly::%player%} is true:
disallow fly for player
delete {fly::%player%}
command /fly [<offlineplayer>] [<text>]:
trigger:
if arg-1 is set:
if arg-1 is online:
if {fly::%arg-1%} is true:
disallow fly for arg-1
send "wylaczony dla %arg-1%"
delete {fly::%arg-1%}
stop
allow fly for arg-1
send "wlaczony dla %arg-1%"
set {fly::%arg-1%} to true
stop
else:
if {fly::%player%} is true:
disallow fly for player
send "wylaczony"
delete {fly::%player%}
else:
allow fly for player
send "wlaczony"
set {fly::%player%} to true