variables: {wlacznik.%player%} = false {statusEfektu.%player%} = false {nazwaEfektu.%player%} = "" {silaEfektu.%player%} = 1command /efekt [<text>] [<number=1>]: description: A description of what this command does trigger: if arg 1 isn't set: message "Prosze wpisac argument" if arg 1 is "ogien": set {nazwaEfektu.%player%} to "mobspawner flames" if {wlacznik.%player%} is false: message "Efekt o nazwie %arg 1% zostal wylaczony" set {wlacznik.%player%} to true set {statusEfektu.%player%} to false stop trigger if {wlacznik.%player%} is true: message "Efekt o nazwie %arg 1% zostal wlaczony" set {wlacznik.%player%} to false set {statusEfektu.%player%} to true while player is online: if {statusEfektu.%player%} is true: wait 1 second loop arg 2 times: play {nazwaEfektu.%player%} at player else: stop trigger~ tapatalk