Here is a standard slap scripts
Simply load it into remotes CTRL + R and click on the nick and slap!
I think your script was ripped by Noa Destiny
http://www.hawkee.com/snippet/3511/
but if im wrong, sorry... It just seems that they are too similar (even in the objects used)