Here's a nice script I made for maongs level 44 from hotan.
You can change the amount of item being bought only by modifying the numbers in the script. Save it as Default.lst in your AGbot folder and it will work if you start whit old script system.
Code:
"cmd","[start autopotion]",""
"ConditionScript","112;16;20","0"
"cmd","[protect off]",""
"cmd","[stop bot]",""
"95","44","0"
"97","59","0"
"110","62","0"
"cmd","[stop walking]",""
"store open","0104000000","Storage-Keeper Auisan"
"store storage","",""
"store close","",""
"84","66","0"
"59","71","0"
"cmd","[stop walking]",""
"store open","0101000000","Blacksmith Soboi"
"store sell","",""
"store buy","Arrow","2250"
"store repair","",""
"store close","",""
"72","83","0"
"84","106","0"
"cmd","[stop walking]",""
"store open","0101000000","Potion Merchant Manina"
"store buy","HP recovery potion (large)","150"
"store buy","MP recovery potion (large)","450"
"store close","",""
"99","91","0"
"121","72","0"
"134","44","0"
"140","24","0"
"144","7","0"
"cmd","[stop walking]",""
"store open","0101000000","Stable-Keeper Salihap"
"store buy","Recovery kit (large)","50"
"store buy","Shadow Horse","10"
"store close","",""
"131","10","0"
"107","28","0"
"96","13","0"
"91","4","0"
"cmd","[stop walking]",""
"store open","0101000000","Jewel Lapidary Mamoje"
"store buy","Return Scroll","5"
"store close","",""
"104","23","0"
"113","17","1"
"156","42","0"
"229","47","0"
"283","47","0"
"341","47","0"
"384","47","0"
"426","48","0"
"488","50","0"
"503","45","0"
"547","50","0"
"634","16","0"
"657","-7","0"
"675","-52","0"
"681","-96","0"
"688","-143","0"
"697","-180","0"
"cmd","[clear hunting]",""
"cmd","[stop walking]",""
"cmd","[add hunting]","693;-199;80"
"cmd","[add hunting]","768;-224;120"
"cmd","[Start Bot]",""