mIRC Home    About    Download    Register    News    Help

Print Thread
Batch File Help #121536 29/05/05 12:32 AM
Joined: May 2005
Posts: 3
S
scav Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: May 2005
Posts: 3
Hi, what I'd like to do is run a 'batch file' from the status window in mirc but don't know how to do it. I know nothing about scripting but the idea is to be able to use regular mirc commands to- register a nick with nickserv, launch a new network connection to a server in a new window etc. I haven't found much on being able to do this and am new to the subject, can something like this be done?


Thanks,

scav

Re: Batch File Help #121537 29/05/05 01:43 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Rather than a batch file, I'd recommed using aliases.

Here are a few suggestions, but if you want more detailed help, I'll need to know just exactly what you want to do

Put this code into your aliases
Code:
/network /server -m $$1
/register /ns register $$2 $$3
  


Usage:
/network Network name
/register Password E-mail address

Re: Batch File Help #121538 29/05/05 09:42 PM
Joined: May 2005
Posts: 3
S
scav Offline OP
Self-satisified door
OP Offline
Self-satisified door
S
Joined: May 2005
Posts: 3
Russel, thanks for the reply and pointing me to alias use. I'm going to hit the docs, answer the basics, and will post again if I need some extra help. Figure I'll find out why you suggested this, appreciate the help.

scav

Re: Batch File Help #121539 30/05/05 02:27 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
np...that's part of the reason we that have experience work these boards