mIRC Home    About    Download    Register    News    Help

Print Thread
#39876 05/08/03 06:10 PM
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
Hi

I'm using 'on START' to connect to a server. I want connections to multiple servers ... one status window for each server.

Can you help me?

#39877 05/08/03 06:11 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on *:START:{
/server -m irc.xx.xx
/server -m irc.xx.xx
/server -m irc.xx.xx
/server -m irc.xx.xx
/server -m irc.xx.xx
/server -m irc.xx.xx
}


new username: tidy_trax
#39878 05/08/03 06:11 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
on *:START: {
server <server1>
server -m <server2>
server -m <server3>
etc.
}


------
deep down, i'm really superficial.
#39879 05/08/03 06:12 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You don't need -m for the first one, you'll end up with a window connected to nothing.

#39880 05/08/03 06:12 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
'-m' opens a new status window, and since mirc automatically opens one when you start it, you don't need to create another one.

edit: also, there is no need for '/' in front of your commands if they are inside brackets

Last edited by feud; 05/08/03 06:13 PM.

------
deep down, i'm really superficial.
#39881 05/08/03 06:13 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
forgot.....


new username: tidy_trax
#39882 05/08/03 06:21 PM
Joined: Jul 2003
Posts: 32
M
mIRCusr Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 32
Thank you very much for your (fast) answers!!!

#39883 05/08/03 06:50 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Quote:
edit: also, there is no need for '/' in front of your commands if they are inside brackets


Personally i prefer when ppl use the / prefix as it "flags" a command, rather than normal text.


-KingTomato
#39884 05/08/03 06:57 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
normal text? what text besides commands do you use inside brackets?


------
deep down, i'm really superficial.
#39885 05/08/03 06:59 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
the point is if i see command or i see /command i kno right away /command is something executed, not a word or parameter.


-KingTomato
#39886 05/08/03 07:02 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
almost every line inside a set of brackets is executed. (notable exception: comments, which already stand out because of their semicolon prefix) so where would you find a word or parameter?


------
deep down, i'm really superficial.
#39887 05/08/03 07:04 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
rather than argue with you and bicker til the cows come how, just leave it at personal preference... you do it your way, i'll do it mine. End of discussion


-KingTomato
#39888 05/08/03 07:07 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
there's no need to get defensive. no one's bickering, i'm just wondering what "word or a parameter" you might get a command confused with.


------
deep down, i'm really superficial.
#39889 05/08/03 07:09 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i know they dont need / but i prefer to use them.


new username: tidy_trax
#39890 06/08/03 12:30 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
A slash is okay to emphasise a command that you are quoting to someone though it is not normal practice to include slashes in remote scripts as mIRC knows that each line is a command anyway, unless it is prefixed with a ; (For comments) or : (For gotos) or any thing else I have forgotten to mention.


Link Copied to Clipboard