Need help with an idea I'm trying to implement.

GeraltGeralt Member Posts: 1 Inept
So I'd like to make a "smart" combat trigger with a variable in the output that stands for the last command i sent. Something along the lines of "You have recovered equilibrium." yields (repeat command x). Does anyone have a good tip for how to do this? Is it even possible? (P.S. I'm using MUSHClient if that helps)

Comments

  • ReylReyl Member Posts: 150 Adept
    Unfortunately I've never really used MUSHClient, so I can't answer your question directly. Have you considered using Mudlet? A lot of people can help you with it, now, and personally I like it a lot more.

    Also, for Mudlet, Tulemrah made a great free healing system - even if you end up making your own, it's vital that you have a look over how they work - no sense in reinventing the wheel. What you're trying to make is more or less what others call a "do" queue - and Tulemrah's "Medic!" system includes one of these.
  • EveriineEveriine Wise Old Swordsbird / Brontaur Indianapolis, IN, USAMember Posts: 2,981 Transcendent
    Iasmos is the current MUSHclient master, if you can get a hold of him.
    Everiine is a man, and is very manly. This MAN before you is so manly you might as well just gender bend right now, cause he's the manliest man that you ever did see. His manly shape has spurned many women and girlyer men to boughs of fainting. He stands before you in a manly manerific typical man-like outfit which is covered in his manly motto: "I am a man!"

    Daraius said: You gotta risk it for the biscuit.

    Pony power all the way, yo. The more Brontaurs the better.
  • IasmosIasmos Member Posts: 461 Virtuoso
    edited February 2014

    Post edited by Iasmos on

  • KioKio Member Posts: 992 Mythical
    Iasmos said:
    You might also want to read HELP STRATAGEMS.
    I believe you mean AB COMBAT STRATAGEM, which is a decent hunk of lessons for a new player.
  • TarkentonTarkenton Traitor Bear Member Posts: 2,555 Transcendent
    This is speaking off the cuff, and with pretty much nil Mushclient experience.  If it's a command you already have aliased, I'd add some sort of variable to it named LastCommand or something and makes its value the command that your alias sends to the game.  When you hit equilibrium, have a trigger send the value of LastCommand.

    If you don't have it aliased, alias it. :D

    This is a pretty simplistic way of doing it, and I'm sure there's a better/more efficient way to do it.
    image
Sign In or Register to comment.