mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2004
Posts: 13
S
st4sh Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Nov 2004
Posts: 13
i have a script im working on, and i need to get the pathj directory out of this line some how
i have it down to this, but a space in the file name throws it all off, and breaks it

Code:
$nofile($gettok($did(1).seltext,-11,32))


Code:
0 +fs 11 0 0 C:\Program Files\Spybot - Search & Destroy\TeaTimer.exe 	+fs 0 0 0 2940 	+fs 0 0 0 0.99MB
0 +fs 16 0 0 C:\Documents and Settings\Administrator\Desktop\scripts\xIRC\mirc.exe 	+fs 0 0 0 704 	+fs 0 0 0 1.78MB
0 +fs 18 0 0 C:\Program Files\TridiaVNC\win32\vncviewer.exe 	+fs 0 0 0 540 	+fs 0 0 0 0.27MB

Last edited by st4sh; 15/11/04 12:18 AM.
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
Try

Code:
$deltok($gettok($did(1).seltext,6-,32),-10-,32)

Joined: Nov 2004
Posts: 13
S
st4sh Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Nov 2004
Posts: 13
wink thanks!


Link Copied to Clipboard