mIRC Home    About    Download    Register    News    Help

Print Thread
#54740 14/10/03 05:16 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
How to enable 'Connect on Startup' with a command?

#54741 14/10/03 06:14 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
You can do it with qwerty's /sendkeys by sending certain keystrokes while mIRC is the active application, but what's wrong with performing /server from an "on start" script?

Last edited by Online; 14/10/03 06:20 PM.
#54742 14/10/03 06:20 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
ok, if it's enabled.. how can i halt it? so it dosen't connect?

since the script need's a restart and then connect to a server...

script need to config stuff the first time its in use.. smirk

Last edited by Deep3D; 14/10/03 06:22 PM.
#54743 14/10/03 07:16 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Since "on start" is fired before an automatic connection, you can use this command inside your event:
  • .timer 1 0 if ($status == connecting) disconnect

#54744 14/10/03 07:46 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
kk, thanks


Link Copied to Clipboard