room_startup.lua

ackfuss-4.4.1/script/room_startup.lua · 603 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

--function room_enter ()
-- wait.make( function ()
--  wait.pause(3)
--  end
-- )
--end

Site Stats

Snippets: 1791
Codebases: 571