SHARE
TWEET

stargate

a guest Feb 17th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --
  2. --  Dial an address
  3. --
  4. --  Usage:
  5. --     dial <address>
  6. --
  7.  
  8. dofile("config")
  9. dofile("compact")
  10. dofile("addresses")
  11. args = {...}
  12.  
  13. function showMenu()
  14.   setCursor(1, 1)
  15.   for i, na in pairs(addresses) do
  16.     print(string.format("%s", i, na[1]))
  17.   end
  18.  
  19. function main()
  20.   sg.dial(args[1])
  21. end
  22.  
  23. try(main)
RAW Paste Data
Top