Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function loadBG()
- image = paintutils.loadImage("CVSI/image/ImgErrorSession")
- paintutils.drawImage(image,1,1)
- end
- function ecrire(x,y,tcol,bgcol,text)
- term.setCursorPos(x,y)
- term.setTextColor(tcol)
- term.setBackgroundColor(bgcol)
- write(text)
- end
- function graphics()
- ecrire(20,5,colours.white,colours.grey,"Connection")
- ecrire(22,7,colours.white,colours.grey,"Error !")
- ecrire(16,9,colours.black,colours.white,"Please be sure that")
- ecrire(18,10,colours.black,colours.white,"you enter a name")
- ecrire(19,11,colours.black,colours.white,"and a password !")
- ecrire(14,7,colours.black,colours.white,"P")
- ecrire(37,7,colours.black,colours.white,":")
- paintutils.drawPixel(14,9,colours.lightGrey)
- paintutils.drawPixel(14,11,colours.lightGrey)
- ecrire(14,13,colours.black,colours.red,"S")
- ecrire(37,13,colours.black,colours.lime,"t")
- end
- loadBG()
- graphics()
- sleep(1)
- shell.run("session")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement