diff --git a/Lua-template.textile b/Lua-template.textile index 1922683..a69cb3d 100644 --- a/Lua-template.textile +++ b/Lua-template.textile @@ -1,4 +1,5 @@
+
e.self:Say(string.format(" %s ",e.other:GetName())); -- to use player name in place of %s in the text.
local fac = e.other:GetFaction(e.self); -- to use for faction condition in an if statement.
@@ -15,10 +16,6 @@ function event_say(e)
end
end
-e.self:Say(string.format("",e.other:GetName()));
-
-local fac = e.other:GetFaction(e.self);
-
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.trade, {item1 = 0})) then