mIRC Homepage

/server -k

Posted By: nalAAlan

/server -k - 31/03/05 12:22 AM

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
}
Posted By: SladeKraven

Re: /server -k - 31/03/05 12:34 AM

Signed. smile
Posted By: alhammer

Re: /server -k - 31/03/05 12:37 AM

Signed. laugh
Posted By: Debug

Re: /server -k - 31/03/05 02:11 PM

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
Posted By: SladeKraven

Re: /server -k - 31/03/05 03:15 PM

No. The switch -p is for port.
Posted By: Mentality

Re: /server -k - 31/03/05 05:22 PM

...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,
Posted By: SladeKraven

Re: /server -k - 31/03/05 05:27 PM

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
Posted By: DaveC

Re: /server -k - 31/03/05 05:40 PM

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>
Posted By: Mentality

Re: /server -k - 31/03/05 05:43 PM

I would figure the only event relevant to /server is the on connect event, which is covered with the -c switch.

Regards,
Posted By: DaveC

Re: /server -k - 31/03/05 05:50 PM

i would like it so its like you have typed /REMOTE OFF but it only effects that particular server connection
Posted By: Debug

Re: /server -k - 01/04/05 03:20 AM

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.
Posted By: Mentality

Re: /server -k - 01/04/05 03:31 AM

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,
Posted By: nalAAlan

Re: /server -k - 01/04/05 03:59 AM

I just used -k cause thats the switch /filter uses
Posted By: HIdEiDeNT

Re: /server -k - 12/04/05 10:54 AM

-k ?
Posted By: DaveC

Re: /server -k - 12/04/05 10:08 PM

yes the minus key and the k key !!!!!!!!!!!!!!
© 2019 mIRC Discussion Forums