Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- Program : Killing people with command computer (vendetta)
- --- Author : LightKnight51
- --- Last modification : 05/12/2020
- --- Functions
- function askPerson()
- person = ""
- print("Nom de la personne ?")
- while true do
- person = tostring(read())
- if not person or person == "" then
- print("Valeur incorrecte !")
- else
- break
- end
- end
- return person
- end
- local arg = { ... }
- function mainProgram()
- --person = askPerson()
- -- while true do
- -- time = math.random(50)
- -- commands.exec("tell " .. arg[1] .. " rip")
- -- time = math.random(50)
- -- sleep(time)
- -- commands.exec("kill " .. arg[1])
- -- sleep(time)
- -- end
- sCommand = ""
- i = 1
- while true do
- if arg[i] ~= nil then
- if i == 1 then
- sCommand = arg[i]
- else
- sCommand = sCommand .. " " .. arg[i]
- end
- else
- break
- end
- i = i + 1
- end
- commands.exec(sCommand)
- end
- mainProgram()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement