From 2f4de629559dae7b9094e73e000b3b2c52ec1877 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 4 Feb 2012 23:16:40 +1000 Subject: Half arsed implementations of the LSL output functions. --- LuaSL/src/LSL.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'LuaSL/src') diff --git a/LuaSL/src/LSL.lua b/LuaSL/src/LSL.lua index 9b52d8c..4916047 100644 --- a/LuaSL/src/LSL.lua +++ b/LuaSL/src/LSL.lua @@ -288,10 +288,10 @@ function LSL.llUnSit(--[[key]] avatar) end; function LSL.llDialog(--[[key]] avatar, --[[string]] caption, --[[list]] arseBackwardsMenu,--[[integer]] channel) end; function --[[integer]] LSL.llListen(--[[integer]] channel, --[[string]] name, --[[key]] id, --[[string]] msg) return 0 end; function LSL.llListenRemove(--[[integer]] handle) end; -function LSL.llOwnerSay(--[[string]] text) end; -function LSL.llSay(--[[integer]] channel, --[[string]] text) end; -function LSL.llShout(--[[integer]] channel, --[[string]] text) end; -function LSL.llWhisper(--[[integer]] channel, --[[string]] text) end; +function LSL.llOwnerSay(--[[string]] text) print("Owner say: " .. text); end; +function LSL.llSay(--[[integer]] channel, --[[string]] text) print("Channel say" .. channel .. ": " .. text); end; +function LSL.llShout(--[[integer]] channel, --[[string]] text) print("Channel shout" .. channel .. ": " .. text); end; +function LSL.llWhisper(--[[integer]] channel, --[[string]] text) print("Channel whisper" .. channel .. ": " .. text); end; function LSL.llMessageLinked(--[[integer]] link,--[[integer]] num, --[[string]] text, --[[key]] aKey) end; @@ -343,6 +343,5 @@ function LSL.vectorTypecast(x) return x; end - return LSL; -- cgit v1.1