Page 1 of 1

Nested alias

Posted: Tue Apr 27, 2021 6:56 pm
by kdr70
Hello,
I'm new to Mudlet. I manually input my alias' file from another old client. In the other client, it allowed the nesting aliases inside other aliases.
for example below is an alias to login:
the "Log" alias has the following steps after putting in the userid/pw
send("thermo")
send("hq")
speedwalk("w,w")
send("aquire scroll")
send("read scroll")
speedwalk("e,e")
send("bslowg")
send("pt")
send("bslowo")
send("fp")

with exception of the walking and the scroll lines, the others are aliases that have their set of tasks. How does mudlet handle this?

thankyou inadvance for your help with this.

Re: Nested alias

Posted: Tue Apr 27, 2021 7:54 pm
by demonnic
I believe you're looking for expandAlias, it is like send but will check aliases; however, I highly discourage its use. https://wiki.mudlet.org/w/Manual:Functi ... xpandAlias is a page on why, and what you can do instead.