mIRC Home    About    Download    Register    News    Help

Print Thread
#156068 11/08/06 01:57 PM
S
Supercser
Supercser
S
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?

D
darkrift
darkrift
D
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

S
SCNDRL
SCNDRL
S
use $shortfn(Directory) or $+(",Directory,")

S
Supercser
Supercser
S
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.
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
I tried this code using /testtest test
and it worked as it's supposed to.

S
Supercser
Supercser
S
Mine shows:
* /hsave: unable to open 'D:\Program Files\mIRC\UNC.hsh'

ft confused

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
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.

D
DaveC
DaveC
D
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

Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
Universal Naming Convention--As referred to network names, i.e. \\computername.

View its description.

D
DaveC
DaveC
D
Well there ya go, someone who could have driven me home last night, instead i had to sleep in the car.

S
Supercser
Supercser
S
/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

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
If you have a question about the /inc command, you have to state it for us to know what you're wondering about.


Link Copied to Clipboard