Page 1 of 1
`echo test triggers from input line alias
Posted: Wed Jun 02, 2010 12:39 pm
by Vadi
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.
Re: `echo test triggers from input line alias
Posted: Thu Jun 10, 2010 6:12 am
by Seinchin
This is a great little script, I have used it alot already to test my triggers
Re: `echo test triggers from input line alias
Posted: Mon Feb 20, 2012 6:45 am
by Lyev
This is really great. Nice work.
Re: `echo test triggers from input line alias
Posted: Tue Feb 21, 2012 9:01 am
by Gilmo
Lyev wrote:This is really great. Nice work.
I think you can use feedTriggers() now.
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
Posted: Tue Feb 21, 2012 9:22 am
by Vadi
This alias does use it. It's a wrapper to make that function easy to use.
Re: `echo test triggers from input line alias
Posted: Tue Feb 21, 2012 11:21 am
by Gilmo
Ahh.. The old data of the post confused me! Helpful indeed.
Re: `echo test triggers from input line alias
Posted: Fri Jul 28, 2017 8:05 am
by Vadi
Unstickied as it's been part of Mudlet for a long while now. Just use it and go!
Re: `echo test triggers from input line alias
Posted: Fri Jul 28, 2017 9:08 pm
by SlySven
No it hasn't - it is still stickyed