mIRC Home    About    Download    Register    News    Help

Print Thread
/server -k #115855 31/03/05 12:22 AM
Joined: Aug 2004
Posts: 147
N
nalAAlan Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Aug 2004
Posts: 147
The -k switch would let a user perform a command when they connect to the server
Code:
/server -m undernet -j #mircscripts.org -k authundernet
alias authundernet {
  .msg x@channels.undernet.org auth user pass
}

Re: /server -k #115856 31/03/05 12:34 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Signed. smile

Re: /server -k #115857 31/03/05 12:37 AM
Joined: Feb 2005
Posts: 194
A
alhammer Offline
Vogon poet
Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
Signed. laugh


"God sometimes puts us in the dark for us to see the light"
Re: /server -k #115858 31/03/05 02:11 PM
Joined: Jul 2004
Posts: 150
D
Debug Offline
Vogon poet
Offline
Vogon poet
D
Joined: Jul 2004
Posts: 150
Quote:
The -k switch would let a user perform a command when they connect to the server
Code:
/server -m undernet -j #mircscripts.org -k authundernet
alias authundernet {
  .msg x@channels.undernet.org auth user pass
}


Try replace -k with -p

Re: /server -k #115859 31/03/05 03:15 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
No. The switch -p is for port.

Re: /server -k #115860 31/03/05 05:22 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
...and also for preventing Perform commands being performed, it's for Port when adding a server to the server list.

I support the idea smile

Regards,


Mentality/Chris
Re: /server -k #115861 31/03/05 05:27 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Ah yeah I stand corrected. So if -p is also for preventing how would we use -p to initiate series of commands when connected? All the same, I like it.smile

Re: /server -k #115862 31/03/05 05:40 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I would like to see a -d in the [-mnsarpfoc] set for dont run remotes events

PS : I also like the run a command, but ill throw my two cents in and say i like -g for go and do this command <snicker snicker>

Re: /server -k #115863 31/03/05 05:43 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
I would figure the only event relevant to /server is the on connect event, which is covered with the -c switch.

Regards,


Mentality/Chris
Re: /server -k #115864 31/03/05 05:50 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
i would like it so its like you have typed /REMOTE OFF but it only effects that particular server connection

Re: /server -k #115865 01/04/05 03:20 AM
Joined: Jul 2004
Posts: 150
D
Debug Offline
Vogon poet
Offline
Vogon poet
D
Joined: Jul 2004
Posts: 150
From the mIRC Help file:

/server [-mnsarpfoc] <server/groupname> [port] [password] [-i nick anick email name] [-jn #channel pass]
...
The -pfoc switches prevent perform, popup favorites folder, autojoin channels, and the on connect event when you connect to a server.

Re: /server -k #115866 01/04/05 03:31 AM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Also from the help file:

If you specify any of the -sar switches, the format of the command becomes:

/server -sar [server] [-p port] [-g group] [-w password] [-d description]

Regards,


Mentality/Chris
Re: /server -k #115867 01/04/05 03:59 AM
Joined: Aug 2004
Posts: 147
N
nalAAlan Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Aug 2004
Posts: 147
I just used -k cause thats the switch /filter uses

Re: /server -k #115868 12/04/05 10:54 AM
Joined: Apr 2005
Posts: 1
H
HIdEiDeNT Offline
Mostly harmless
Offline
Mostly harmless
H
Joined: Apr 2005
Posts: 1
-k ?


Best Regards,
Hideident


ANR.OR.ID
Re: /server -k #115869 12/04/05 10:08 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
yes the minus key and the k key !!!!!!!!!!!!!!