Hey guys I think i found a mIRC bug not small at all....
I was scripting Q from quakenet in mirc...
so i used hashtables one named acclist contains for example :
shock #ircops amnotv
so it's a table with 3 dimensions now your bug ....
I dunno if it's possible to add tables with 3 dimensions, if it's not it's the first bug because in all other program languages it's possible.....
If I say it's possible and i add a few lines like that :
shock #opers amotv
shock #ircops amnotv
shock #help aov
and I like to delete a line i use hdel table item, if I do /hdel acclist shock it will delete all three entries, but it shouldn't cauze the table is written in 3 dimensions.
If I use $hfind before deleting i delete the right line .. so it's working without problems ...
but If I delete the line there is a space in the table, and items after that space won't be accessable from the remote files,
so i need a command like /redo such a command exists (self scripted) but If you try yourself you will see that it won't work with
hashtables written in 3 dimensions!!!
so there is one chance to go around that line bug i use a loop and write all datas in a new table EXCEPT the line i want to delete the line i found with $hfind,
then i do /hfree on the old table where the 1 line is in, then i copy all data from the new table back to the old table so that i can access it again....,
but if there are many users using that system and many channels it won't work cauze then there will be 200 MB in my server ram and not enough free space
to access all commands as fast as before!
read it out and enjoy it - tell me what you think,..
THX for reading .... greetings shock @ irc.deepirc.net