есть куча одинаковых блоков вот допустим

скрытый текст

Выделить код

Код:

iimPlayCode('TAG POS=1 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=2 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=3 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=4 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=5 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=6 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=7 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=8 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=9 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=10 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=11 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=12 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=13 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=14 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=15 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=16 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=17 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=18 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=19 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=20 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=21 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=22 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=23 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=24 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=25 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=26 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=27 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=28 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=29 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=30 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=31 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=32 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=33 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=34 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=35 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=36 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=37 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=38 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=39 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=40 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=41 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=42 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=43 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=44 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=45 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=46 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=47 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=48 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=49 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=50 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=51 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=52 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=53 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=54 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=55 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=56 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=57 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=58 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=59 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=60 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=61 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=62 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=63 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=64 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=65 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=66 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=67 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=68 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=69 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=70 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=71 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=72 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=73 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=74 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=75 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=76 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=77 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=78 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=79 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=80 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=81 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=82 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=83 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=84 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
iimPlayCode('TAG POS=85 TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');


как заменить числа после "POS=" на переменную

вот как я понимаю как это будет выглядеть без значения после POS
скрытый текст

Выделить код

Код:

I=0;
for(j=1; j<20000000; j++){
I=I+1;
iimPlayCode('TAG POS=1 TYPE=DIV ATTR=ID:inventory_user extract=TXT'); i=iimGetExtract();
if(i.indexOf("1")>=0){
iimPlayCode('TAG POS=тут что-то заменить  TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
}
}

roma12975 пишет:

как заменить числа после "POS=" на переменную

а что гугл вас забанил?

так например:

Выделить код

Код:

for(j=1; j<20000000; j++){
    iimPlayCode('TAG POS='+j+' TYPE=DIV ATTR=hash:P90<SP>|<SP>Asiimov<SP>(Well-Worn)');
};