obj_startup.lua

ackfuss-4.4.1/script/obj_startup.lua · 514 B

From the archive ackfuss-4.4.1.tgz

Download the archive   « Back to the archive contents

package.path = "/home/matt/workspace/ackfuss/script/?.lua;" .. package.path
require "wait"

-- send to room - with newline
function rsend (...)
  mud.recho (table.concat {...} .. "\r\n")
end

-- send to room - without newline
function nrsend (...)
  mud.recho (table.concat {...})
end

-- formatted send to room - with newline
function frsend (s, ...)
  mud.recho (string.format (s, ...) .. "\r\n")
end

-- formatted send to room - without newline
function frsend (s, ...)
  mud.recho (string.format (s, ...))
end

Site Stats

Snippets: 1791
Codebases: 571