Jump to content




Code help?


  • You cannot reply to this topic
1 reply to this topic

#1 rex41043

  • Members
  • 88 posts

Posted 08 May 2012 - 07:35 PM

I have been working on a program but it needs some thing so if it finds code eny where in the file like this for Eg: say("test") and maybe run it as print("") no matter what the text is can eny one help?

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 08 May 2012 - 07:53 PM

I think something like this was asked recently, check out to see if there's an answer.
I would recommend to take a look at the lua string library. The find, match and gmatch functions might be usefull for this.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users