mIRC Home    About    Download    Register    News    Help

Print Thread
#249578 05/12/14 07:24 PM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
I wish to display each item of information in separate lines.

The information it look so:

Quote:
Current ZNC:
IP: xxxxxx
Port: xxxxx
Networkname: xxx
User: xxxxx
Password: xxxx



echo -a 11,12 $crlf Current ZNC : $crlf 11,12IP:0,12 %ipznc $crlf 11,12Port:0,12 %portznc $crlf 11,12Networkname:0,12 %netwname $crlf 11,12User:0,12 %userznc $crlf 11,12Password:0,12 %passwznc

I know $crlf is not correct.

What is the identifier correct?


JuanAm #249579 05/12/14 07:27 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
As i know you cannot do this you must add line per line on /echo command.

Edit: or use | character on the code (e.g: //echo one | echo two)

Last edited by westor; 05/12/14 07:36 PM.

Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #249580 05/12/14 07:44 PM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: westor
As i know you cannot do this you must add line per line on /echo command.

Edit: or use | character on the code (e.g: //echo one | echo two)


Thanks westor.

My idea was to learn an identifier to do that task.

Does not exist in the current version of mIRC?

JuanAm #249581 05/12/14 07:48 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Of course exist on all of mIRC versions smile


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #249582 05/12/14 07:50 PM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: westor
Of course exist on all of mIRC versions smile

What is?

JuanAm #249583 05/12/14 07:56 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
ALL man starting from 3.x up to upcoming the mirc scripting language has core included as the beginning of the development language.. also you can have a look into the full changelog of mirc to be more sure: http://mirc.com/versions.txt


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #249584 05/12/14 08:02 PM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: westor
ALL man starting from 3.x up to upcoming the mirc scripting language has core included as the beginning of the development language.. also you can have a look into the full changelog of mirc to be more sure: http://mirc.com/versions.txt


Pardon westor.
In short, what is the identifier that performs the task that I desire?

JuanAm #249585 05/12/14 08:04 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
echo -a 11,12 Current ZNC : | echo -a 11,12IP:0,12 %ipznc | echo -a 11,12Port:0,12 %portznc | echo -a 11,12Networkname:0,12 %netwname | echo -a 11,12User:0,12 %userznc | echo -a 11,12Password:0,12 %passwznc

Now is more clear?


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #249588 05/12/14 10:02 PM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: westor
echo -a 11,12 Current ZNC : | echo -a 11,12IP:0,12 %ipznc | echo -a 11,12Port:0,12 %portznc | echo -a 11,12Networkname:0,12 %netwname | echo -a 11,12User:0,12 %userznc | echo -a 11,12Password:0,12 %passwznc

Now is more clear?

westor not be angry.

As I explained earlier, my idea was not to use multiple echos commands, but use a identifier to make the newline.

Thank you

JuanAm #249589 05/12/14 10:08 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Yes sorry i miss understood apologized, there is not any identifier for.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard