Here's what I'm working with, what I'm trying to do I'll comment on below:
on *:join:#:{
$+(.timeraddpts.,$nick) 0 10 addpts $nick 5
addpts $nick 5
}
alias addpts {
if ($2 !isnum) { halt }
hadd points points. $+ $+($chan,.,$1) $calc($hget(points,points. $+ $+($chan,.,$1)) + $2)
}
So basically I'm trying to get this script to increase a person's point count within a hash table using a timer.
The timer will start:
* Timer addpts.doug 10s delay addpts Doug 5
But the alias does not run from the timer, any ideas?