A male voice is heard through the membrane, "Hey, girl."
A male voice is heard through the membrane, "Are you an Apostate? ..because you just tore my heart out."
Actually no, you don't need to do CONFIG USEQUEUEING ON. The queue still works without it via QUEUE ADD - USEQUEUEING is an option that makes it so any command you send while off-balance will automatically act as if you had sent it as a QUEUE ADD, it isn't just a way of enabling or disabling the queue.Addama said:No.
You can literally just write that as a command.
E: Make sure you do CONFIG USEQUEUEING ON first, though.
client.send_direct("sip health"); setTimeout( function () { client.send_direct("sip health"); }, 10000 );It's 10000 because the time has to be in milliseconds. The first argument has to be an actual function, not a function call so you can't just put slient.send_direction("sip health") in there, you have to wrap it in an anonymous function like this. If you already have a function for sipping health called sipHealth, you could replace it with setTimeout(sipHealth,10000).
client.send_direct("writhe"); client.send_direct("queue add bal writhe");The problem with this is that the queue built into the game isn't much of a "queue" in that everything you add to it tries to fire at once on the next balance recovery. You can't actually throw five things into it and have it run one at a time, on each of the next five balance recoveries. If you want to do something like that, things get tricky. You can do things like have your alias enable a trigger for the line that results from the first queued action's success, and then that trigger adds the next thing to the queue and disables itself. Building an actual queueing system isn't really "simple" though, and it's a lot harder in HTML5 since there isn't a simple way (or at least any documented way) to create temporary triggers. I can think of a way you could build a real queueing system for HTML5 similar to svo's do system, and I might get around to doing it someday, but it isn't totally trivial.
if (transmuting) { client.reflex_disable(client.reflex_find_by_name("trigger","Repeat Transmute")); } else { client.reflex_enable(client.reflex_find_by_name("trigger","Repeat Transmute"));So what this does is check to see if the "transmuting" variable is true. If it is, that means you're currently transmuting, which means that you're using the alias because you want to stop transmuting, so it disables the balance trigger that makes your transmutation repeat. Otherwise (if transmuting is false), it means you want to start transmuting, so it enables the trigger and sends the first transmutation command. The last line just toggles the transmuting variable whenever you use the alias.
client.send_direct("transmutation command that I don't remember"); } transmuting = !transmuting;
var transmuting = false; client.reflex_disable(client.reflex_find_by_name("trigger","Repeat Transmute"));The first line declares the transmuting variable and initializes it to false (since, by definition, you aren't in the process of transmuting when you log in). The second line makes sure the trigger is disabled whenever you log in, in case you logged out with it enabled.
Answers
QUEUE ADD BAL DSL @tar
A male voice is heard through the membrane, "Hey, girl."
A male voice is heard through the membrane, "Are you an Apostate? ..because you just tore my heart out."
Yes, but what if I wanted to create a variable that I use across all the things I make. Such as a variable that has my equivalent equilibrium or balance (factoring in the delay from the server), so I don't have to continually add in WAIT queues, and just script them all in one go. I find it becomes tedious fast.
I have been able to make queue systems, but I wondered if there was a more advance way to script what the queue system manages, but makes unwieldy due to the need to add and order action events, which is time consuming when you're an Alchemist trying to synthesise, transmutate, and decant. I'm finding myself wanting a way to copy and paste a script I make, just filling in the blanks with a new balm, tonic, or mineral. Is there a way to copy?
How do I start making functions to my wait queues: do this, this many times.
A male voice is heard through the membrane, "Hey, girl."
A male voice is heard through the membrane, "Are you an Apostate? ..because you just tore my heart out."
You sir are a gentleman and a scholar. This is exactly what I needed. You can draw a horse to water, but will he drink. You can give a man a fish, but you can teach him how to fish. I found this positively liberating, thank you! I didn't have the right words to describe my problem but you covered everything I was trying to express - how positively wonderful. I could almost give you money, but definitely a big hug.
A male voice is heard through the membrane, "Hey, girl."
A male voice is heard through the membrane, "Are you an Apostate? ..because you just tore my heart out."