View difference between Paste ID: YtYFfPLc and VvtuLPG7
SHOW: | | - or go back to the newest paste.
1
--Iniziatore V2 lego11
2
--VARIABILI
3-
local lbl = "BN Credit"
3+
local lbl = "Carta di Identita'"
4
local tabr = {}
5-
tabr.t = "cc"
5+
tabr.t = "ci"
6-
tabr.e = "BN"
6+
tabr.e = "NA"
7
tabr.p = "0000"
8
9
term.clear()
10
term.setCursorPos(1,1)
11-
print("Iniziatore carte di credito")
11+
print("Iniziatore CIE")
12
print("")
13-
print("COPYRIGHT BANCO DI NEBRASKA")
13+
print("COPYRIGHT LEAGUE OF PLAYERS")
14
print("")
15-
print("Inserire il saldo")
15+
print("Inserire il nome")
16-
tabr.v = read()
16+
tabr.n = read()
17
print("")
18
print("")
19
print("Inserire la carta per terminare")
20
print("")
21
m = peripheral.wrap("left")
22
local ncr = textutils.serialize(tabr)
23
m.setInsertCardLight(true)
24
m.beginWrite(ncr, lbl)
25
os.pullEvent("mag_write_done")
26
m.setInsertCardLight(false)
27
print("")
28
print("Terminato")
29
sleep(2)
30
os.reboot()