11 posts
Posted 28 June 2012 - 03:56 AM
Hi what i am wanting to do is making a program that when someone presses a button or stands on pressure plate will bring the rules of the server up on to a bank of monitors. I am a total noob looking to learn and was wondering if anyone could give me some help on this cheers
87 posts
Posted 28 June 2012 - 04:26 AM
A: you shood not have this listed in programs you need to have it listed in ask a pro
B: you can use a redstone input for that
463 posts
Location
Germany
Posted 28 June 2012 - 01:32 PM
while true do
v1=redstone.getInput("left") --Button
v2=redstone.getInput("right") --Pressure Plate
if v1 and v2 then
--print rules
print("This text will print")
print("This text will print in next line")
end
end
Left Redstone signal: Button
Right Redstone signal: Pressure Plate
378 posts
Location
In the TARDIS
Posted 28 June 2012 - 02:34 PM
Send me the server rules per PM and how exactly it should work and I will program it…
95 posts
Posted 04 July 2012 - 11:27 AM
Hi i already have something like this however it auto runs shouldn't be to demanding on server side and will scroll through automatically
Put this in startup "edit startup"
shell.run ("monitor", "top", "rules")
change top to where the monitors are in comparison to the computer
ie
Key
C computer
M monitor
[m][m][m]
[m][m][m]
[m][m][m]
[ ][c ][ ]
put this in "edit rules"
repeat
sleep(5)
print ("RULE 1")
print ("---------------------------")
sleep(5)
print ("RULE 2")
print ("---------------------------")
sleep(5)
print ("RULE 3")
print ("---------------------------")
sleep(5)
print ("RULE 4")
print ("---------------------------")
sleep(5)
print ("RULE 5")
print ("---------------------------")
sleep(5)
print ("RULE 6")
print ("---------------------------")
sleep(5)
print ("RULE 7")
print ("---------------------------")
until a -- 1
if you have more than seven rules just keep adding these
sleep(5)
print ("RULE 7")
print ("---------------------------")
just make sure this is at the bottom
until a -- 1
any questions please ask me