Jump to content

help for write function quest


Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Spoiler

quest exit_all_player begin
    state start begin
        when login begin
            loop_timer("exit_all_player", 5*60) --check 5 m
        end --when
        when exit_all_player.timer begin
            local exit = game.get_event_flag("exit")
            if exit == 1 then
                command("quit")
            end --if
        end --when
    end--state
end --quest

activation: /e exit 1

deactivation: /e exit 0

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 60

      Inbuild GR2 Animation

    2. 2

      wait() function bug

    3. 0

      Remove Party Role Bonuses

    4. 1

      Fix CBar3D

    5. 2

      set_quest_state not working

    6. 1

      Fix CBar3D

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.