I have a script for points (common one found on the forums) and I basically have been trying to add a part in for people that are on the "regulars list" to earn a few more points than the normal viewers. I'll post what I believe is where the code should be added in and then my entire script. Any help and/or suggestions are, as always, VERY much appreciated.

add points alias (where I believe should be where it's added in)

Code:
alias -l add.pts {
  if %point.off { return } { 
    writeini -n Points.ini $1 Points $calc($readini(Points.ini,$1,Points) + 1)
  }
  if ($read(reglist.txt,nw,$nick)) {
  writeini -n Points.ini $1 Points $calc($readini(Points.ini,$1,Points) +4) } 
}


This still only add's 1 point to people on the regs list. I've also tried with the "if ($read(reglist.txt,nw,$nick))" portion above the first "writeini" That still only added 1 point.

Entire points script:

Code:
alias -l add.pts {
  if %point.off { return } { 
    writeini -n Points.ini $1 Points $calc($readini(Points.ini,$1,Points) + 1)
  }
  if ($read(reglist.txt,nw,$nick)) {
  writeini -n Points.ini $1 Points $calc($readini(Points.ini,$1,Points) +4) } 
}
alias -l lookUpPoints {
  var %topic $+($chan,.,$nick)
  var %points $readini(Points.ini,%topic,Points)
  return %points
}
alias doaddpoints {
  if ($3 !isnum) { echo 2 -st $3 is not a number. It needs to be a number. | halt }
  var %topic $+($1,.,$2)
  var %points $calc($readini(Points.ini,%topic,Points) + $3)
  writeini -n Points.ini %topic Points %points
  echo -a Added points for %topic
}

alias dorempoints {
  var %topic $+($1,.,$2)
  remini -n Points.ini %topic Points
  echo -a Removed points for %topic
}

on $*:text:/^!points (on|off)/:#:{
  if $nick != mynickhere { return }
  if $2 == off { 
    set -e %point.off 1 
    msg # The ability to earn points is no longer available! 
  }
  else { 
    unset %point.off 
    msg # Points are now available to earn! 
  }
}

on *:text:!pointcheck:#:{
  if ((%floodpointcheck) || ($($+(%,floodpointcheck.,$nick),2))) { return }
  set -u10 %floodpointcheck On
  set -u30 %floodpointcheck. $+ $nick On
  msg # $nick you have $readini(Points.ini,$+(#,.,$nick),Points) total points.
}

on *:text:!pointcheck *:#:{
  if ((%floodcheck) || ($($+(%,floodcheck.,$2),2))) { return }
  set -u10 %floodcheck On
  set -u30 %floodcheck. $+ $nick On 
  msg # $2 has $readini(Points.ini,$+(#,.,$2),Points) total points. 
}

on $*:text:/!points (add|remove)/Si:#:{
  if ($nick == mynickhere) {
    if ($0 < 3) { msg # Insufficient parameters: Use !points <add|remove> <user> [number] | return }
    writeini -n Points.ini $+(#,.,$3) Points $calc($readini(Points.ini,$+(#,.,$3),Points) $iif($2 == add,+,-) $iif($4 isnum,$4,1))
    { msg $chan $3 now has $readini(Points.ini,$+(#,.,$3),Points) total points. }
  }
  else { msg $chan This command is only available to the owner of this channel. }
}
on !*:join:#:{
  $+(.timerpoints.,#,.,$nick) 0 300 add.pts $+(#,.,$nick) 
} 

on !*:part:#:$+(.timerpoints.,#,.,$nick) off
alias -l add.pts {
  writeini -n Points.ini $1 Points $calc($readini(Points.ini,$1,Points) + 1)
}