Jump to content




help please


  • You cannot reply to this topic
4 replies to this topic

#1 grazazel

  • Members
  • 11 posts

Posted 28 June 2012 - 02: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

#2 rex41043

  • Members
  • 88 posts

Posted 28 June 2012 - 03: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

#3 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 28 June 2012 - 12: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

#4 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 28 June 2012 - 01:34 PM

Send me the server rules per PM and how exactly it should work and I will program it...

#5 Deathknight0897

  • New Members
  • 95 posts

Posted 04 July 2012 - 10: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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users