mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-19 14:25:58 +01:00
Create event.lua
This commit is contained in:
10
Applications/event.lua
Normal file
10
Applications/event.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
local event = require "event"
|
||||
|
||||
while true do
|
||||
local cyka = {event.pull()}
|
||||
print("Ивент: "..cyka[1])
|
||||
for i=2,#cyka do
|
||||
print("Аргумент "..(i).." = "..cyka[i])
|
||||
end
|
||||
print(" ")
|
||||
end
|
||||
Reference in New Issue
Block a user