Vadi2010-12-13 20:56:14
Nah, wouldn't need the .0 actually. Also, for more efficiency, and if you're on m&m, you could do:
mm.doadd("aerocast northwind demesne")
mm.doadd("aerocast rainbowclouds demesne")
mm.doadd("aerocast thunderclouds demesne")
mm.doadd("aerocast westwind demesne")
... etc
Though the echo at the end wouldn't fly.
mm.doadd("aerocast northwind demesne")
mm.doadd("aerocast rainbowclouds demesne")
mm.doadd("aerocast thunderclouds demesne")
mm.doadd("aerocast westwind demesne")
... etc
Though the echo at the end wouldn't fly.
Unknown2010-12-13 20:57:56
They're going for ten second intervals on purpose, not just to give time for balance/equilibrium to come back.
Lilia2010-12-16 09:56:45
Say I export a script and a set of triggers. How do I put them in one .xml so you only have to import one file?
Neos2010-12-16 10:08:51
QUOTE (Lilia @ Dec 16 2010, 04:56 AM) <{POST_SNAPBACK}>
Say I export a script and a set of triggers. How do I put them in one .xml so you only have to import one file?
Two ways that I know, not sure how the second way works exactly.
First:
Export all the necessary stuff, make a blank profile, import them all to that profile, save profile as.
Second:
There's a script on the mudlet forums to export triggers/alias/scripts straight from the profile I think, but no idea how to use it or how it works.
Believe this is it. Make sure to read through it first.
Daedroth2010-12-17 14:27:01
I'm trying to make five timers that will tell me every two seconds how far away my demesne effects are. I have my script set up to call the function for the timers as soon as the last effect is down, but all my attempts at making these five timers has only managed to spam me. Can anyone give me a quick example of how to do this properly?
Edit: never mind, I'll figure it out eventually.
Edit: never mind, I'll figure it out eventually.
Jules2010-12-17 15:53:14
QUOTE (Daedroth @ Dec 17 2010, 09:27 AM) <{POST_SNAPBACK}>
I'm trying to make five timers that will tell me every two seconds how far away my demesne effects are. I have my script set up to call the function for the timers as soon as the last effect is down, but all my attempts at making these five timers has only managed to spam me. Can anyone give me a quick example of how to do this properly?
Pastebin your code so far so we can see what you mean.
Arel2010-12-24 03:44:17
Is there any way I could set up something so that when I lock into the command chair on an aether ship and get the message (You step up to the command chair, locking yourself into the module and linking your mind to the controls of the ship. After a moment, you begin to sense your command of the module in your own brain.) a set of aliases will turn on that let me us N, S, E, W, NW, NE, SE, and SW to PILOT SHIP ? Then the aliases would turn off when I unlocked (With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of the command chair.)?
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.
Please be simple with me.
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.

Unknown2010-12-24 04:12:14
QUOTE (Arel @ Dec 23 2010, 10:44 PM) <{POST_SNAPBACK}>
Is there any way I could set up something so that when I lock into the command chair on an aether ship and get the message (You step up to the command chair, locking yourself into the module and linking your mind to the controls of the ship. After a moment, you begin to sense your command of the module in your own brain.) a set of aliases will turn on that let me us N, S, E, W, NW, NE, SE, and SW to PILOT SHIP ? Then the aliases would turn off when I unlocked (With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of the command chair.)?
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.
Please be simple with me.
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.

