Creating aliases/triggers from the command line in Mudlet

MUD Client Links and Help
Post Reply
User avatar
Hibbidy
Lieutenant
Posts: 4
Joined: Mon Feb 01, 2021 11:48 am

Creating aliases/triggers from the command line in Mudlet

Post by Hibbidy »

I know some people were finding Mudlet challenging in terms of making aliases/triggers. Here is a script someone made that lets you create aliases and triggers from the Mudlet command line. I just tried it and it works really well.

Just copy/paste this into the "Script" section of Mudlet and name it anything you want, save, logout/disconnect from the mud, then reconnect/log in and it should be active. Type '/alias help' or '/trigger help' for instructions.

Here is the link: https://forums.mudlet.org/viewtopic.php?f=6&t=22609

Examples of how it works:
Syntax for triggers: /trigger pattern >> commands to send
Example: /trigger You are thirsty. >> drink decanter
/trigger * walks in * >> strangle %1 ; wait 1.5 ; zap %1

Syntax for aliases: /alias pattern >> commands to send
Example: /alias dt >> cast 'detect hidden' ; cast 'detect invis'
Example: /alias ff ? >> cast 'fireball' %1
Bimble
Bilge Rat
Posts: 8
Joined: Sat Feb 18, 2023 6:18 am

Re: Creating aliases/triggers from the command line in Mudlet

Post by Bimble »

:D Most helpful - using this method a lot lately to address specific fights or challenges. Thanks!
Post Reply