http://forums.openkore.com/viewtopic.php?f=56&t=13811
http://forums.openkore.com/viewtopic.php?f=10&t=15333
*tried some of the things in these threads with no luck

saveMap Payon
saveMap_warpToBuyOrSell 1
saveMap_warpChatCommand
buyAuto Red Potion {
maxAmount 400
minAmount 0
npc payon 159 96
distance 6
zeny > 5000
}
lockMap pay_fild02
lockMap_x
lockMap_y
lockMap_randX
lockMap_randY
Thanks for your time.