lego11

Untitled

Jan 26th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1.  
  2. local tArgs = { ... }
  3. if #tArgs > 0 then
  4. local nTask = shell.openTab( unpack( tArgs ) )
  5. if nTask then
  6. shell.switchTab( nTask )
  7. end
  8. else
  9. local nTask = shell.openTab( "shell" )
  10. if nTask then
  11. shell.switchTab( nTask )
  12. end
  13. end
Add Comment
Please, Sign In to add comment