mIRC Home    About    Download    Register    News    Help

Topic Options
#114276 - 13/03/05 01:24 PM text modifieing
Alizee Offline
Pikka bird

Registered: 13/03/05
Posts: 11
"dimomania [1:181:6]Forest [1:181:7]DarkLandia [1:181:8]TIPSY [1:181:9]MartfaZamia [1:181:10]CaSteL [1:181:5]MitNicaTa [1:181:15]NomBeR 11111 [1:180:15]dimomania2 [1:182:15]"

this is one line ... have to make 9 lines like this:
dimomania [1:181:6]
Forest [1:181:7]
...

can anyone help me out ?
the number of "dimomania [1:181:6]" is not constant . Here are 9 but can be from 1 to 9 ... and there is no interval between [1:181:10]CaSteL - thats the main problem
10q for the help


Edited by Alizee (13/03/05 03:17 PM)

Top
#114277 - 13/03/05 02:10 PM Re: text modyfieing
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
I don't understand what you are asking for, could you be a little more specific please?

Top
#114278 - 13/03/05 02:18 PM Re: text modyfieing
Alizee Offline
Pikka bird

Registered: 13/03/05
Posts: 11
yes
i have a variable for example:
%a = "aaa [1:1:1]bbb [1:2:1]"
i want to make it :
%a [ $+ [ 1 ] ] = "aaa [1:1:1]"
%a [ $+ [ 2 ] ] = "bbb [1:2:1]"

but i dont know how to separate aaa [1:1:1] & bbb [1:2:1] cause there is no space between them smile


Edited by Alizee (13/03/05 02:26 PM)

Top
#114279 - 13/03/05 03:17 PM Re: text modyfieing
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
%a [ $+ [ 1 ] ] = $gettok(%a,1,93) $+ ]
%a [ $+ [ 2 ] ] = $gettok(%a,2,93) $+ ]

Top
#114280 - 13/03/05 03:28 PM Re: text modifieing
Alizee Offline
Pikka bird

Registered: 13/03/05
Posts: 11
10x .. very tricky wink)

Top
#114281 - 13/03/05 07:35 PM Re: text modyfieing
tidy_trax Offline
Hoopy frood

Registered: 02/11/03
Posts: 2327
Code:
%a1 = $gettok(%a,1,93) $+ ]
%a2 = $gettok(%a,2,93) $+ ] 
_________________________
New username: hixxy

Top
#114282 - 13/03/05 11:39 PM Re: text modyfieing
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
lol too true, i never even looked at the left side of the =

Top