I've never tried this, but I'm also a newb and this is the simple solution I could think up of:
1. Create an alias folder for pilot ship directions
2. Make separate aliases within that folder for all your ship directions (e.g. where your N = pilot ship N, etc)
3. Leave this folder deactivated by default
4. Create a trigger for the 'You step up to the command chair ... ' that does
CODE
enableAlias("nameofyouraliasfolder")
(you must have the quotation marks there)5. Likewise, make a trigger for unlocking to do:
CODE
disableAlias("nameofyouraliasfolder")
And voila. Hmm so simple... maybe I should make it for myself too.
Anisu2010-12-24 07:43:41
QUOTE (Arel @ Dec 24 2010, 04:44 AM) <{POST_SNAPBACK}>
Is there any way I could set up something so that when I lock into the command chair on an aether ship and get the message (You step up to the command chair, locking yourself into the module and linking your mind to the controls of the ship. After a moment, you begin to sense your command of the module in your own brain.) a set of aliases will turn on that let me us N, S, E, W, NW, NE, SE, and SW to PILOT SHIP ? Then the aliases would turn off when I unlocked (With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of the command chair.)?
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.
Please be simple with me.
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.

another possible way to do it is to add the following to the locking trigger:
CODE
regex pattern: ^You step up to the command chair\\, locking yourself into the module and linking your mind to the controls of the ship\\. After a moment\\, you begin to sense your command of the module in your own brain\\.$
pilotAlias = tempAlias(],)]])
pilotStopTrigger = tempRegexTrigger(],])
pilotAlias = tempAlias(],)]])
pilotStopTrigger = tempRegexTrigger(],])
Neos2010-12-24 13:50:12
QUOTE (Arel @ Dec 23 2010, 10:44 PM) <{POST_SNAPBACK}>
Is there any way I could set up something so that when I lock into the command chair on an aether ship and get the message (You step up to the command chair, locking yourself into the module and linking your mind to the controls of the ship. After a moment, you begin to sense your command of the module in your own brain.) a set of aliases will turn on that let me us N, S, E, W, NW, NE, SE, and SW to PILOT SHIP ? Then the aliases would turn off when I unlocked (With a long, slow blink, you allow your mind to drift free from the ship, and release your lock on the command of the command chair.)?
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.
Please be simple with me.
Also, I have no clue how to do anything with mudlet really, and have almost zero coding experience.

I just have in my keybindings:
if aetherhunting == false then
send("direction")
else
send("pilot direction")
end
and the variable value is set on the lock in/out triggers.
Ilyssa2010-12-24 14:02:22
I can't recall exactly what it looks like, but I have a string that goes in front of my keybinding.
So then "movement" can be anything from "pilot steer" to "sprint" or anything I may desire.
CODE
send(movement .. " east")
So then "movement" can be anything from "pilot steer" to "sprint" or anything I may desire.
Sylphas2010-12-24 15:36:46
QUOTE (Ilyssa @ Dec 24 2010, 09:02 AM) <{POST_SNAPBACK}>
I can't recall exactly what it looks like, but I have a string that goes in front of my keybinding.
So then "movement" can be anything from "pilot steer" to "sprint" or anything I may desire.
CODE
send(movement .. " east")
So then "movement" can be anything from "pilot steer" to "sprint" or anything I may desire.
This is what I did. It makes swimming, sprinting, leaping, rolling, piloting, gliding, whatever really easy to slot in.
Erylan2010-12-24 19:49:57
Care to elaborate on that?
Elodres2010-12-24 19:57:16
Sylphas2010-12-24 20:57:50
QUOTE (Erylan @ Dec 24 2010, 02:49 PM) <{POST_SNAPBACK}>
Care to elaborate on that?
I have my keypad macroed to:
CODE
send(sq.dirMod .. " ")
if not sq.dirLock then sq.dirMod = ""
if not sq.dirLock then sq.dirMod = ""
and then my function keys bound to:
CODE
sq.dirMod = "surf"
and so on for roll, leap, swim, squint, and glance. Then you bind a key to toggle the lock function, i.e.
CODE
if not sq.dirLock then
  sq.dirLock = true
  sq.note("Directional modifier locked to: " .. string.upper(sq.dirMod), "Keypad", "yellow")
else
  sq.dirLock = false
  sq.note("Directional modifier unlocked.", "Keypad", "green")
end
  sq.dirLock = true
  sq.note("Directional modifier locked to: " .. string.upper(sq.dirMod), "Keypad", "yellow")
