Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while ( true )
- do
- write ("root/redkali/: ")
- print()
- command = read()
- side = "left"
- if command == "help" then
- print ("KaliRedLinuxTerminal help")
- print()
- print ("rrs - RemoteRedstoneSignal")
- print ("help - View this tip")
- print()
- else
- if command == "rrs" then
- print()
- write ("SignalTime: ")
- time = read()
- print("Connected")
- sleep(1)
- print("Signal on")
- rs.setOutput(side, true)
- sleep ("time")
- print("Signal off")
- print()
- rs.setOutput(side, false)
- else
- print ("Command not found")
- sleep(1)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement