TIMAS_Bro

marshrut

May 11th, 2023
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. args = {...}
  2. if #args < 1 then
  3. print("Nado: marshrut {KOD RASPISANIJA} {nazvanije raspisnija}")
  4. elseif #args == 1 then
  5. print("Nado: marshrut {kod raspisanija} {NAZVANIJE RASPISANIJA}")
  6. elseif #args > 2 then
  7. print("Mnogovato argumentov! Nado 2!")
  8. else
  9. shell.run("cd","/tables/")
  10. shell.run("pastebin","get",args[1],args[2])
  11. print("gotovo")
  12. shell.run("cd","/")
  13. end
Add Comment
Please, Sign In to add comment