Facebook
From Abrupt Octupus, 7 Years ago, written in Plain Text.
This paste is a reply to OMG from xN0MANDx - go back
Embed
Viewing differences between OMG and Re: OMG
command /targ:
    trigger:
        wait a tick
        open chest with 6 rows named "&1&l&oTargi" to player
        set {_targi::*} to {targi2::*}        
        set {_targi} to size of {targi2::*}        
        loop {_targi} times:
            add 1 to {targil}
            set {targio.%{targil}%} to player 
            add {targio.%{targil}%} to {targi2::*}
            wait 0.01 second
            format slot {targil} of player with chest named "&d&oTarg %{targio.%{targil}%}" to close then run "sprawdz %player%"
        
on join:
    add player to {targi2::*}
    set {targil} to -1
    
on quit:
    clear {targio.%{targil}%}
    set {targil} to -1
    clear {targi2::*}
    set {_targi::*} to {targi2::*}
    set {_targi} to size of {targi2::*}