mIRC Homepage
Posted By: Alizee text modifieing - 13/03/05 01:24 PM
"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
Posted By: SladeKraven Re: text modyfieing - 13/03/05 02:10 PM
I don't understand what you are asking for, could you be a little more specific please?
Posted By: Alizee Re: text modyfieing - 13/03/05 02:18 PM
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
Posted By: DaveC Re: text modyfieing - 13/03/05 03:17 PM
%a [ $+ [ 1 ] ] = $gettok(%a,1,93) $+ ]
%a [ $+ [ 2 ] ] = $gettok(%a,2,93) $+ ]
Posted By: Alizee Re: text modifieing - 13/03/05 03:28 PM
10x .. very tricky wink)
Posted By: tidy_trax Re: text modyfieing - 13/03/05 07:35 PM
Code:
%a1 = $gettok(%a,1,93) $+ ]
%a2 = $gettok(%a,2,93) $+ ] 
Posted By: DaveC Re: text modyfieing - 13/03/05 11:39 PM
lol too true, i never even looked at the left side of the =
© mIRC Discussion Forums