The Introduction

So you want to learn glua huh?

First off, let me ask you why would you ever want to learn glua?! Lua is almost as bad as Javascript and/or php…
but anyhow, this guide isn’t about that.

First things first, we need an editor!

You can use literally any editor for this stuff. You can even use notepad!
It’s amazing, right?
but pixel what editor do you use!!! - You
Well, youngling, I use vim and sometimes emacs. But I’m assuming you’re using Windows, because… of course.
Which means they don’t really work amazingly on windows, and your puny little brain probably couldn’t handle it.
So, onto the REAL editors I would recommend.

Sublime Text 3

An all around good little text editor imo, has a package manager like the others.
Works well from my experience and the default theme is nice.
Download Me

Notepad++

While I don’t use this one, nor really like it, It works.
It supposedly has some packages, not a package manager (I don’t think?) but it also works.
Download Me

VSCode

I’ve personally used this one and I would say that I like this one the most out of the 3.
It’s got a nice feel to it and the package manager is nice.
I would also recommend Atom if you like VSCode.
Download Me

And for all you vim/emacs users

Firstly, you’re amazing.
Second, I could barely find a lexer for vim, and I couldn’t find one for emacs.
Here’s the link
Sorry, emacers, you’ll have to use lua-mode.

The Linter

Once you’ve got an editor of your choice downloaded and/or installed. We can begin by getting you a lexer.
This will provide you with syntax highlighting, code errors, and possibly autocomplete!

Here are the respective download links that I could find for the 3 editors above:
Sublime
Notepad++
VSCode

Now that you’ve got that, hopefully (if you could figure it out…),
we can begin spiraling downwards into the depths of garrysmod.

Hop on over to the start of your hell