mIRC Home    About    Download    Register    News    Help

Print Thread
Combining text? #255362 14/10/15 04:31 PM
P
PurpleDxD
Unregistered
PurpleDxD
Unregistered
P
Let's say I want to send a message to $chan

my script currently has this

msg $chan Map DL: https://asd/s/ $read(id.txt,t,1)

output : https://asd/s/ (Content of id.txt)

Needed output : https://asd/s/(Content of id.text)

How do I combine strings and remove that space?

Thanks.

Re: Combining text? [Re: ] #255363 14/10/15 05:07 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
$+(Test,ing) = Testing
Test $+ ing = Testing

This also works with dynamic values such as variables and $read
Code:
var %value1 Test
var %value2 ing
echo -a $+(%value1,%value2)
;results Testing


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Combining text? [Re: Nillen] #255365 14/10/15 09:24 PM
P
PurpleDxD
Unregistered
PurpleDxD
Unregistered
P
Thanks, worked.