Hi everybody!
Can someone help me with this ?
I have this error in the Guarding.lua script
Test-Hub\scripts\Guarding.lua:707: bad argument #1 to `find' (string expected, got nil)
somewhere in this area
function MyINFOArrival(user,sData)
go to line 707 and find this local s,e,tmp = string.find(user.sDescription,"(%b<>)");
then change it into this
local s,e,tmp = string.find(user.sDescription,"(%b<>)") or "n/a";
that should do the trick .
Typhoon?
In fact i have the same problem, and i do as the solution says, change the line 707, but the problem it's still there. :'(
Do I need to restart the hub, think it will be enough to restart the script ??? which i did...
//Putte
local tmp; if user.sDescription then s,e,tmp = string.find(user.sDescription,"(%b<>)") end
Will try that to, tnx!
//Putte