I'm BRAND NEW to scripting, but I think I'm understanding what you mean that it should look like this:

alias -l addPoints {
if ($1 !isnum) { echo 2 -st $1 is not a number. It needs to be a number. | halt }
var %topic $+($chan,.,$nick)
var %points $calc($readini(Points.ini,%topic,Points) + $1)
var %points %calc($readini(P.ini,%topic,Points) + $.5)
writeini -n Points.ini %topic Points %points
return %points
}