Hey folks! Long time reader, first time poster! I play Achaea, Aetolia and the occasional Lusternia on MUSH and I love it! Nick, you are the MAN.
In a nutshell, I want to make an alias that would send the individual ID numbers of the vials I choose so I have a master list to refer to when I do my regular pitstop in the city!
I'm still really newb at Lua scripting, dipping my toe into if/then functions (which take a lot of time for me to get to work, if they do at all!) but I'd really love to learn about these magical things called tables :)
Ideally, I'd like to have an alias that I would type out and then append the vial ID number and then what I needed to fill it with, sending both values to a table. (i.e. addempty 123456 health) From what I understand about tables, the ID number would act as the key and "health" would be the value associated with it? (If I'm right, it'll be nice to know 2 months of tedious Access classes at school weren't useless!) And then have a second alias that would print out this info, IDs and elixir to be refilled all nice and side-by-side. Then maybe a third alias that'll remove an item from the table as I fill the vial.
I am but the lowly bottom of the totem pole compared to all your collective prowess! Teach me your ways!
~Marvi
In a nutshell, I want to make an alias that would send the individual ID numbers of the vials I choose so I have a master list to refer to when I do my regular pitstop in the city!
I'm still really newb at Lua scripting, dipping my toe into if/then functions (which take a lot of time for me to get to work, if they do at all!) but I'd really love to learn about these magical things called tables :)
Ideally, I'd like to have an alias that I would type out and then append the vial ID number and then what I needed to fill it with, sending both values to a table. (i.e. addempty 123456 health) From what I understand about tables, the ID number would act as the key and "health" would be the value associated with it? (If I'm right, it'll be nice to know 2 months of tedious Access classes at school weren't useless!) And then have a second alias that would print out this info, IDs and elixir to be refilled all nice and side-by-side. Then maybe a third alias that'll remove an item from the table as I fill the vial.
I am but the lowly bottom of the totem pole compared to all your collective prowess! Teach me your ways!
~Marvi