Garry's Mod

Garry's Mod

Luapad for GMod 13
Luapad console command line arguments
Hi,

This addon is great, I love it very much, but I cannot figure out to to make it open specific file using the Gmod Command line. You can call it by "luapad" and press enter in the console, which is great, but the only features seems lacking for me are:

Let's say we have the file "addon/file.txt" situated into the data folder of Gmod.

1. Copy file path from file browser on the right. Right mouse button is pressed to copy the file name to the clipboard ( e.g. addon/file.txt )

2. When it is called with vararg ( ... ) to open all the file paths of the vararg as tabs in the luapad. For example when invoked with "loapad addon1/file1.txt addon2/file2.txt", to open file1.txt and file2.txt as tabs in luapad.
Last edited by [Sk$Bh]Trick or treat KID!; 15 Apr, 2020 @ 6:49am