Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 380 Bytes
function CallMobileServices(m)
http.post("http://yavorg-droid.azure-mobile.net/api/notifyallusers", "message="..m)
print("http request sent with message: "..m)
end
active = false
while true do
local event = os.pullEvent("redstone")
active = not active
if active then
CallMobileServices("INTRUDER ALERT!")
end
end
You can’t perform that action at this time.