What's wrong with my code?
#1
Can anyone find the issue with the code at http://github.com/bearbin/BearHomes-MCS that causes the error:

Code:
Plugins/BearHomes/HandleHomeCommand.lua:186: attempt to concatenate global 'errorMsg' (a nil value)

when i try to do /home delete and

Code:
Plugins/BearHomes/savehandler-inisave.lua:149: bad argument #2 to 'insert' (number expected, got string)

when i try to do anything else?
Reply
Thanks given by:
#2
What happens if you add print(errorMsg)?
Reply
Thanks given by:
#3
I'll try.

Ok, I fixed the issue when you delete the home, but the home list and set problem is still there.
Reply
Thanks given by:
#4
Fixed the code, there were too many things wrong to name them all.
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)