Posted 29 October 2014 - 03:28 AM
First off I'm on tekkit classic normally do direwolf20 but a friend just started mc and wanted to go on classic lol.
Why doesn't this work
I got it working by doing this but why doesn't the top one work?
My other question is I used to have a program running while at the same time have a passward program going. Kinda like have a server program running but if someone trieds to use the server computer will ask them a password before server shuts down so you can do stuff in it. I forgot how I did this and wondering how to do it again.
As in on the server computer itself if you click on it, it will ask you for a password but at the same time it will take/send commands from other ocmputers untill you enter the password to shut down the server script so you can work on it. this way someone can't just come and terminate it and edit it.
Why doesn't this work
if id == 7 or id == 15 and message == "close" then
do stuff
end
I got it working by doing this but why doesn't the top one work?
if id == 7 or id == 15 then
if message == "close" then
do stuff
end
end
My other question is I used to have a program running while at the same time have a passward program going. Kinda like have a server program running but if someone trieds to use the server computer will ask them a password before server shuts down so you can do stuff in it. I forgot how I did this and wondering how to do it again.
As in on the server computer itself if you click on it, it will ask you for a password but at the same time it will take/send commands from other ocmputers untill you enter the password to shut down the server script so you can work on it. this way someone can't just come and terminate it and edit it.