diff Core.lua @ 72:9e5b0a2368ad

Big progress towards GUI usefulness and communication between clients
author John@Yosemite-PC
date Sat, 07 Apr 2012 13:35:57 -0400
parents 236117ab8a49
children 7eb2963eea7d
line wrap: on
line diff
--- a/Core.lua	Tue Apr 03 23:23:22 2012 -0400
+++ b/Core.lua	Sat Apr 07 13:35:57 2012 -0400
@@ -29,6 +29,7 @@
 setfenv(1,bsk)
 
 local pkgrev = " @project-revision@ "
+admin = admin or true
 
 -- important things to remember:
 -- 1) ipairs iterates from 1 until the first missing int index -> no gaps if int
@@ -183,6 +184,10 @@
         PersonList:AddMissing()
         CreateList(arg1)
         PopulateListRandom(arg1)
+    elseif action == "push" then
+        Comm:Push()
+    elseif action == "state" then
+        print(state)
     else
         CreateGUI()
     end