Results 1 to 2 of 2

Thread: conditional attacking based on current encumbrance

  1. #1

    Default conditional attacking based on current encumbrance

    I hunt manually, basically, pressing a macro for stanc o/r attack/r.

    Occasionally due to forgetting about coins or whatnot I will end up in 40 seconds of round time. What I would like to do, if possible, is have lich check my encumbrance every time and make my attack conditional on one of the lesser encumbrance messages is returned (I would choose a list of the "all clear" encumbrance messages based on the round time that is acceptable).

    Can someone point me in the right direction on how to set this up?
    I might not want to buy your item if you don't use lich to arrange delivery, unless we make special arrangements. PM me if I bid on your item and you don't use lich to see if we are going to have issues with delivery because I don't want to use ICQ, AOL instant messager, smoke signals, etc. to get in touch.

  2. #2

    Default

    Uh ... well, it gets complicated real fast depending on what you wanna do, but I guess what you're looking for is something like

    ;e if percentencumbrance < 25 then fput "target random";multifput("stance offensive","kill");fput "stance defensive";end

    Or you can make it a script like ;kill (type your target here) and take out the target random part and have it say

    if percentencumbrance < 25 then multifput("stance offensive","kill #{script.vars1} #{script.vars2}");fput "stance defensive";end
    Last edited by Zarston; 05-15-2018 at 05:54 PM. Reason: Kept trimming fat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •