Are you tired of writing boring if statements?
Are you tired of being forced to put end
to close them?
Are you tired of how efficient if statements are normally in Lua?
Well now, you can completely ignore all good coding practices, and use my amazing module!
-
Absolutely zero (0) if statements! Who the fuck uses 'em anyways?
-
Horribly inefficient code!
- We allocate a variable for every if, then, and else statement you use!
-
Potential bugs!
-
Capitalization:tm:
-
No need to use an end (in the if statement, at least)!
-
Godhood!
- Seriously, if you use this people will think you are a God because only you can understand the code (well, sometimes)!
-
Satisfaction!
- With no need for those pesky ends, you can always rest assured that we will end it all for you.
-
Download the file and put it in the same folder as your program
-
At the top of your file, simply type
local If = require "If"
, and bang, you've got some new, fancy If statements.
- Just make sure you use a capital
I
(orF
, or both; I'm not judging) so that Lua knows it's different from the normalif
.