Nested alias

Post Reply
kdr70
Posts: 1
Joined: Tue Apr 27, 2021 6:43 pm

Nested alias

Post 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.

User avatar
demonnic
Posts: 720
Joined: Sat Dec 05, 2009 3:19 pm

Re: Nested alias

Post 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.

Post Reply