SHOW:
|
|
- or go back to the newest paste.
1 | os.loadAPI("ocs/apis/sensor") | |
2 | ||
3 | --LATO SENSORE | |
4 | - | se = sensor.wrap("right") |
4 | + | se = sensor.wrap("front") |
5 | ||
6 | - | --LATO ATTIVAZIONE REDSTONE QUANDO SQUILLA L'ALLARME |
6 | + | |
7 | - | lato = "left" |
7 | + | os.pullEvent("redstone") |
8 | - | ritardo = 0 |
8 | + | |
9 | for k,v in pairs(ta) do | |
10 | - | --GIOCATORI PER CUI L'ALLARME NON SI ATTIVA |
10 | + | if v["Name"] == "Player" then |
11 | - | giocatore1 = "Kiiw" |
11 | + | |
12 | - | giocatore2 = "Lay4play" |
12 | + | http.get("http://172.16.20.220/luanet/servlets/antifurto_banca.php?user="..k) |
13 | - | giocatore3 = "" |
13 | + | |
14 | end | |
15 | sleep(30) | |
16 | - | emailMandata = 0 |
16 | + | os.reboot() |