Posted 30 July 2015 - 06:15 AM
Hi Guys,
im currently working on a simple Rednet Doorlock with some additinal functionality like "Lockdown" or "Updates".
Current State of Work [Updated Daylie]
At this point i'm trying to add another little feature: On the screen, i would like to get "Auf", "Zu" and "Offline" in different colors. I created a function that is called in the "writing-loop", but it didnt work out, so i deleted it :/
Overview of the colors:
"Auf" => colors.green
"Zu" => colors.red
"Offline" => colors.orange
Maybe you can give me a hint, how i can improve my code and add this functionality, i might be blind at the moment cause i thougt this little thing would be much easyer …
im currently working on a simple Rednet Doorlock with some additinal functionality like "Lockdown" or "Updates".
Current State of Work [Updated Daylie]
- Server Script: pastebin.com/xa8eQijz
- Client Script: pastebin.com/BPCPTjHe
At this point i'm trying to add another little feature: On the screen, i would like to get "Auf", "Zu" and "Offline" in different colors. I created a function that is called in the "writing-loop", but it didnt work out, so i deleted it :/
Overview of the colors:
"Auf" => colors.green
"Zu" => colors.red
"Offline" => colors.orange
Maybe you can give me a hint, how i can improve my code and add this functionality, i might be blind at the moment cause i thougt this little thing would be much easyer …