Page 1 of 1

Creating Alias - new and dull user ;)

Posted: Mon Apr 05, 2021 3:58 pm
by tulip
Hi guys,
I know my question will be super basic but I'm a really new user of Mudlet and my friend helped me with all the setup. But.. I need to add one more alias and I have no one to help me right now.. I tried to read manuals and do this by myself but I don't have a lot of free time to look for errors etc..
Can you please help me create it?

It'a a long sequence about herbs that I really need and I will not put it all here - I just need the information what to write in each section etc..
"lower weapon, open bag, take the yellow flower from the bag, eat the yellow flower, close bag, draw a weapon"

If similar topic exists here already please let me know.. I couldn't find it.
Thank you for all the help in advance!

Re: Creating Alias - new and dull user ;)

Posted: Mon Apr 05, 2021 5:19 pm
by Vadi
What would you like to do?

If you'd like to have an alias that sends all that text, try this:
Code: [show] | [select all] lua
sendAll("lower weapon", "open bag", "take the yellow flower from the bag", "eat the yellow flower", "close bag", "draw a weapon")

Re: Creating Alias - new and dull user ;)

Posted: Mon Apr 05, 2021 10:42 pm
by Zaphob
Check out the alias intro - it shows how to succeed a very alike example with screenshots and all:

https://wiki.mudlet.org/w/Manual:Introduction#Aliases