Posted 05 July 2012 - 07:15 AM
This is a really simple scrolling up rule board for servers you can even use it as a service announcer or anything that needs to print text
Put this in startup "edit startup"
ie
Key
C computer
M monitor
[m][m][m]
[m][m][m]
[m][m][m]
[ ][c ][ ]
put this in "edit rules"
if you have more than seven rules just keep adding these
just make sure this is at the bottom
any questions please ask me
Or if you want a alternate version
if you want more than 3 rules simply
Put this in startup "edit startup"
shell.run ("monitor", "top", "rules")
change top to where the monitors are in comparison to the computerie
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) -- change the number to change the speed
print ("RULE 7") -- edit the text within ("")
print ("---------------------------") -- you may have to add more if your screen is wider than 3 monitors
just make sure this is at the bottom
until a -- 1
any questions please ask me
Or if you want a alternate version
local tRules = {
"Rule 1",--edit the text within ("")
"Rule 2",--edit the text within ("")
"Rule 3",--edit the text within ("")
}
while true do
for i, sRule in ipairs(tRules) do
sleep(5)--change the number to change the speed
print(sRule)
print("---------------------------")-- you may have to add more if your screen is wider than 3 monitors
end
end
if you want more than 3 rules simply
local tRules = {
"Rule 1",--edit the text within ("")
"Rule 2",--edit the text within ("")
"Rule 3",--edit the text within ("")
-- add another line here in the same format as above
}