mIRC Homepage
Posted By: Knappen Hash tables - 12/08/03 02:56 PM
Hi!

My script makes a hash table named users.
i use hmake users 1000 to create it...

But when i exit mirc and restart it, the hash table is deleted. Why? I thought that hash tables didn`t delete them selves on exit...?

thanks for any help! smile
Posted By: Collective Re: Hash tables - 12/08/03 02:59 PM
They do remove themselves on EXIT smile

Use /hsave on EXIT and /hload on START to keep the data. Also remember that on EXIT doesn't trigger when you reset without closing mIRC first (atleast not for me on XP), so you may want to use /hsave every time you make a change to the table instead.
Posted By: Raccoon Re: Hash tables - 12/08/03 04:23 PM
Most bots will save their tables hourly, especially for large user lists. You may consider using a /timer -o with /hsave -o.

- Raccoon
© mIRC Discussion Forums