so what i want is a script
which makes my eggdrop log all qrys he recieves from a user
but
he should only log the ones which are from a user who is on a specific channel while he qrys the bot.
also the bot should give every logged qry an ID which allways rises up by 1, old logs should never be deleted from the txt, so the bot needs to look for the last writen ID and add 1.
he should log it so that it looks like "ID :: qrying users nick :: writen text" in the txt.
next he should ,when someone who's on the specified channel and a defined list of names says a cmd in qry to the bot ,print in the qry the newest entrys of all person in the specified channel who got neither voice nor op (halfop's not existing on the network i want to use the script

ty
mfg
sYpHx
(i'm sorry if its hard to understand what i want, its a bit hard to explain in short what i want cause my english is not that good, so if u dont understand anything just ask)