From 8a00af22499cce23e3f414839320d512e327d4bb Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Sun, 27 Dec 2015 09:51:45 -0800 Subject: [PATCH] New version, bug fixes, code changes --- Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml b/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml index fe14649..4743a3a 100644 --- a/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml +++ b/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml @@ -15,7 +15,7 @@ save_state="y" date_written="2015-10-25 12:00:38" requires="4.00" - version="2.9" + version="3.0" > sequence="100" > local group_not_here = {} - require 'tprint' - tprint(epicgroup.members) + if SetCounterDebug == 1 then + require 'tprint' + tprint(epicgroup.members) + end for _,v in ipairs(epicgroup.members) do if tonumber(v.info.here) == 0 and tonumber(v.info.lvl) > 199 then table.insert(group_not_here, v.name) - print(v.name .. " " .. v.info.here .. " " .. v.info.lvl) + if SetCounterDebug == 1 then + print(v.name .. " " .. v.info.here .. " " .. v.info.lvl) + end end end -Send("echo @Y" .. #group_not_here .. " @CPlayer(s) Missing: @W" .. table.concat(group_not_here, ", ") .. "$C") +Send("gt @Y" .. #group_not_here .. " @CPlayer(s) Missing: @W" .. table.concat(group_not_here, ", ") .. "$C")