Difference between revisions of "DeleteFull"

From Mudlet
Jump to navigation Jump to search
Line 1: Line 1:
 
<lua>
 
<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.
+
--This function was made by random mudlet users. It works to delete the line, as well as the next line, if the next line is a prompt.
 +
--It works using the isPrompt() function built in to mudlet.
  
 
function deleteFull()
 
function deleteFull()

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