Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
nick = "_Ziper_" local modem = peripheral.find("modem") modem.open(19276) a = false b = false while true do local event, username, message, uuid, isHidden = os.pullEvent("chat") local words = {} for word in string.gmatch(message, "%S+") do table.insert(words, word) end if username == "_Ziper_" or username == nick then if words[1] == "go" then print(message) if a == false then print("T") redstone.setOutput("top", true) a = true elseif a == true then print("F") redstone.setOutput("top", false) a = false end elseif words[1] == "st" then redstone.setOutput("front", true) redstone.setOutput("top", false) a = false sleep(5) redstone.setOutput("front", false) elseif words[1] == "dostyp" and username ~= nick then nick = tostring(words[2]) end elseif words[1] == "lift" then blocks = mwords[2] modem.transmit(19276, 19276, blocks) end end end
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)