else
  sq.dirLock = false
  sq.note("Directional modifier unlocked.", "Keypad", "green")
end
Vadi2010-12-24 22:42:40
I think you want that to be:
if not sq.dirLock then sq.dirMod = ""
send(sq.dirMod .. "")
if not sq.dirLock then sq.dirMod = ""
send(sq.dirMod .. "
Abethor2010-12-26 04:46:44
What's the best way to write a 'defenses up' script, aka how do I account for balance/eq? There isn't a wait command as far as I know...
EDIT: I know that a wait command isn't good coding practice, but I'm fine with it for defenses.
EDIT: I know that a wait command isn't good coding practice, but I'm fine with it for defenses.
Sylphas2010-12-26 04:53:57
QUOTE (Vadi @ Dec 24 2010, 05:42 PM) <{POST_SNAPBACK}>
I think you want that to be:
if not sq.dirLock then sq.dirMod = ""
send(sq.dirMod .. "")
if not sq.dirLock then sq.dirMod = ""
send(sq.dirMod .. "
Nope. I want it to use the modifier, then clear it. If it's locked, the modifiers turn into toggles instead of one time things. So if I'm swimming around, I can lock swim. If I'm just crossing the river, I just have to tap it once.
But you might be right, I suppose, since I haven't actually implemented that yet, it's just on my list.

Lilia2010-12-26 05:00:49
QUOTE (Abethor @ Dec 25 2010, 10:46 PM) <{POST_SNAPBACK}>
What's the best way to write a 'defenses up' script, aka how do I account for balance/eq? There isn't a wait command as far as I know...
You would temp triggers for that:
send("defense 1")
tempTrigger( 5, ])
tempTrigger( 10, ])
tempTrigger( 15, ])
tempTrigger( 20, ])
This would send defense 1, wait five seconds, then send defense 2, then five seconds later, send defense 3, etc. The temp triggers are all created at once, so you have to make sure they're spaced out properly. If you put 5 in every one, they'll all fire five seconds after defense 1. This isn't the best solution, but's it worked alright for me until I found demonnic's chaser script. It's able to know what requires/takes balance/equlibrium and what doesn't. If you use it right, your system can do balance and equilibrium things at the same time. I don't know if he's made it available on it's own, but it's part of the influencer he wrote.
Abethor2010-12-26 05:03:47
QUOTE (Lilia @ Dec 25 2010, 11:00 PM) <{POST_SNAPBACK}>
You would temp triggers for that:
send("defense 1")
tempTrigger( 5, ])
tempTrigger( 10, ])
tempTrigger( 15, ])
tempTrigger( 20, ])
This would send defense 1, wait five seconds, then send defense 2, then five seconds later, send defense 3, etc. The temp triggers are all created at once, so you have to make sure they're spaced out properly. If you put 5 in every one, they'll all fire five seconds after defense 1. This isn't the best solution, but's it worked alright for me until I found demonnic's chaser script. It's able to know what requires/takes balance/equlibrium and what doesn't. If you use it right, your system can do balance and equilibrium things at the same time. I don't know if he's made it available on it's own, but it's part of the influencer he wrote.
send("defense 1")
tempTrigger( 5, ])
tempTrigger( 10, ])
tempTrigger( 15, ])
tempTrigger( 20, ])
This would send defense 1, wait five seconds, then send defense 2, then five seconds later, send defense 3, etc. The temp triggers are all created at once, so you have to make sure they're spaced out properly. If you put 5 in every one, they'll all fire five seconds after defense 1. This isn't the best solution, but's it worked alright for me until I found demonnic's chaser script. It's able to know what requires/takes balance/equlibrium and what doesn't. If you use it right, your system can do balance and equilibrium things at the same time. I don't know if he's made it available on it's own, but it's part of the influencer he wrote.
Thanks a lot!
EDIT: Alright so...If I make an alias for this and want 'defup' to be the alias to execute the script, I put that in the pattern name?