Show balance/eq times?

Is there a way I have have mudlet cecho to me balance and equilibrium taken times?

Trying to manage defense handling, and MMF just spazzes out trying to 'rub nimbus' when I try to tell it to keepup cosmic nimbus >.>

Comments

  • Non-coding method: hit the (i) and you'll get timestamps on the left of the main window.

    Coding method: set a variable to os.clock() when your balance goes to 0. When it goes to 1, do something like

    local timetaken = os.clock() - timeused

    cecho("That took "..timetaken.." seconds.")


    If you don't know how to set scripts to run on gmcp events, the tldr is make a script, name it scriptName, add gmcp.Char.Vitals to the user defined event line then hit +, then make a function named scriptName. Anything in the block will run when that gmcp is updated.
  • DysDys
    edited June 2019
    Are you just creating something to put up your defenses? I have an alias that uses stratagems so it just casts the next thing as soon as balance comes back.

    Like my mudlet alias so when I type DEFUP it does:

    send("sm insert 1 free sixthsense | wield gauntlets")
    send("sm add free rub mercy|rub perfection|rub beauty|rub kingdom")
    send("sm insert 1 wondercornucopia activate all")
    send("sm insert 1 chant acquisitio on")
    send("sm insert 1 abjure timeslip")
    send("sm insert 1 chant rubeus")
    send("sm insert 1 lipread")

    Edit: I should probably just use SM ADD rather than a bunch of SM INSERT 1 but it does the job.
Sign In or Register to comment.