Ah, what? Let me see if I can break this down a bit.
You want us (ie the people who are meant to check code, not create it) to make a program that does the following.
Detects a disk (like with os.pullEvent())
Checks that disk's label (I don't know this can actually be done. . . I'm looking into it)
Compares that label to a table, such as user list (if lbl == lblTbl[v])
Run the code stored in the spot in said table at said index (then loadstring(lblTbl[lbl])).
Then ejects the disk (peripheral.wrap(side), disk.eject())
Okay, so I think I have it. Actually, none of this is too hard, you could probably do it yourself with what I've given you and a look at the Lua reference document.
So, some pseudocode to get you started, whereafter you can come back and ask us for advice, bugfixes (assuming you've tried it yourself) and so forth. But, please, do not use the Ask the Pros section for something you don't want to try yourself.
disk = peripheral.wrap(side)
while true do
pullEvent
if a disk is injected
get disk''s lbl (literally disk.getLabel(), who knew?)
for i, v in pairs(lblTbl) do
if the disk''s label (lbl) is v
function lblFunc = loadtring(lblTbl[v])
disk.eject()
end
end
end
end
So, go at it. I've given you the really hard code, you just need to figure out the other bits.