Aceguy Posted June 23, 2007 Share Posted June 23, 2007 heres my problem inifile looks like [test] 0=a1 1=a2 2=a3 3=b1 ;delete and replace with d1 4=b2 ;delete and replace with d2 5=b3 ;delete and replace with d3 6=b4 ;delete 7=c1 8=c2 9=c3 10=c4 do new inifie looks like.. [test] 0=a1 1=a2 2=a3 3=d1 4=d2 5=d3 6=c1 7=c2 8=c3 9=c4 Any Ideas, Thanks. [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Valuater Posted June 23, 2007 Share Posted June 23, 2007 IniWrite( "Myfile.ini", "Test", "3", "d1") follow that example for each key/value 8) Link to comment Share on other sites More sharing options...
Aceguy Posted June 23, 2007 Author Share Posted June 23, 2007 thanks Val. but what if my inifile looks like this :- [Database] 0=0 1=Earth crystal|0|5|9998962|11116669|11116669|14138211|4653|5729407|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|0|| 2=Bastore Sardine|0|6|6645869|2697249|8420984|5394762|4653|6057604|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|| 3=Gold lobster|0|1|12681847|4849664|8597543|16291708|4653|11254739|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|0|| 4=Bluetail|0|7|6645869|3224633|5592414|8747661|4653|6057604|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|0|| 5=Giant catfish|0|1|2698281|2698281|2698281|3948604|4653|11254740|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|| 6=Ogre Eel|0|2|4865073|5915953|10324852|6771523|4653|10728907|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|| 7=Tiger Cod|0|7|3747889|2170913|5323302|4863009|4653|5729407|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|| 8=Barbaroi Axe|40|1|8086105|7363151|7363151|5457469|4653|6057605|4|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|+2|0|0|0|0 0|+2|0|0|0|32|288|| 9=Oak Pole|40|1|6645869|5060912|8416603|6645869|4653|10728908|1|1|1|4|4|4|4|4|4|4|4|4|1|4|4|4|4|4|0|0|0|0| |0|0|0|0|0|37|402|| 10=Hume Fishing rod|0|1|6645869|6645869|6645869|5656386|4653|4649|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|| 11=Halcyon Rod|0|1|6645869|6645869|6645869|3158576|4653|4649|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|| 12=Mithran Fish Rod|0|1|6645869|6645869|6645869|3486252|4653|4649|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|| 13=Comp. Fsihing rod|0|1|6645870|6645870|6645870|3683640|4654|10729164|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|| 14=Sliced Sardine|0|9|6510931|11180425|11180425|13087654|4653|11254228|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|0|0|| 15=Little Worm|0|10|6645869|6698027|9262385|4399653|4653|4649|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|| 16=Sabiki Rig|0|1|3487288|3285529|6373936|3684664|4654|11254228|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|| 17=Sinking Minnow|0|1|6645870|3288353|3288353|6182474|4654|11254228|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|| 18=Shrimp lure|0|1|8405550|6044205|6044205|4798765|4653|11254228|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|| 19=Minnow|0|1|6645869|4601650|4601650|9864542|4653|4649|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|| 20=F. Carrot Broth|43|1|12426619|3740680|16314575|16317680|4653|5531261|4|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|0|0|0 0|0|0|0|0|0|0|||| 21=Strike Shield|40|1|5720643|3749945|7104108|3748913|4654|11254228|4|1|4|1|4|4|4|1|1|4|1|1|4|4|4|4|4|1|0|0|0| |0|0|0|0|0|6|||Attack+ 6| 22=Aspis|9|1|5983298|6508874|5063481|8150346|4653|5530749|4|4|4|1|4|4|4|1|4|4|1|1|4|4|4|4|4|1|0|0|0| |0|0|0|0|0|3|||| 23=Horn Hairpin|30|1|6645869|6645869|4209440|2697240|4653|4649|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0|0 0|0|+12|-4|0|||earth+8| 24=Dodge Headband|26|1|10319442|8545866|8545866|11175775|4653|6056581|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0 0|0|0|0|0|0|0|5|||Evasion+3| 25=Noble's Ribbon|14|1|10241345|6236451|5579293|6105891|4654|4649|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0|0 0|+3|0|0|5|||| 26=Brigandine|45|1|12546630|14135164|10183487|9857611|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|4|1|1|1|1 1|0|+2|+2|0|0|0|0|0|+10|32|||| 27=Holy Breastplate|40|1|3484197|3747881|6181189|5918018|4653|4649|4|1|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|0|0|0 0|0|0|0|0|0|45|||| 28=Fish. Tunica|1|1|5920116|6446726|4340826|5723518|4654|5728640|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0| |0|0|0|0|2|||Fishing Skill+1| 29=Cuir Gloves+1|38|1|8154714|3747881|3747881|4337705|4654|10729164|4|4|4|1|1|4|1|1|1|1|1|1|4|1|1|1|1|1|0|0| |0|0|0|0|0|0|10|||| 30=Fish Gloves|1|1|1575944|3153685|1050624|1576976|4654|5728640|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0| |0|0|0|0|1|||Fishing Skill+1| 31=Evokers Spats|52|1|9270858|2956827|2956827|3490352|4654|5729408|1|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|0|0|0|0| |0|0|+15|0|25|||Evasion + 10 |Avatar , Enmity 32=Custom Slacks|31|1|4272171|4863025|4863025|2431770|4653|10729164|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|-1|0|0|0|0|+3|+1|+32|0|12|||| 33=fishermans Hose|1|1|4802118|4342073|4342073|1644568|4654|5728640|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0|0| |0|0|0|1|||Fishing skill +1| 34=Austere Sabots|50|1|8284499|3484711|3484711|6645870|4654|5530749|1|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|0|0|-1|0|0|0|-1|+10|0|7|||SMN mag +3|Enmity-3 35=Cuir Highboots|38|1|7692366|4404782|4404782|6645870|4654|10729164|4|4|4|1|1|4|1|1|1|1|1|1|4|1|1|4|4|1|0|0 0|0|0|0|0|0|0|8|||| 36=Tiger Sole|24|1|2500145|2698297|3750986|3750985|4653|5729408|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0|0 0|0|0|0|2|||Attack+5| 37=Bird Whistle|15|1|8416860|9337700|9337700|11444101|4653|6057605|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0 0|0|0|+3|0|+5|0|||| 38=Justice Badge|7|1|9854297|7087145|7087145|8740705|4653|5531261|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0|0 +3|0|0|0|1|||| 39=Corsette|40|1|5392706|3746865|3746865|4471105|4653|10729164|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|-2|0|0|-2|0|0|+5|0|0|0|||| 40=Staff Belt|30|1|3744539|4335640|3021583|6645870|4654|11254228|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0| |0|0|0|0|0|||Staff Skill+5| 41=Nomad's Namtle|24|1|2694160|3219472|4861985|4860952|4654|4649|4|4|4|1|1|4|1|1|1|1|1|1|1|1|1|4|1|1|0|0|0|+1|0 0|0|0|0|2|||Evasion+3| 42=Drone Earring|35|1|6645869|4539971|4539971|7959409|4653|6056581|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0| 3|0|0|0|0|0|0|||Wind+6| 43=Rerasie Earring|24|1|6645870|6645870|6645870|6645870|4654|6057093|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0| |0|0|0|0|0|0|||Attack -2|Evasion +2 44=Beetle Earring +1|21|1|9014411|6645869|3290165|7698290|4653|6057605|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0|0|0 0|0|0|0|||Attack+3|Evasion -2 45=Signal Pearl|5|1|10783878|12358826|10386576|9204859|4654|11254228|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0 0|0|0|0|0|0|0|||| 46=Electrum Ring|40|1|8152642|10324835|3223593|7363388|4653|5729408|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0| |0|0|+20|-20|0|||| 47=Balance Ring|14|1|5456728|4336722|5784937|7499378|4653|6057605|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|+2|0|0| |0|0|0|0|0|||lighting +4| 48=Hope Ring|14|1|15786166|16316615|15588273|14469563|4653|4649|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0| |0|+2|0|0|0|||| 49=Empress Band|1|1|6573620|5915953|5915953|4337688|4654|5729408|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0|0| |0|0|0|0|||| 50=anniversary ring|1|1|3881528|10725283|10725283|13620431|4654|5530749|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0 0|0|0|0|0|0|||| 51=Linkpearl|0|1|4491391|5611450|4885151|4094595|4654|4649|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|0|| 52=Millioncorn|0|12|9269809|14402635|9796145|12757833|4653|5729407|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|0|0|0|0|0|| 53=Zealots Mitts|11|1|5589305|3222561|7168334|7167822|4654|5729408|4|1|1|1|1|1|1|4|4|4|4|1|1|4|1|4|4|4|0|0|0|0| -2|+3|0|+5|0|3|||| 54=Beehive Chip|0|1|11707529|11969413|11969413|10062194|4653|6057604|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|| 55=Bronze Sword|1|1|6969411|9008470|6772029|2563865|4654|6057605|4|4|1|4|1|4|1|4|1|1|1|1|4|1|1|1|4|4|0|0|0|0|0 0|0|0|0|0|6|231|| 56=Crossbow Bolt|1|1|6645869|6377283|6377283|4603189|4653|10729164|4|4|4|4|4|4|4|4|4|4|1|4|4|1|1|4|4|4|0|0|0|0|0 0|0|0|0|0|10|192|| 57=Worm Lure|0|1|3681312|9529687|7295300|4864041|4653|4649|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|| 58=Noct Beret +!|30|1|4407875|5458239|2171937|3220513|4653|4649|4|4|4|4|4|4|4|4|1|4|4|4|4|4|1|4|1|4|0|0|0|+2|0|0 0|0|0|10|||| 59=Lizard Gloves|17|1|5654072|2828844|2828844|3220504|4654|4649|4|4|4|1|4|4|1|1|1|1|1|1|4|1|1|1|1|1|0|0|0|+2|0 0|0|0|0|5|||| 60=Bone Mittens|16|1|3220513|3220513|3220513|5589823|4654|6057605|4|4|4|1|4|4|1|1|1|1|1|1|4|1|1|1|1|1|0|0|0| 2|0|0|0|0|0|4|||| 61=Noct Brais +1|30|1|6833967|2697257|3223598|4735296|4654|4649|4|4|4|4|4|4|4|4|1|4|4|4|4|4|1|4|1|4|0|+2|0|+2|0|0| |0|0|13|||RA:+2| 62=Seer's Slacks +1|29|1|3223601|2697257|2697257|3157552|4653|11254228|1|1|1|4|4|1|4|4|4|4|4|4|4|4|4|4|4|4|0|0|0|0|+1 0|0|+10|0|13|||| 63=Noct gaiters +1|30|1|3747889|2697257|2697257|6645869|4653|4649|4|4|4|4|4|4|4|4|1|4|4|4|4|4|1|4|1|4|0|+2|0|0|0|0|0 0|0|5|||| 64=seer's pumps|29|1|6375230|2697257|2697257|6645869|4653|11254228|1|1|1|4|4|1|4|4|4|4|4|4|4|4|4|4|4|4|0|0|0|0 0|+1|0|+4|0|6|||| 65=Bone Leggings|16|1|3815220|2235931|2235931|6645870|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0 0|0|0|0|0|0|4|||| 66=Brass Leggings|11|1|5588279|2828064|1446928|6645870|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0 0|0|0|0|0|0|3|||| 67=Clay Amulet|42|1|8416860|9337700|9337700|11444101|4653|10729164|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0 0|0|0|0|0|0|4|||Earth+11| 68=Ranger's Necklace|14|1|6645869|6645869|6645869|6645869|4653|6057093|4|4|4|4|4|4|4|4|4|4|4|4|4|4|1|4|4|4|0|0|0 0|0|0|0|0|0|4|||R.Acc +5|R.Attack+5 69=Kawahori-Ogi|0|99|6645869|6645869|16313551|16312527|4653|4648|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|| 70=Fire crystal|0|7|13608861|11109504|11109504|7624018|4653|5728639|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|0|| 71=Earth Cluster|0|1|7170399|5916985|9339253|5390641|4653|5729407|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|| 72=Honey|0|10|16306275|15519096|16774318|16759634|4653|5728639|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|0|0|0|| 73=Rusty Greatsword|1|1|6645869|6645869|5650987|5912617|4653|6057093|4|4|4|4|4|4|4|4|4|4|1|1|4|1|1|4|4|4|0|0| |0|0|0|0|0|0|4|14|456|| 74=Bone Pick|16|1|2236706|3419953|4604225|4604475|4653|6057605|4|4|4|4|4|4|4|1|4|4|1|4|4|4|4|1|4|4|0|0|0|0|0 0|0|0|0|4|18|312|| 75=Bone Axe|13|1|2827296|4735283|2761502|6645869|4653|6057605|4|4|4|4|4|4|4|1|4|4|1|4|4|4|1|1|4|4|0|0|0|0|0| |0|0|0|4|16|276|| 76=Brass Axe +1|8|1|3487016|3684404|525328|6645869|4653|6057605|4|4|4|4|4|4|4|1|4|4|1|4|4|4|1|1|4|4|0|0|0|0|0|0|0 0|0|4|13|268|| 77=Traversiere +1|32|1|1447446|3618871|2171937|4014909|4653|5729408|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|4|0|0|0|0|0|0 0|0|0|0|||Madrigal +2| 78=Gemshorn|19|1|4603707|8947328|11973550|4406589|4653|11254740|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|4| |0|0|0|0|0|0|0|0|0|||Msmbo +1| 79=Harp|14|1|8355711|3223601|3223601|10919837|4653|4649|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|4|0|0|0|0| |0|0|0|0|0|||minne +1| 80=Cornette +1|4|1|4601131|6575173|8613470|3880757|4653|10729164|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|4|0|0|0|0|0|0 0|0|0|0|||Minuette +2| 81=Flute+1|1|1|4208432|9468511|3750969|6773323|4653|5728640|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|4|0|0| |0|0|0|0|0|0|0|||requiem +1| 82=Fish Scale Shield|14|1|5523840|4340852|6179981|5195658|4654|5728640|4|1|4|1|4|4|4|1|1|4|1|1|4|4|4|4|4|1|0|0|0|0 0|0|0|0|0|3|||| 83=Brass Cap|11|1|5393204|5194807|8154706|6380099|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|1|4|4|1|1|0|0|0|0|0| |0|0|0|5|||| 84=Cuir Bouilli|38|1|3682344|5457207|5457207|9269850|4654|10729164|4|4|4|1|1|4|1|1|1|1|1|1|4|1|1|1|1|4|0|0|0 0|0|0|0|0|0|28|||| 85=Brass Harness|11|1|2762521|3221528|6181957|3747873|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|4|4|1|1|1|0|0|0| |0|0|0|0|0|10|||| 86=Cuir Gloves|38|1|7100746|3221537|3221537|4338729|4654|10729164|4|4|4|1|1|4|1|1|1|1|1|1|1|4|4|1|1|1|0|0|0| |0|0|0|0|0|9|||| 87=Brass mittens|11|1|3749673|3746854|2694168|5457725|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|4|4|1|1|1|0|0|0| |0|0|0|0|0|3|||| 88=Cuir Trousers|38|1|4339503|5326136|5326136|2235926|4654|10729164|4|4|4|1|1|4|1|1|1|1|1|1|4|1|4|4|1|1|0|0| |0|0|0|0|0|0|20|||| 89=Lizard Trousers|17|1|5522745|3549728|4864041|1775638|4654|4649|4|4|4|1|1|4|1|1|1|1|1|1|4|1|1|1|1|1|0|0|0|0| |0|0|0|0|10|||| 90=Brass Graves|27|1|6441264|5916977|3879202|6645870|4654|6057605|4|4|4|1|1|4|4|1|4|4|1|1|4|1|1|1|4|1|0|0|0|0 0|0|0|0|0|6|||| 91=Warriors Belt|15|1|4536887|2170396|2170396|6645870|4654|4649|4|4|4|1|1|4|1|1|1|1|1|1|1|1|4|1|1|1|0|0|+2|0|0|0 0|0|+3|1|||| 92=Beelte Earring|21|1|6184798|6645869|2764079|6973792|4653|6057605|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0| |0|0|0|0|0|0|||Attack +2|Evasion -2 93=Bone Ring|16|1|11445125|4868401|15261895|5919033|4653|6057605|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|0 0|0|0|0|0|0|||Acc -2|R Acc+2 94=Mighty Ring|14|1|7894386|5190181|5190181|4734778|4654|4649|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|+1|0|0|0|0|0 0|0|0|0|||Attack+5|R Attack+5 95=Silver Quiver|0|9|6645869|3619883|4410430|5789774|4653|11254227|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|0|| 96=Yagudo Cherry|0|12|7221542|9254961|4532768|9254953|4653|4648|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|| 97=Buburimu Grape|0|12|3157552|5914946|4929590|6174511|4653|6057604|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|| 98=Regen III|66|1|13088653|14662549|13202270|14065534|4653|11254227|4|1|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|4|0|0|0 0|0|0|0|0|0|0|||| 99=gravity|21|1|7299663|6905423|7234388|6905423|4653|11254227|4|4|4|1|4|4|4|4|4|4|4|4|4|4|4|4|4|4|0| |0|0|0|0|0|0|0|0|||| 100=Lizard Cesti|12|1|6508866|3748913|3748913|8284761|4654|4649|4|4|4|1|4|4|4|1|1|4|1|1|1|1|1|4|4|4|0|0|0|0|0|0 0|0|0|0|+2|+48|Acc +3| 101=Archers Knife|28|1|7109202|8818015|7436108|5265208|4654|5530749|4|4|4|1|4|1|1|1|1|1|1|1|1|1|1|4|1|4|0|0|0|+1 0|0|0|0|0|0|11|195|R Acc+10| 102=Light Axe|11|1|2433579|3157036|3157036|6645869|4653|4649|4|4|4|4|4|4|4|1|4|4|1|4|4|1|1|4|4|4|0|0|0|0|0|0|0 0|0|0|14|260|| 103=Shinobi-Gatana|13|1|6645869|6645869|6645869|3815733|4653|11254228|4|4|4|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|0|0|0| |0|0|0|0|0|0|11|227|| 104=Composite Bow +1|36|1|13611925|5392714|6645870|6645870|4654|10729164|4|4|4|1|4|4|4|1|1|1|1|1|4|1|1|4|4|1|0|0|0|0|0 0|0|0|0|0|37|441|R Acc +3| 105=Assassins Bow|29|1|13082509|3748913|6645870|6645870|4654|5530749|4|4|4|4|4|4|4|4|4|4|4|4|4|4|1|4|4|4|0|0|0|+2| |0|0|0|0|0|21|330|R Acc +3| 106=Power Crossbow|25|1|3158567|9274211|4932668|6180415|4653|5728640|4|4|4|4|4|4|4|4|1|4|1|4|4|1|1|4|4|4|0|0|0 +1|0|0|0|0|0|0|17|288|| 107=Ryl.Spr.Horn|20|1|4603707|8947328|11973550|4406589|4653|6057093|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4| |4|0|0|0|+1|0|0|+3|0|0|0|||March +1| 108=Maple Harp +1|1|1|8750981|2696225|2696225|8750981|4653|4649|4|4|4|4|4|4|1|4|4|4|4|4|4|4|4|4|4|4|0|0|0|+1|0|0|+3 0|0|0|||Minne +1| 109=Hachimaki|8|1|6048830|8151378|8151378|6772802|4653|4649|4|4|4|4|4|4|4|4|4|1|4|4|1|4|4|4|4|1|0|0| |0|0|0|0|0|0|4|||| 110=Chainmail|24|1|2698289|3422546|4080482|9796204|4653|10729164|4|4|4|4|4|4|4|1|4|1|1|1|4|1|4|4|4|1 0|0|0|0|0|0|0|0|0|21|||| 111=Beetle Harness|21|1|2894881|4735025|4735025|4341297|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|1|4|1|1|1|0|0|0| |0|0|0|0|0|17|||| 112=Black Tunic.|20|1|6179913|5325374|5325374|6968400|4654|6057605|4|1|1|1|1|1|1|4|4|4|4|1|1|4|1|4|4|4|0|0|0|0 +1|0|0|0|0|18|||No Headgear| 113=Bone Harmess|16|1|2761508|4537140|4537140|4142635|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|1|4|1|1|1|0|0|0| |+1|0|0|0|0|14|||| 114=Chain Mittens|24|1|8155756|2697257|4736325|5130317|4653|10729164|4|4|4|4|4|4|4|1|4|1|1|1|4|1|4|4|4|1|0|0|0 0||0|0|0|0|7|||| 115=Beetle Mittens|21|1|3224353|2696216|2696216|5589827|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|1|4|1|1|1|0|0|0| ||0|0|0|0|6|||| 116=Tekko|8|1|6049094|4471857|5721153|2694168|4653|5729408|4|4|4|4|4|4|4|4|4|1|4|4|1|4|4|4|4|1|0|0|0 0|0|0|0|0|0|2|||| 117=Brass Subligar|11|1|4338732|6312761|11444058|8616515|4654|6057605|4|4|4|1|1|4|1|1|1|1|1|1|1|1|4|1|1|1|0|0| |0|0|0|0|0|0|7|||| 118=Sitabaki|8|1|3747889|4866361|4077616|2697249|4653|11254228|4|4|4|4|4|4|4|4|4|1|4|4|1|4|4|4|4|1|0 0|0|0|0|0|0|0|0|5|||| 119=Kyahan|8|1|10322796|7098681|2366227|6645869|4653|4649|4|4|4|4|4|4|4|4|4|1|4|4|1|4|4|4|4|1|0|0|0| |0|0|0|0|0|2|||| 120=Onyx Earring|10|1|3682858|6645869|6645869|6645869|4653|10728908|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0 0|0|0|0|+2|0|0|||| 121=Peridot Ring|36|1|3754273|4873513|13623453|10927988|4653|5728640|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|+ |0|0|0|0|0|0|||| 122=Horn Ring|35|1|2697763|4144177|4144177|5196604|4653|4649|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|0|0|0|+2|0|0 0|0|0|0|||Acc -4|R Acc +4 123=Mhaura Garlic|0|1|15785167|14599093|13611942|15256766|4653|6057604|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|0|| 124=Red Rock|0|1|8072219|5973016|5973016|7352870|4653|6057092|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|| 125=Yellow Rock|0|1|2697232|4472344|3222544|5919009|4653|4648|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|| 126=Green Rock|0|1|4352561|4812598|2703649|4943934|4653|11254739|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0 0|0|0|0|0|0|0|| 127=Purple Rock|0|1|4663919|9786839|7684524|4334691|4653|5728639|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|| 128=Black Rock|0|1|1052688|3419700|3419700|2169889|4653|6057604|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|| 129=Undead Skin|0|1|9264466|9659997|10449256|8543570|4653|4648|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|| 130=Chocobo Fltching.|0|1|6048310|5389353|5389353|16316664|4654|6057605|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0| |0|0|0|0|0|0|0|0|0|| [[boils] 0=Fire crystal|0|1|safe 1=Silver Quiver|0|9|safe 2=Yagudo Cherry|0|12|safe 3=Yagudo Cherry|0|12|safe 4=Buburimu Grape|0|12|safe 5=Buburimu Grape|0|12|safe 6=Buburimu Grape|0|12|safe 7=Buburimu Grape|0|12|safe 8=Buburimu Grape|0|2|safe 9=Regen III|66|1|safe 10=gravity|21|1|safe 11=Lizard Cesti|12|1|safe 12=Archers Knife|28|1|safe 13=Light Axe|11|1|safe 14=Shinobi-Gatana|13|1|safe 15=Shinobi-Gatana|13|1|safe 16=Composite Bow +1|36|1|safe 17=Assassins Bow|29|1|safe 18=Power Crossbow|25|1|safe 19=Ryl.Spr.Horn|20|1|safe 20=Maple Harp +1|1|1|safe 21=Hachimaki|8|1|safe 22=Chainmail|24|1|safe 23=Beetle Harness|21|1|safe 24=Black Tunic.|20|1|safe 25=Bone Harmess|16|1|safe 26=Chain Mittens|24|1|safe 27=Beetle Mittens|21|1|safe 28=Brass mittens|11|Brass Mittens|safe 29=Tekko|8|1|safe 30=Brass Subligar|11|1|safe 31=Sitabaki|8|1|safe 32=Kyahan|8|1|safe 33=Onyx Earring|10|1|safe 34=Peridot Ring|36|1|safe 35=Horn Ring|35|1|safe 36=Mhaura Garlic|0|1|safe 37=Red Rock|0|1|safe 38=Yellow Rock|0|1|safe 39=Green Rock|0|1|safe 40=Green Rock|0|1|safe 41=Purple Rock|0|1|safe 42=Black Rock|0|1|safe 43=Undead Skin|0|1|safe 44=Chocobo Fltching.|0|1|safe 45=Bronze Sword|1|1|person 46=Crossbow Bolt|1|84|person 47=Worm Lure|0|1|person 48=Minnow|0|1|person 49=Noct Beret +!|30|1|person 50=Lizard Gloves|17|1|person 51=Bone Mittens|16|1|person 52=Noct Brais +1|30|1|person 53=Seer's Slacks +1|29|1|person 54=Noct gaiters +1|30|1|person 55=seer's pumps|29|1|person 56=Bone Leggings|16|1|person 57=Brass Leggings|11|1|person 58=Clay Amulet|42|1|person 59=Ranger's Necklace|14|1|person 60=Kawahori-Ogi|0|99|person 61=Kawahori-Ogi|0|86|person 0 ;------------------------------------- what i would like to do is delete all then entries with ((Safe)) as the 4th element.. renumber the key to start from 0 again. then add new data to the end of the list. [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Aceguy Posted June 23, 2007 Author Share Posted June 23, 2007 just amend the [boils] section [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 23, 2007 Moderators Share Posted June 23, 2007 (edited) What in the world do you actually want us to answer? The answer from your question is IniWrite(), why don't you explain your "question" better. Edit: Any particular reason why this question was posted in the GUI forum? Edited June 23, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Aceguy Posted June 23, 2007 Author Share Posted June 23, 2007 REF to [boils] section. how do i delete all then entries with ((Safe)) as the 4th element.. renumber the key to start from 0 again. then add new data to the end of the list. i have tried this:- $ct2=IniReadSection($IniFile,"Boils") for $x_array=0 to $ct2[0][0] $my_split=StringSplit($ct2[$x_array][1],"|") if $my_split[4] ="safe" Then _ArrayDelete($ct2,$ct2[$x_array][1]) EndIf next [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 23, 2007 Moderators Share Posted June 23, 2007 (edited) REF to [boils] section. how do i delete all then entries with ((Safe)) as the 4th element.. renumber the key to start from 0 again. then add new data to the end of the list. i have tried this:- $ct2=IniReadSection($IniFile,"Boils") for $x_array=0 to $ct2[0][0] $my_split=StringSplit($ct2[$x_array][1],"|") if $my_split[4] ="safe" Then _ArrayDelete($ct2,$ct2[$x_array][1]) EndIf nextAgain, the answer was given to you, you use IniWrite(), not _ArrayDelete(). Just write back to the Inifile. $ct2 = IniReadSection($IniFile, "Boils") For $iCC HHÈ ÌÍØÝÌVÌBYÝ[Ò[Ý ÌÍØÝÉÌÍÚPÐ×VÌWK ÌÎNÜØYb33²FVâæw&FRb33c´æfÆRÂgV÷C´&öÇ2gV÷C²Âb33c¶42Â7G&æu&VtáÁIÁ± ÀÌØíÐÉlÀÌØí¥ ulÅt°ÌäìÀäÈíñÍñÍÀäÈíðÌäì°Ìäì#39;)) Next Not too sure that will work above with StringRegExpReplace, but it looks right. Edit: Had to fix SREReplace. Edited June 23, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Aceguy Posted June 23, 2007 Author Share Posted June 23, 2007 thanks V Much... not tested but sure it will work, me still a newbie (ish) [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now