arezu Posted February 17, 2012 Share Posted February 17, 2012 i tried today with: goto blabla ::blabla:: but i got error that it expects a '=' before blabla on that goto line? wut. Link to comment
Cadu12 Posted February 18, 2012 Share Posted February 18, 2012 You can't use new version of LUA. That function is 5.2 Link to comment
arezu Posted February 18, 2012 Author Share Posted February 18, 2012 You can't use new version of LUA. That function is 5.2 ok thanks. Link to comment
Blueman Posted February 18, 2012 Share Posted February 18, 2012 You can just put a script in a function and execute that function when needed like so. function excutor() --A bunch of code here. CODE() --A bunch of code here. end function CODE() --Your code to be executed here. end Link to comment
codeluaeveryday Posted February 18, 2012 Share Posted February 18, 2012 You can just put a script in a function and execute that function when needed like so. function excutor() --A bunch of code here. CODE() --A bunch of code here. end function CODE() --Your code to be executed here. end Don't think arezu is a noob scripter, trust me he isn't. Link to comment
Blueman Posted February 19, 2012 Share Posted February 19, 2012 It is still polite to make sure he knows. :3 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now