ohhh that means this isnt scripting support website?
It is the Scripting Help forum. Here, we do not write plugins for you. You write plugins and you ask here for help when you can't figure something out on your own.
Your request is basically a shot in the dark considering you have given us no code to look at.