```
do return end
```

Shorter and cleaner.

[editline]24th March 2014[/editline]

Something I’ve never seen is a multi-else[if].

Sort of like finally I guess except it doesn’t always run.

Example:

```
local stuff = getStuff()
if stuff then
local stuff2 = stuff:doSomething()
if stuff2 then
return stuff2:doSomethingElse()
melse(2)
print("either didn't have stuff or didn't have stuff2")
end
```

where melse is the number of blocks to go up (i.e. melse(1) == else)

I can see it not working out well but fuck would it be useful.

[editline]24th March 2014[/editline]

Just in case it’s not clear of my intentions, here’s a live snippet of code:

```
repeat
if gmp.DynaviewFreelookEnabled:GetBool() then
if gmp.DynaviewFreelookActive and not gmp.DynaviewFreelookAng then
gmp.DynaviewFreelookAng = gmp.DynaviewData.angles
end
if gmp.DynaviewFreelookEnabled:GetBool() and gmp.DynaviewFreelookActive then
gmp.DynaviewData.angles = gmp.DynaviewFreelookAng + AngAddCurrent
break
end
end
gmp.DynaviewData.angles = AngCurrent + AngAddCurrent
until true
```

[editline]asd[/editline]

Nevermind, bad example, I need to go to bed:

```
if gmp.DynaviewFreelookEnabled:GetBool() and gmp.DynaviewFreelookActive then
if not gmp.DynaviewFreelookAng then
gmp.DynaviewFreelookAng = gmp.DynaviewData.angles
end
gmp.DynaviewData.angles = gmp.DynaviewFreelookAng + AngAddCurrent
else
gmp.DynaviewData.angles = AngCurrent + AngAddCurrent
end
```

[editline]24th March 2014[/editline]

```
lua_run ::nope:: goto nope
```

Well I guess GM uses 5.2…

[editline]24th March 2014[/editline]

THIS IS THE [EDITLINE] OF LEGENDS

[editline]24th March 2014[/editline]

I AM GOING TO SLEEP FUCK