Command to Quit Game

Forum Forums Discussion Command to Quit Game

This topic contains 4 replies, has 3 voices, and was last updated by  Newius 5 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12534

    Newius
    Participant
    0

    Is there a way to get Miqobot to quit the game?

    For example: I set the bot to run my gathering scenario and after it is done with the gathering scenario, the last command is to quit the game.

    Thanks!

    #12536
    Carrott
    Carrott
    Participant
    1+

    I am not sure if they have a function already created for this, but you could easily make a scenario page for it. I have a lot of custom keys, but something like…

    // This is an alternative macro for ESC(opening up the menu) since ESC wouldnt work for me.
    key(ctrl+NUM-,1) 
    // Move cursor up once
    key(NUM8,1)
    // Select Quit Game
    key(NUM0,1)
    // Move Cursor over once for confirmation
    key(NUM4,1)
    // Confirm closing game
    key(NUM0,1)

    I didn’t actually test the final confirmation, because I didn’t want to re-log into the game…, but it should theoretically work. Like Lyfox always says, if you move the cursor during this it won’t work.

    EDIT: I actually thing NUM- will open up the menu normally and you don’t need to make a new keybind for it.

    • This reply was modified 5 years, 7 months ago by Carrott Carrott.
    • This reply was modified 5 years, 7 months ago by Carrott Carrott.
    #12539
    Lyfox
    Lyfox
    Participant
    0

    Yea exactly like that.
    And you can use ESC by wrapping it in {}.

    key({esc}, 1)

    #12546
    Carrott
    Carrott
    Participant
    0

    Yea exactly like that.
    And you can use ESC by wrapping it in {}.

    key({esc}, 1)

    Good to know! Thanks for the information/clarification.

    #12548

    Newius
    Participant
    0

    just tried it and it works, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.