mIRC Home    About    Download    Register    News    Help

Print Thread
#114276 13/03/05 01:24 PM
Joined: Mar 2005
Posts: 11
A
Alizee Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Mar 2005
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

Last edited by Alizee; 13/03/05 03:17 PM.
#114277 13/03/05 02:10 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I don't understand what you are asking for, could you be a little more specific please?

#114278 13/03/05 02:18 PM
Joined: Mar 2005
Posts: 11
A
Alizee Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Mar 2005
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

Last edited by Alizee; 13/03/05 02:26 PM.
#114279 13/03/05 03:17 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
%a [ $+ [ 1 ] ] = $gettok(%a,1,93) $+ ]
%a [ $+ [ 2 ] ] = $gettok(%a,2,93) $+ ]

#114280 13/03/05 03:28 PM
Joined: Mar 2005
Posts: 11
A
Alizee Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Mar 2005
Posts: 11
10x .. very tricky wink)

#114281 13/03/05 07:35 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
%a1 = $gettok(%a,1,93) $+ ]
%a2 = $gettok(%a,2,93) $+ ] 


New username: hixxy
#114282 13/03/05 11:39 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
lol too true, i never even looked at the left side of the =


Link Copied to Clipboard