Wait4Rez implementation in LUA

Wait4Rez implementation in LUA 0.0.4

Download


wait4rez​

Re-implementation of the old Wait4Rez macro in Lua for those of you who want macro control of character deaths. Code is writting from scratch but inspired by the old wait4rez.inc

When character dies, its set in a waiting for resurrection mode. Once resurrected, it attempts to loot a single corpse.

Runs as a state machine inside other macros or can be called from a stand alone script.

Requirements​

  • MQ
  • MQ2Lua

Installation​

Add wait4rez.lua to the lua folder of your MQ directory.

Usage​

Lua:
local wait4Rez = require 'wait4rez'

-- add following call into your bot loop
wait4Rez()

Commands​

  • /wait4rez sets character in wait4rez mode
  • /waitforrez sets character in wait4rez mode
  • /dead sets character in wait4rez mode
  • /lootCorpse sets character in loot corpse mode
Author
Wednesday
Watchers
13
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Wednesday

Share this resource

Latest updates

  1. Change to github resource

    Changed from pure file download to a github external resource for better change tracking.
Back
Top
Cart