because there are (") in the code and those " " defines the text that should run within the lua.dostring command
" /run local i=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do local n=GetContainerItemLink(b,s) if n then if strfind(n,"
ends the first time here
maybe you should...