This allows for testing triggers from the command line.
Usage:
`echo line
$ marks the newline, so:
`echo line1$line2
Will produce:
line1
line2
Note: this script is included by default with Mudlet now, you can use it as-is!
ala mudbot style.
`echo test triggers from input line alias
`echo test triggers from input line alias
- Attachments
-
- `echo.xml
- (488 Bytes) Downloaded 1640 times
Re: `echo test triggers from input line alias
This is a great little script, I have used it alot already to test my triggers
Re: `echo test triggers from input line alias
This is really great. Nice work. 

Re: `echo test triggers from input line alias
I think you can use feedTriggers() now.Lyev wrote:This is really great. Nice work.
feedTriggers( text )
This function will have Mudlet parse the given text as if it came from the MUD - one great application is trigger testing. You can use \n to represent a new line - you also want to use it before and after the text you’re testing. The function also accept ANSI color codes that are used in MUDs.
Re: `echo test triggers from input line alias
This alias does use it. It's a wrapper to make that function easy to use.
Re: `echo test triggers from input line alias
Ahh.. The old data of the post confused me! Helpful indeed.
Re: `echo test triggers from input line alias
Unstickied as it's been part of Mudlet for a long while now. Just use it and go!
- SlySven
- Posts: 1007
- Joined: Mon Mar 04, 2013 3:40 pm
- Location: Deepest Wiltshire, UK
- Discord: SlySven#2703
Re: `echo test triggers from input line alias
No it hasn't - it is still stickyed 
