1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
------------------------------------------------------------------------------
-- @module crawl
------------------------------------------------------------------------------
--- Echoing function for the interpreter.
-- @local
function echoall(...)
util.foreach({...}, function(x)
crawl.mpr(tostring(x))
end)
end
__echo = echoall
--- A wrapper for the low-level sequence of commands needed to produce
-- message output.
-- @tparam string message
-- @tparam int channel message channel number
-- @see crawl.mpr, crawl.msgch_name, crawl.msgch_num
function crawl.message(message, channel)
crawl.mpr(message, channel)
crawl.flush_prev_message()
crawl.delay(0)
end
|