mIRC Home    About    Download    Register    News    Help

Print Thread
$hpath() #142263 17/02/06 10:53 AM
Joined: Jan 2006
Posts: 468
symphony Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2006
Posts: 468
Hello, many scripters use hash tables, I had this idea in mind $hpath()
Q: What is $hpath() ?
A: as we use hash tables, we make them /hmake , save them /hsave <path to file>.
Now here comes my idea $hpath(table) will return c:\mIRC\hashtablesdata\tabledata.hash

I believe it will be useful.

Regards,
Sparkle

Re: $hpath() #142264 17/02/06 11:07 AM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Not a bad idea but I think it would be better suited as a property of $hget. $hget().path, for example. I also think it should derive from /hload rather than /hsave.

Re: $hpath() #142265 17/02/06 11:57 AM
Joined: Jan 2003
Posts: 249
C
ClickHeRe Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 249
a table is not linked with it's originating data being a file or simply /hadd commands. That would require Khaled to add extra book keeping which I think he won't for that purpose.