mIRC Home    About    Download    Register    News    Help

Print Thread
#95380 24/08/04 04:04 PM
Joined: Nov 2003
Posts: 4
S
Self-satisified door
OP Offline
Self-satisified door
S
Joined: Nov 2003
Posts: 4
If a password contains a space char (32), how do i tell the script to "keep going" and acknowledge the rest of the word?
for example:

con {
/server "address" "port" pass word
}
;only "pass" will register with the server as the password.

con {
/server "address" "port" pass $+ $chr(32) $+ word
}
;this doesnt work either.

any ideas of how $chr(32) can be successfully passed to the server without thinking its the end of the line? thanks for any help.

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Two possible methods:

- Enter the password manually in the Alt+O dialog and use the command /server GroupName to connect.

- Use the following script:

On ^*:logon:*:{
  • if $server == my.server.address { pass LONG PASS }
}


Link Copied to Clipboard