Just like the title says, is that possible at all? I know when using the Nexus Client with Lusternia, I'm able to create a variable, say health1 for the value of vial123456. So, I can type into the command line:
refill health1 from health.
Is there any way for me to do something like this within Mudlet? I know how to set up the necessary variables within the Script feature, but can I do something similar to Nexus, and just use the Command Line?
Using Variables in the MUD Command Line
Re: Using Variables in the MUD Command Line
You can use global variables anywhere. Check the relevant manual section on variables and have a close look at the Lua HOWTOS that I've posted in the sticky topic in all subforums.
Look around the older topics in the help forum as most questions have been asked before.
http://mudlet.sourceforge.net/phpBB3/vi ... p?f=9&t=56
http://mudlet.sourceforge.net/phpBB3/vi ... p?f=9&t=60
Code: Select all
send( "refill " .. health .. " from " .. health2 )
http://mudlet.sourceforge.net/phpBB3/vi ... p?f=9&t=56
http://mudlet.sourceforge.net/phpBB3/vi ... p?f=9&t=60