arezu Posted February 17, 2012 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.
Cadu12 Posted February 18, 2012 Posted February 18, 2012 You can't use new version of LUA. That function is 5.2
arezu Posted February 18, 2012 Author Posted February 18, 2012 You can't use new version of LUA. That function is 5.2 ok thanks.
Blueman Posted February 18, 2012 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
codeluaeveryday Posted February 18, 2012 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.
Blueman Posted February 19, 2012 Posted February 19, 2012 It is still polite to make sure he knows. :3
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