This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TheJebForge's profile picture

wdAPI - Watch Dogs like api

Started by TheJebForge, 06 June 2014 - 07:58 AM
TheJebForge #1
Posted 06 June 2014 - 09:58 AM
wdAPI

I make api wich i used in my OS: wdOS
That api have 5 functions:
bc(color) - Change Background Color to <color>
tc(color) - Change Text Color to <color>
wdPrint(x,y,text,background color,text color,cursor color) - Print <text> slowly with square next
wdPrintId(x,y,text,background color,text color,cursor color) - wdPrint analog, but when text written cursor blinks 2 times
wdPrint(x,y,text,background color,text color,cursor color,time to wait,done text) - wdPrintId analog, but cursor blinks until <time to wait> not reached and when reached prints <done text> where cursor been
Download

pastebin get C47ggZLx wdAPI
133spider #2
Posted 22 June 2014 - 03:22 AM
I feel like a hacker now thanks to this API B)/>

Thanks for sharing!

By the way, you should add an exception to check if the user is using an advanced computer or not.