Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local aServers =
- {
- { sName = "LOTRS_Public", sPath = "~/mta_server_pub/mta-server64" };
- { sName = "LOTRS_Publicc", sPath = "~/mta_server_pub/mta-server64" };
- }
- for Index, Table in ipairs( aServers ) do
- local sResult = os.execute("screen -ls | grep "..Table.sName);
- if not sResult then
- local result = os.execute( "screen -S "..Table.sName.." "..Table.sPath );
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement