General > News

Quick fix for the "commands break over time" problem

<< < (3/3)

EscudoDenali:
Ok, I probably sound like an idiot, but how exactly do i make LUA files? I tried copyinganother LUA file and copy pasting the code, but then it doesnt look the same... It just looks like text.  Not all the tabs and cool stuff that other LUA files have.  If someone could help me out, that would be greatly appreciated!

spbogie:
Indentation will have no effect on how the script runs. As long as all the lines remained the same you should be fine.

McGarnagle:
FYI, the news page screws up the code to look like it says =:Code> or something at the top of this tidbit...

I read the comments when i got an error (since im not an LUA guy) and noticed in the thread view the Code block shows up properly.

Just in case anybody is confused, the script starts with the line "_ = nil -- Make sure we're starting out right."

Megiddo:
Thanks for pointing this out! I was messing with some forum settings earlier today and didn't even think to make sure it didn't effect the front page. Fixed!

Navigation

[0] Message Index

[*] Previous page

Go to full version