Well, I can see why you are having trouble understanding this, it took me a while too. There is a $readini() alias you should use instead of $read() to make things a lot more understandable. The top10 script also seems to use a hidden window to do the actual sorting, which is a bit obscure.
For your actual problem, the function below should return the number of points a nick has:
$readini(points.ini, n, $+(#,.,$nick), Points)
If it returns nothing (or 0) you can message your welcome message. You should do this before add.pts though.
If you later want to edit the top10 script to use $readini() aswell, use $ini(points.ini, %i) to go through nicks instead of searching for lines with "#".
thanks for the help, I got it to work. though, it may be ugly :p Im a code manipulator, not a code creator :) Also, dont know how to format this post here. so its all split up. this is all in one "on join {}"
edit: pastebin for those who care. This will only work if you use the points system i have from jally (i think) http://pastebin.com/0Q6b6CWM
ON !*:join:#:{
if ($nick != kassquatch && $readini(points.ini, n, $+(#,.,$nick), Points) > 0) {
$+(.timerpoints.,#,.,$nick) 0 600 add.pts $+(#,.,$nick)
add.pts $+(#,.,$nick)
if ((%floodjoin) || ($($+(%,floodjoin.,$nick),2))) { return }
set -u10 %floodjoin On
set -u30 %floodjoin. $+ $nick On
msg $chan /ME Welcomes $nick back to the stream.
}
elseif ($nick != kassquatch) {
$+(.timerpoints.,#,.,$nick) 0 600 add.pts $+(#,.,$nick)
add.pts $+(#,.,$nick)
if ((%floodjoin) || ($($+(%,floodjoin.,$nick),2))) { return }
set -u10 %floodjoin On
set -u30 %floodjoin. $+ $nick On
msg $chan /ME Welcomes $nick to the stream. Feel free to chat or lurk around! Just remember, to win give-a-ways, you have to be a follower! Type !commands for a list of commands!.
}
}
awesome thanks i shall try that!