I assume you're using the widely spread points system, here's a code that uses the same syntax as that one. I wouldn't recommend using that script in the longrun however.
I also don't recommend using this script in any channel with more than 50 users or if there is over 1000 data in the ini file.
on *:text:!give *:#: {
if (($nick !isop #) || ($3 !isnum) || ($0 < 3)) return
if ($2 != all) doaddpoints # $2 $3
else {
var %nicks $nick(#,0)
while (%nicks) {
var %nick $nick(#,%nicks)
doaddpoints # %nick $3
dec %nicks
}
}
}
;Syntax: !give <Specific user|All> <value>