Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variable = 0
- a = 1
- b = 2
- c = 3
- d = 4
- e = 5
- f = 6
- g = 7
- h = 8
- i = 9
- j = 10
- k = 11
- l = 12
- m = 13
- n = 14
- o = 15
- p = 16
- q = 17
- r = 18
- s = 19
- t = 20
- u = 21
- v = 22
- w = 23
- x = 24
- y = 25
- z = 26
- space = 27
- period = 28
- exclamationpoint = 29
- questionmark = 30
- bb = true
- count = 1
- function recieve()
- while bb == true do
- sleep(0)
- if redstone.getInput("top") == true then
- count = count + 1
- end
- if not count == 1 then
- if redstone.getInput("top") == false then
- bb = false
- print("chains")
- end
- sleep(0.3)
- print(count)
- end
- aa = count
- aa = aa - 1
- count = 1
- bb = true
- end
- function show()
- print("show")
- if aa == 1 then
- io.write("a")
- end
- if aa == 2 then
- io.write("b")
- end
- if aa == 3 then
- io.write("c")
- end
- if aa == 4 then
- io.write("d")
- end
- if aa == 5 then
- io.write("e")
- end
- if aa == 6 then
- io.write("f")
- end
- if aa == 7 then
- io.write("g")
- end
- if aa == 8 then
- io.write("h")
- end
- if aa == 9 then
- io.write("i")
- end
- if aa == 10 then
- io.write("j")
- end
- if aa == 11 then
- io.write("k")
- end
- if aa == 12 then
- io.write("l")
- end
- if aa == 13 then
- io.write("m")
- end
- if aa == 14 then
- io.write("n")
- end
- if aa == 15 then
- io.write("o")
- end
- if aa == 16 then
- io.write("p")
- end
- if aa == 17 then
- io.write("q")
- end
- if aa == 18 then
- io.write("r")
- end
- if aa == 19 then
- io.write("s")
- end
- if aa == 20 then
- io.write("t")
- end
- if aa == 21 then
- io.write("u")
- end
- if aa == 22 then
- io.write("v")
- end
- if aa == 23 then
- io.write("w")
- end
- if aa == 24 then
- io.write("x")
- end
- if aa == 25 then
- io.write("y")
- end
- if aa == 26 then
- io.write("z")
- end
- if aa == 27 then
- io.write(" ")
- end
- if aa == 28 then
- io.write(".")
- end
- if aa == 29 then
- io.write("!")
- end
- if aa == 30 then
- io.write("?")
- end
- if aa == 31 then
- print(" ")
- end
- bb = 999
- variable = 0
- aa = 0
- end
- end
- looper = 100
- recieve()
- print("done")
Advertisement
Add Comment
Please, Sign In to add comment