DeleteFull

From Mudlet
Revision as of 06:15, 26 December 2012 by Phoenix (talk | contribs)
Jump to navigation Jump to search

<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>