Help - Search - Members - Calendar
Full Version: Making An Alias In Mush
Achaea's Forums > Off-Topic > Tech Support > Client Help
Miron
So im trying to set up alias's for all of my venom's. What i tried to do was when i would type Camus, i would secrete camus, bite target, purge. so essentially it would be a shorter way to attack someone. Ive got my target variable and alias set up, but it dosnt seem to work any help guy's?
Miron
ok so i got the alias to work but for some reason my target variable isnt working.

Alias:t *

Send: %1

Send to: Variable


Variable: Target
Contents: Rat

Thats my targetting alias. Here is my camus alias

Alias: Camus

Send:
Secrete camus
Bite T
Purge

Send to: World
Expand variable's.
Ignore case
Regular Expression
Enabled.



Irion
you have to put @ in front of the variable, so in this case it would be @Target.
Miron
omg i cant believe i forgot that, its been such a long time since ive played achaea. Thanks alot man.
Soludra
Also, when you're pasting triggers/aliases/etc for us to look at, I highly recommend copying it in XML version and pasting it here in [code] forum tags. To copy in XML format, just highlight a trigger (click on one in the list; to highlight more use shift- or ctrl-click) and click the Copy button below the list, and it'll be copied to the clipboard. It provides all the information about the trigger/alias/etc in one fell swoop, and it also makes it a lot easier for one of us to make a change and paste it right back; then you can just copy the XML and hit the Paste button in the MUSH dialog to import the new one.

EDIT: Example, a simple trigger that just re-reflects me if my reflection falls. The content doesn't matter, the point is that it's very easy to pass this XML format around.

CODE
<triggers>
  <trigger
   enabled="y"
   match="^One of your reflections has been destroyed\! You have 0 left\.$"
   regexp="y"
   sequence="100"
  >
  <send>cast reflection at me</send>
  </trigger>
</triggers>
Miron
ok so i have a question for you guy's. Ive made the alias and everything is working. Im not transcendent in venom's yet, so i would i impose a wait time for the Bite to happen? Like some sort of delay for the bite. because right now when i use the alias it secretes then automatically bites before i am done secreting. Should i just make a secrete alias and use a bite alias or is it possible to make a delay?
Sena
For bashing, when you'll be using one venom continuously, what I normally do is secrete after every bite, so I'm done secreting before I recover balance. For PvP, I would just have seperate secrete aliases, so that you can secrete before regaining balance, and then bite as soon as possible.

I can't help much with the actual scripting in MUSH though.
Miron
CODE
<triggers>
  <trigger
   enabled="y"
   match="You sink your fangs into an imp guard, injecting just the proper amount of sumac."
   regexp="y"
   sequence="100"
  >
  <send>sumac</send>
  </trigger>
</triggers>


Would that work as a trigger to instantly secrete sumac when i bite an imp? Because i dont know what im doing wrong there, but its not working.
Soludra
QUOTE (Miron @ Sep 30 2009, 10:44 PM) *
CODE
<triggers>
  <trigger
   enabled="y"
   match="You sink your fangs into an imp guard, injecting just the proper amount of sumac."
   regexp="y"
   sequence="100"
  >
  <send>sumac</send>
  </trigger>
</triggers>


Would that work as a trigger to instantly secrete sumac when i bite an imp? Because i dont know what im doing wrong there, but its not working.


The 'Regular expression' option enables a different (and much more powerful) matching engine than the one MUSHclient uses by default, but it's not needed here; turning on that option when you don't intend to use it often leads to strange problems. At least, they're strange unless you know regex wink.gif Uncheck that and see if it works then. Also - and I know this is obvious, but I have to say it! - be sure you're biting an imp guard when you're testing.
Irion
I would just set it up so that instead of secrete,bite,purge. just do bite,secrete.
Just remember to purge after you're done bashing!
Jaybles
edit: wrong thread
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.