SteWieH, because Scakk had made an unintentional mistake:> if (!$hget(Slots,$nick)) {
hadd Slots $nick 1000 He put an exclamation mark in front of the $hget, that'll mean if the hash table doesn't exist, add the item and data. hadd command will require a hash table, and ! negates that condition.
I think the quick fix should be:
if (!$hget(Slots,$nick)) {
hadd -m Slots $nick
With the add of the -m switch.