Difference between revisions of "DeleteFull"
Jump to navigation
Jump to search
(Created page with "--~~~~This function was made by random mudlet users. It works to delete the line, as well as the next line... but only if the next line is a prompt. It works using the isPromp...") |
|||
Line 1: | Line 1: | ||
− | -- | + | <lua> |
+ | |||
+ | --This function was made by random mudlet users. It works to delete the line, as well as the next line... but only if the next line is a prompt. It works using the isPrompt() function built in to mudlet. | ||
− | |||
function deleteFull() | function deleteFull() | ||
deleteLine() | deleteLine() |
Revision as of 06:15, 26 December 2012
<lua>
--This function was made by random mudlet users. It works to delete the line, as well as the next line... but only if the next line is a prompt. It works using the isPrompt() function built in to mudlet.
function deleteFull()
deleteLine() tempLineTrigger(1,1,[[if isPrompt() then deleteLine() end]])
</lua>