I use Wadman's script in the betascript corner in a mission and it works great.Sure, only the leader of a group is a target, but that solveable with a random command.
About learning scripts...
I've started 2 and a half years ago without any script knowledge (just a little basic
)
I've started to read the command reference, first the official then the unofficial.
I also read several basic and advanced scripting tutorials but I"m what they call a selfmade man,... so I had to see and do it by myself ,so I wrote lots of small testmissions for every command that wasn't so obvious for me.
But the best tool to learn scripting is imo unpbo...to take a peek in other pll scripts.
Step by step ,command by command, take your time, take notes, actually it's quite logical stuff.
And I have still so much to learn...
And offcourse you are on the perfect place here, OFPEC is the ultimate source to learn editing and scripting.