#SUB equivalent.
#SUB equivalent.
I'm looking to make a series of triggers that substitute words or lines. Is there a Mudlet equivalent of zMUD's #SUB?
Re: #SUB equivalent.
I think it is select line () and delete line ()
Re: #SUB equivalent.
http://mudlet.git.sourceforge.net/git/g ... AD#replace
For more information check out the API documentation on these functions: selectCaptureGroup(), selectString(), selectCurrentLine(), replace and deleteLine()
Note that Lua is case sensitive.
For more information check out the API documentation on these functions: selectCaptureGroup(), selectString(), selectCurrentLine(), replace and deleteLine()
Note that Lua is case sensitive.