Monday, March 17, 2008

Auto sell Macro

automacro iwanttosell {
inventory "gold ring" >= 25
location ama_dun02
run-once 1
call {
release izlude
release ama_dun01
release ama_dun03
do c @go 5
release iwanttosell
}
}

automacro izlude {
run-once 1
location izlude
call {
release iwanttosell
release ama_dun01
release ama_dun02
release ama_dun03

do move close to the sell npc
do autosell

do move close to the warp npc
do talknpc 131 116 r1 r11 r2 (maybe this is ama_dun02)

release izlude
}
}


automacro ama_dun01 {
run-once 1
location ama_dun01
call {
release izlude
release iwanttosell
release ama_dun02
do move ama_dun03
}
}

#this is your fight map ... ama_dun02
automacro ama_dun02 {
run-once 1
location ama_dun02
call {
release izlude
release iwanttosell
release ama_dun01
release ama_dun03
}
}

automacro ama_dun03 {
run-once 1
location ama_dun03
call {
release izlude
release iwanttosell
release ama_dun01
release ama_dun02
do move ama_dun02
}
}

No comments: