mIRC Home    About    Download    Register    News    Help

Topic Options
#115855 - 31/03/05 01:22 AM /server -k
nalAAlan Offline
Vogon poet

Registered: 04/08/04
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
}

Top
#115856 - 31/03/05 01:34 AM Re: /server -k
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
Signed. smile

Top
#115857 - 31/03/05 01:37 AM Re: /server -k
alhammer Offline
Vogon poet

Registered: 03/02/05
Posts: 194
Loc: Georgia, USA
Signed. laugh
_________________________
"God sometimes puts us in the dark for us to see the light"

Top
#115858 - 31/03/05 03:11 PM Re: /server -k
Debug Offline
Vogon poet

Registered: 09/07/04
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

Top
#115859 - 31/03/05 04:15 PM Re: /server -k
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
No. The switch -p is for port.

Top
#115860 - 31/03/05 06:22 PM Re: /server -k
Mentality Offline
Planetary brain

Registered: 01/06/03
Posts: 5024
Loc: London, England
...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

Top
#115861 - 31/03/05 06:27 PM Re: /server -k
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
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

Top
#115862 - 31/03/05 06:40 PM Re: /server -k
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
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>

Top
#115863 - 31/03/05 06:43 PM Re: /server -k
Mentality Offline
Planetary brain

Registered: 01/06/03
Posts: 5024
Loc: London, England
I would figure the only event relevant to /server is the on connect event, which is covered with the -c switch.

Regards,
_________________________
Mentality/Chris

Top
#115864 - 31/03/05 06:50 PM Re: /server -k
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
i would like it so its like you have typed /REMOTE OFF but it only effects that particular server connection

Top
#115865 - 01/04/05 04:20 AM Re: /server -k
Debug Offline
Vogon poet

Registered: 09/07/04
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.

Top
#115866 - 01/04/05 04:31 AM Re: /server -k
Mentality Offline
Planetary brain

Registered: 01/06/03
Posts: 5024
Loc: London, England
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

Top
#115867 - 01/04/05 04:59 AM Re: /server -k
nalAAlan Offline
Vogon poet

Registered: 04/08/04
Posts: 147
I just used -k cause thats the switch /filter uses

Top
#115868 - 12/04/05 11:54 AM Re: /server -k
HIdEiDeNT Offline
Mostly harmless

Registered: 12/04/05
Posts: 1
Loc: AkaKOM JogjaKarta IndoneSia
-k ?
_________________________
Best Regards,
Hideident


ANR.OR.ID

Top
#115869 - 12/04/05 11:08 PM Re: /server -k
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
yes the minus key and the k key !!!!!!!!!!!!!!

Top