• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Recent content by eammonwright

  1. E

    New to Lua, Help please

    I never mentioned this before. I am using MushClient. for Muds, if you guys are familiar with those. So MushClient already has a lot of these functions and libraries built in like the .wait function. So if your running this code through another IDE you will get lots errors like this no file...
  2. E

    New to Lua, Help please

    AH, gotcha. Yes that is apparently different with lua syntax. local ArrayBeach = ArrayBeach = {"w","w","w","w","w","n","e","e","e","e","e","n","w","w","w","w","w","n","e","e","e","e","e","n","w","w","w","w","w","n","e","e","e","e","e","s","s","s","s","s","s","s"} Should be local ArrayBeach =...
  3. E

    New to Lua, Help please

    Somehow the post is showing up weird for me. Var should not be anywhere in my code that I know of. require "wait" wait.make (function () --- coroutine below here time_to_stop = false -- make true elsewhere to make the loop stop local ArrayBeach = ArrayBeach =...
  4. E

    New to Lua, Help please

    require "wait" wait.make (function () --- coroutine below here time_to_stop = false -- make true elsewhere to make the loop stop local ArrayBeach = ArrayBeach = {w,w,w,w,w,n,e,e,e,e,e,n,w,w,w,w,w,n,e,e,e,e,e,n,w,w,w,w,w,n,e,e,e,e,e,s,s,s,s,s,s,s} -- and so on local current_pos = 1...
  5. E

    New to Lua, Help please

    Hello everyone. I'm new here and very new to Lua. I have been learning it by making small scripts for a mud that I play. I am trying to take the next step in my learning by combining a few scripts together to make a functional bot. I dont care about the cheating aspect of it as I wont be running...
Top