SHOW:
|
|
- or go back to the newest paste.
1 | - | local sensor = peripheral.wrap("right") |
1 | + | local sensor = peripheral.wrap("right") |
2 | - | |
2 | + | |
3 | - | while true do |
3 | + | while true do |
4 | - | playerNames = sensor.getPlayerNames() |
4 | + | playerNames = sensor.getPlayerNames() |
5 | - | |
5 | + | |
6 | - | for key,name in pairs(playerNames) do |
6 | + | for key,name in pairs(playerNames) do |
7 | - | if (name == "wgcfatalshot" or "xterminator95") then |
7 | + | if (name == "wgcfatalshot" or "xterminator95") then |
8 | - | rs.setOutput("back", true) |
8 | + | rs.setOutput("back", true) |
9 | - | end |
9 | + | end |
10 | - | end |
10 | + | end |
11 | end |