Been using this plugin for MONTHS and recently caused a crash of MUSH when I tried to use and it ever since has been randomly returning this error
restarting MUSH or reinstalling the plugin or both has managed to fix it most of the time but now it refuses to work even doing that multiple times is there something I missed? I've reinstalled MUSH twice now and still am getting this error. I've redownloaded the plugin countless times and it's seriously getting annoying any ideas?
I originally saw the gfind has been renamed to gmatch line and tried that and while it doesnt return the error when I make that change through the plugin, then it ceases to function correctly. And the fact that reinstalling it a few times and or restarting MUSH has fixed it a few times in the past I seem to think its something else other than just the code.
Run-time error
Plugin: Aardwolf_SpellupLUA (called from world: Aardwolf)
Function/Sub: nospells called by trigger
Reason: processing trigger ""
[string "Plugin"]:463: 'string.gfind' was renamed to 'string.gmatch'
stack traceback:
[C]: in function 'gfind'
[string "Plugin"]:463: in function <[string "Plugin"]:460>
Error context in script:
459 :
460 : function nospells(sName,sLine,wildcards)
461 : spellist = spells
462 : count = 0
463*: for spell in string.gfind(spellist, "[^||]+") do
464 : count = count + 1
465 : end
466 : if count >= 3 then
467 : Send("prompt")
restarting MUSH or reinstalling the plugin or both has managed to fix it most of the time but now it refuses to work even doing that multiple times is there something I missed? I've reinstalled MUSH twice now and still am getting this error. I've redownloaded the plugin countless times and it's seriously getting annoying any ideas?
I originally saw the gfind has been renamed to gmatch line and tried that and while it doesnt return the error when I make that change through the plugin, then it ceases to function correctly. And the fact that reinstalling it a few times and or restarting MUSH has fixed it a few times in the past I seem to think its something else other than just the code.