Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Terminal Command Code--
- function printUsage(type)
- if type == "turtle" then
- print("Usages:")
- print("turtle get <item_name> (diamond) <amount>")
- print("turtle craft <item_name> (white_bed) <amount>")
- end
- end
- local command = read()
- if command then
- if command == "turtle" then
- printUsage(turtle)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement