EDIT: Just saw your post Nillen. I'll try that now, and see how it goes.

EDIT 2: So, with the old "doaddpoints" and "dorempoints" it returns the echo that $3 is not a number. Which is why I altered the alias. However, $2 is still going to be a problem I believe.


Been attempting something with this, which is basically the "doaddpoints" alias.

Code:
alias spinpoints {
  var %topic $+($nick,.,$2)
  var %points $calc($readini(Points.ini,%topic,Points) + %r)
  writeini -n Points.ini %topic Points %points
  echo -a Added points for %topic
}


Now, a few things with this are:
-Clearly the $2 doesn't belong there, but I'm not sure what to replace it with (usually it would be "add" or "remove" when adjusting peoples points. In this case, there is not since it's not in the "!spin" command.

-Secondly, I'm not sure if it's reading the $nick correctly. When I run the script it returns the echo, but it returns it as "Added points for ."

-Third, I'm not nearly experienced enough for this. And perhaps, that's the biggest flaw of all.

Last edited by Bramzee; 08/01/15 06:21 PM.