Well, oops.
I did a simple search, I found the commands needed.
EDIT: Sorry for locking
The solution I found for the give item was making a findclientbyname function called additem.
That didnt work well so I am going to try commandtoClient('useGun');
The solution for detecting the kills was using an if statement like:
if(%client.score >= 5)
{
//code
}
else
{
//code
}