

throw gauntlet to Eric-wait 3 seconds-exclaim Let us end this here! Events allow the user to make triggers for specific events like when Mudlet has connected to the game, or even user-defined events to use in complex system making. pressing CTRL+H to send "say Hello Miyuki!" to the game or play La Marseillaise Timers delay the execution of a command or execute it after a specified period of time. Keybindings also known as hotkeys, allow executing certain user-defined commands by simultaneously pressing a specific combination of keys e.g. gamesends: "You see Elyssa standing here." and Mudlet automatically sends "poke Elyssa" to the game. Triggers execute user-defined commands upon receiving specific out from the game, e.g. Variables allow the user to store text or numbers for easier use inside scripts. typing gg to have get gold from ground put gold in bag be sent to the game. These include, but are not limited to:Īliases User-defined text input, which is converted into a different, usually longer input before being sent to the game. Mudlet offers a vast array of standard features to automate or otherwise improve your gaming experience. However, we do not endorse or promote the usage of automation if it is prohibited in your game! Keep in mind that by cheating you can lessen the quality of gameplay for both your fellow players and yourself. For these and various other reasons the administrators and owners of some games forbid or limit the use of automation tools.īy including scripting support in Mudlet, we effectively give you the ability to create and utilize AI toolkits. In some cases it can have much more far reaching consequences on a game, such as inflation, loss of balance in terms of game-mechanics or, ultimately, a complete crash of in-game economy. Because scripting is so powerful, it can give you a competitive advantage that some people consider unfair or even cheating. Even more so, an AI can outperform you in every routine operation, depending on the complexity of the task. It is possible to create an Artificial Intelligence (AI) that does everything you can do in a game.

So in your case you might want to filter out some combat lines that you don't care to see like mob misses or mob failed spell casts or whatnot. The first prompt line starts with "Opponent:" and the second contains the pattern "exp%(%d+%%%)". The prompt line is made up of three lines: one blank line that precedes the prompt and the two lines that make up the actual prompt line. For example when it triggers on something like "A citizen walks in from the north", it will delete that line and then use the tempLineTrigger function to also delete my prompt line that shows up after the NPC action.
MUDLET CREATE ALIAS CODE
The trigger in the screenshot triggers on the lines I want to filter out and the code portion deletes the triggered line using deleteLine() but then also looks ahead a few lines and deletes my prompt line. I use it to filter out NPC actions that I don't care to see like moving in and out of the room, casting spells, etc. I've just been playing around with it for when my character is sitting in town. It might not be something you need but it really changed my world when I discovered it. You can do this in most clients (zmud, mudlet, etc). Something I haven't seen mentioned here yet that might help in your situation is "gagging"-a way to filter the output on the screen to make things more readable.
