mIRC Home    About    Download    Register    News    Help

Print Thread
hsave: unable to open..why? #156068 11/08/06 01:57 PM
Joined: Jul 2006
Posts: 4
S
Supercser Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Jul 2006
Posts: 4
when i want to hsave a hashtable
mirc main window reminds me:
* /hsave: unable to open 'D:\Program Files\mIRC\aaa.hsh'

it is always normal, but if aaa is some specific words, table can't be hsaved. why?

Re: hsave: unable to open..why? #156069 11/08/06 06:07 PM
Joined: Oct 2004
Posts: 24
D
darkrift Offline
Ameglian cow
Offline
Ameglian cow
D
Joined: Oct 2004
Posts: 24
if there<s space in the the directory where the file is has a space u need to quote that path "D:\Program Files\mIRC\aaa.hsh"

if that didn<t solve it, post ur code here someone will try to help u


the way it's supposed to be !

UnderNet #scripting - #mircscripting
Re: hsave: unable to open..why? #156070 11/08/06 10:11 PM
Joined: Dec 2005
Posts: 58
S
SCNDRL Offline
Babel fish
Offline
Babel fish
S
Joined: Dec 2005
Posts: 58
use $shortfn(Directory) or $+(",Directory,")


i like that
Re: hsave: unable to open..why? #156071 11/08/06 11:09 PM
Joined: Jul 2006
Posts: 4
S
Supercser Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Jul 2006
Posts: 4
thx!

my code:

alias testtest {
var %section = UNC
hadd -m %section $1 1
hsave -s %section %section $+ .hsh
}

plz help me and try, thx!

Last edited by Supercser; 11/08/06 11:09 PM.
Re: hsave: unable to open..why? #156072 12/08/06 12:26 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I tried this code using /testtest test
and it worked as it's supposed to.

Re: hsave: unable to open..why? #156073 12/08/06 01:56 AM
Joined: Jul 2006
Posts: 4
S
Supercser Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Jul 2006
Posts: 4
Mine shows:
* /hsave: unable to open 'D:\Program Files\mIRC\UNC.hsh'

ft confused

Re: hsave: unable to open..why? #156074 12/08/06 03:14 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
hmm..just retested it, and got the same results. Further testing shows that the problem is with the actual file name that you're wanting to use.

I seem to recall that similar problems have been reported before with specific filenames not working.

UNC seems to be one of those filenames, as I changed the name from UNC to TIME and it worked. I don't know if there was a reason for using UNC or not.

Re: hsave: unable to open..why? #156075 12/08/06 08:08 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
UNC stands for something, but it elludfes me at this moment, I think its Universal Network C????? something to do with network redirection or file mapping? My head hurts from last night smile

Re: hsave: unable to open..why? #156076 12/08/06 09:33 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Universal Naming Convention--As referred to network names, i.e. \\computername.

View its description.


-KingTomato
Re: hsave: unable to open..why? #156077 12/08/06 10:55 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Well there ya go, someone who could have driven me home last night, instead i had to sleep in the car.

Re: hsave: unable to open..why? #156078 12/08/06 01:11 PM
Joined: Jul 2006
Posts: 4
S
Supercser Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Jul 2006
Posts: 4
/inc [-cszeuN] <%var> [value]
This increases the value of %var by value.

If you specify the -uN switch, %var is increased by the value once and then %var is unset N seconds later, assuming it is not set again by another script.

The -c switch increases %var once per second.

MIRC maybe comfused--drunk, lol

Re: hsave: unable to open..why? #156079 12/08/06 03:08 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
If you have a question about the /inc command, you have to state it for us to know what you're wondering about.