Jethro commented on a Page, !slots  -  Aug 03, 2010

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.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.