I'm a tad rusty, so I need some help on this. My code roughly looks something like this.
function specload(file)
if (spec==16) then return -1 end
local spehand=0
local specdata=0
checkArg(1, drv, "string")
local tmp="/special/" .. file
if (filesystem.exists(tmp)==true) then
spechand=filesystem.open(tmp)
tmp=""
repeat
specdata=filesystem.read(spechand, math.huge)
tmp = tmp .. (specdata or "")
until not specdata
read = load(tmp)
read()
tmp=0
if not special.type then
while true do
if(spec[tmp]==0) then
spec[tmp