Pagina 1 din 1

[Quest] - Auto Weak / Weak / Pull

Scris: 08 Iun 2020, 20:56
de Dreamer.

Cod: SelectaĊ£i tot

quest weak_pull begin
    state start begin
        when 30503.use begin
            say_title("Weak & Pull")
            local scelta = select("Weak", "Weak & Pull", "Disattiva", "Chiudi")
            if scelta == 1 then
                chat("Weak attivato")
                loop_timer("weak", 2)

            elseif scelta == 2 then
                chat("Weak & Pull attivato")
                loop_timer("weak_pull", 2)

            elseif scelta == 3 then
                chat("Disattivato")
                cleartimer("weak")
                cleartimer("weak_pull")
            end
        end

        when weak.timer begin
            command("weak")
        end

        when weak_pull.timer begin
            command("pull all")
            command("weak")
        end
    end
end