NMDanny

Untitled

Jul 11th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.95 KB | None | 0 0
  1. local mon=peripheral.wrap("right")
  2. mon.clear()
  3. local name="nobody"
  4.  
  5. while true do
  6.     mon.clear()
  7.     local CursorX=1
  8.     local CursorY=1
  9.    
  10.     mon.setBackgroundColor(colors.yellow)
  11.     CursorY=CursorY+1
  12.     mon.setCursorPos(CursorX,CursorY)
  13.     mon.write("Faggot tester mk1")
  14.    
  15.    
  16.     CursorY=CursorY+1
  17.     mon.setCursorPos(CursorX,CursorY)
  18.     mon.setBackgroundColor(colors.black)
  19.     mon.write("Welcome to the faggot tester.")
  20.  
  21.    
  22.     CursorY=CursorY+1
  23.     mon.setCursorPos(CursorX,CursorY)
  24.     mon.write("Press the button to test yourself for faggotry.")
  25.  
  26.  
  27.     mon.setCursorPos(CursorX,CursorY)
  28.     mon.setBackgroundColor(colors.red)
  29.    
  30.     CursorX=3
  31.     CursorY=4  
  32.     mon.write("   ") -- from 3,4 to 6,6
  33.     CursroY=CursorY+1
  34.     mon.write("   ")
  35.     CursroY=CursorY+1
  36.     mon.write("   ")
  37.     CursroY=CursorY+1
  38.     CursorX=1
  39.    
  40.     mon.setBackgroundColor(colors.black)
  41.     local event,side,x,y=os.pullEvent("monitor_touch")
  42.     if x>=3 and x<=6 and y>=4 and y<=6 then
  43.         mon.print("You are a faggot!")
  44.     end
  45. end
Advertisement
Add Comment
Please, Sign In to add comment