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?
    Your mind is completely fucked. It is imperative that you unfuck immediately!

  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

Similar Threads

  1. Replies: 0
    Last Post: 01-03-2018, 12:17 PM
  2. How would you handle a woman attacking you?
    By macgyver in forum Off-Topic
    Replies: 33
    Last Post: 12-12-2016, 02:54 PM
  3. GOP attacking Rep. Shelley Berkley
    By Drylec in forum Politics
    Replies: 3
    Last Post: 03-23-2012, 11:56 PM
  4. falchion-based katana or other OHE-based
    By Srade in forum Wanted
    Replies: 0
    Last Post: 11-10-2008, 01:13 AM
  5. Replies: 22
    Last Post: 06-25-2005, 04:15 AM

Posting Permissions

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