Jethro commented on a Page, A1 BOT ~UrZBot 2.0~  -  Jun 20, 2010

WorldDMT. That is a nice approach using a hash table. But by using the -m switch, you make it limitless...I believe the default limit is 100 slots. It's kind of a waste to use a hash table that big for as few commands as these. You should use

if !$hget(bot_cmd) { hmake bot_cmd 20 } 

Then just use

hadd bot_cmd item data

upon starting and loading the data instead. 10 or 20 slots is more than enough.

 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.