call Start1
}
}
## 主巨集開始
macro Start1 {
do chat leave
do move $chatlocation $locationx $locationy
pause 1
do conf ignoreAll 1
call Chat
}
automacro Start2 {
console /Buy completed./
run-once 1
call {
do chat leave
do move $chatlocation $locationx $locationy
pause 1
do conf ignoreAll 1
call Chat
}
}
## 藍色魔力礦石不足, 自動購買藍色魔力礦石
macro Stone {
do ss 29
do move $autobuy $autobuyx $autobuyy
do talk @npc(77 173)
do store
pause 1
do buy @store(藍色魔力礦石) $wanttobuy
pause 1
release all
}
## 開啟聊天室
macro Chat {
if (@invamount(藍色魔力礦石) < $needtobuy) goto buystone
do sit
do look 4
do chat create "$chatname" 2 0 $chatpass
do sit
stop
:buystone
call Stone
stop
}
## 15秒內不取消交易動作
automacro DealProcess1 {
console /(.*) ((.*)) Requests a Deal/
call {
do chat modify "交易進行中..."
do deal
pause 15
do deal no
do chat modify "$chatname"
stop
}
}
## 藍色魔力礦石不足, 自動購買藍色魔力礦石
macro Stone {
do ss 29
do move $autobuy $autobuyx $autobuyy
do talk @npc(77 173)
do store
pause 1
do buy @store(藍色魔力礦石) $wanttobuy
pause 1
release all
}
## 開啟聊天室
macro Chat {
if (@invamount(藍色魔力礦石) < $needtobuy) goto buystone
do sit
do look 4
do chat create "$chatname" 2 0 $chatpass
do sit
stop
:buystone
call Stone
stop
}
## 15秒內不取消交易動作
automacro DealProcess1 {
console /(.*) ((.*)) Requests a Deal/
call {
do chat modify "交易進行中..."
do deal
pause 15
do deal no
do chat modify "$chatname"
stop
}
}