Difference between revisions of "DeleteFull"

From Mudlet
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:
--[[User:Phoenix|Phoenix]] 01:14, 26 December 2012 (EST)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.
+
<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.
  
<lua>
 
 
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>