Bump version
[phplua.git] / tests / events.lua
blob55b48ed6bdea6eb0db9ee1c13d5ca323b521f43e
1 function hund()
2 print("hund\n")
3 return 1,2
4 end
6 events={test=1}
7 function events:OnLoad()
8 print("ONLOAD\n")
9 return {13,13,{"peter"}},"ha"
10 end
12 function events:OnTest()
13 print("ONTEST\n")
14 print(self.test)
15 end
17 function events:OnFinish()
18 print("ONFINISH\n")
19 end
21 events:OnTest()
22 events:OnTest()
23 events:OnTest()
24 events:OnTest()
25 events:OnTest()
26 events:OnTest()
27 events:OnTest()
28 events:OnTest()
29 events:OnTest()