This is my codes:
This is my image:automacro sg {
console /\[(.*)=(.*)\] (.*) \((\d+)\): (.*)(Heart)(.*)$/ #/lv
call sgg
}
macro sgg {
pause 1
$player = $.lastMatch4
$item = @inventory (Lotto Ball 05) <<<< Core reads Star Gladiator Spirit as Lotto Ball 05
do ip $item $player
pause 1
release all
}
automacro TalisTalk {
hook item_skill
save ID
save skill
run-once 0
call talisna
}
macro talisna {
log ID= $.hooksave0 skill= $.hooksave1
do sp $.hooksave0 $player
pause 1
#do sp 479 $.lastMatch3
release all
}
[dist=1.4] Turko (0): *Heart*
[macro] automacro triggered.
You used Item: Lotto Ball 05 (0) x 0 - 86 left
Permitted to use Star Gladiator Spirit (448), Level 5
[macro] $args->(skill) does not exist
[macro] automacro TalisTalk triggered.
[macro] [log] ID=448 skill =
Skill Star Gladiator Spirit cannot be used because your character has no such skill.