Posted 27 December 2012 - 07:56 AM
Some of you may know that on my server I restrict ComputerCraft to only my OS so to keep people from using malicious code.
Unfortunately this keeps people who like to use computers for their farms or doors from using them.
So I had an idea, I could let people access the "redstone side" of computercraft, and this is how:
Redscript
So what does it do?
Redscript is a scripting language I made which uses VERY simple commands to execute basic redstone operations and a bit more.
You can toggle redstone signals, wait for inputs, go to different lines ( for loops, etc )
and soon you will be able to compare text to user input ( good for password doors )
Here it is:
http://pastebin.com/YBJxRbSt
How to write scripts:
Basic functions are
SIDE on/off
wait #
wait SIDE
goto #
compare a b ( soon )
There you go, always happy about input and suggestions.
Unfortunately this keeps people who like to use computers for their farms or doors from using them.
So I had an idea, I could let people access the "redstone side" of computercraft, and this is how:
Redscript
So what does it do?
Redscript is a scripting language I made which uses VERY simple commands to execute basic redstone operations and a bit more.
You can toggle redstone signals, wait for inputs, go to different lines ( for loops, etc )
and soon you will be able to compare text to user input ( good for password doors )
Here it is:
http://pastebin.com/YBJxRbSt
How to write scripts:
Basic functions are
SIDE on/off
wait #
wait SIDE
goto #
compare a b ( soon )
There you go, always happy about input and suggestions.