mIRC Home    About    Download    Register    News    Help

Print Thread
#123737 27/06/05 03:18 AM
Joined: Mar 2003
Posts: 27
Z
zorin Offline OP
Ameglian cow
OP Offline
Ameglian cow
Z
Joined: Mar 2003
Posts: 27
Ok, my script looks kinda like this
on 1:TEXT:*New Demo*:#channel:/write C:\file.txt /Demo_today/ $3 /By_zorin and I need the space before $3 and after $3 to go away when its written to the file. So that in file.txt the text will look like
/Demo_today/Battlefield_2_demo/By_zorin
and not like
/Demo_today/ Battlefield_2_demo /By_zorin

Hope someone can help me smile

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
You could do it in 2 ways

this

Code:
 /Demo_today/ $+ $3 $+ /By_zorin 


or this

Code:
 $+(/Demo_today/,$3,/By_zorin) 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Not that i would suggest you use it but there is also
Code:
 /Demo_today/ $+ $3/By_zorin 


you can stick stuff diewctly onto the back of a $N, assuming its not another number smile

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Quote:
you can stick stuff diewctly onto the back of a $N, assuming its not another number

Or anything that contains a number or a dash:

//tokenize 32 a b c | echo $1blah-bleh


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
well i said i wont use it smile


Link Copied to Clipboard