DeleteFull

From Mudlet
Revision as of 06:14, 26 December 2012 by Phoenix (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

--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> function deleteFull()

       deleteLine()
       tempLineTrigger(1,1,[[if isPrompt() then
       deleteLine()
       end]])

</lua>