zarqon
Well-known member
I've wished from time to time that I could check my inventory or the name of a monster or skill while another script was running. Or, I wanted to quickly visit one of the wikis using the "wiki" or "ashwiki" commands.
These commands do not hit the server and would not interfere with the current script's execution. Further, I am already able to do this during my login script -- mafia doesn't add commands to the queue while running the login script, but executes them immediately. I have taken advantage of this quite a few times -- even with commands that do hit the server -- so I know it works.
However, once I have a long script running, I need to abort the script to type in this command, and restarting the script may be undesirable (loss of data or somesuch). It's a hassle.
I'd like a command prefix, perhaps "rush" or "now" (or "sudo" hahaha) that makes the command execute immediately, bypassing the queue.
For example: "now inv star" while autoadventuring in the Hole or "now monsteref bee" if coding handling for bees while running a routine or "now ash last_monster()" during an automated combat.
This makes implementation both simpler and more powerful than my previous idea of immediately executing certain server-hit-less CLI commands. Mafia doesn't need to have any knowledge of whether a certain command hits the server or not -- the power to screw yourself up by running multiple commands simultaneously is in the hands of the user. Fortunately, this feature would likely only be abused by those who know how to get themselves out of whatever trouble they encounter.
These commands do not hit the server and would not interfere with the current script's execution. Further, I am already able to do this during my login script -- mafia doesn't add commands to the queue while running the login script, but executes them immediately. I have taken advantage of this quite a few times -- even with commands that do hit the server -- so I know it works.
However, once I have a long script running, I need to abort the script to type in this command, and restarting the script may be undesirable (loss of data or somesuch). It's a hassle.
I'd like a command prefix, perhaps "rush" or "now" (or "sudo" hahaha) that makes the command execute immediately, bypassing the queue.
For example: "now inv star" while autoadventuring in the Hole or "now monsteref bee" if coding handling for bees while running a routine or "now ash last_monster()" during an automated combat.
This makes implementation both simpler and more powerful than my previous idea of immediately executing certain server-hit-less CLI commands. Mafia doesn't need to have any knowledge of whether a certain command hits the server or not -- the power to screw yourself up by running multiple commands simultaneously is in the hands of the user. Fortunately, this feature would likely only be abused by those who know how to get themselves out of whatever trouble they encounter.