mIRC Home    About    Download    Register    News    Help

Print Thread
#156068 11/08/06 01:57 PM
Joined: Jul 2006
Posts: 4
S
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?

Joined: Oct 2004
Posts: 24
D
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
Joined: Dec 2005
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Dec 2005
Posts: 58
use $shortfn(Directory) or $+(",Directory,")


i like that
Joined: Jul 2006
Posts: 4
S
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.
Joined: Aug 2004
Posts: 7,252
R
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.

Joined: Jul 2006
Posts: 4
S
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

Joined: Aug 2004
Posts: 7,252
R
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.

Joined: Sep 2003
Posts: 4,230
D
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

Joined: Jan 2003
Posts: 3,012
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
Joined: Sep 2003
Posts: 4,230
D
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.

Joined: Jul 2006
Posts: 4
S
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

Joined: Aug 2004
Posts: 7,252
R
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.


Link Copied to Clipboard