mIRC Home    About    Download    Register    News    Help

Print Thread
#181157 18/07/07 09:45 PM
Joined: Jun 2005
Posts: 30
_
_DuDe_ Offline OP
Ameglian cow
OP Offline
Ameglian cow
_
Joined: Jun 2005
Posts: 30
I want to have a script writeini to a different folder. Example:

Code:
writeini $2 $+ .ini Link URL $3
writes to the .ini file in the mIRC install dir.

I want to have it write to an .ini file in the folder links in the mIRC install dir.

Please help.

_DuDe_ #181159 18/07/07 10:04 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
alias link {
  mkdir Links
  writeini $+(",$mircdirLinks\,$1,.ini,") Link URL $2
}


/link mIRC www.mirc.com

Creates a folder called Links, with mIRC.ini inside it containing:

[Link]
URL=www.mirc.com

Joined: Jun 2005
Posts: 30
_
_DuDe_ Offline OP
Ameglian cow
OP Offline
Ameglian cow
_
Joined: Jun 2005
Posts: 30
Thanks, however right before I came back here to look for any responces, I figured it out on my own. Thanks anyways.

_DuDe_ #181182 19/07/07 01:43 PM
Joined: Dec 2002
Posts: 271
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
thats what they all say cool, not saying its not true btw, lol


Link Copied to Clipboard