本帖最後由 asdf012 於 2011-6-15 03:39 編輯
這是我傳送巨集的腳本 但是開上去打 "中" 的話 會出現
tempMacro0 error: error in 3: @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null') failed
可以幫幫我解答嗎??
以下是腳本
automacro warpPortal0 {
pubm /中/
call {
if (@invamount(藍色魔力礦石) == 0) goto
$i = $.lastMatch4
$g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
stop
:ok
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$y2 = @eval($y + 2)
do sl 27 $x $y2
pause 1
do warp prontera
do c 中央
stop
do c 沒藍石
stop
}
}
automacro warpPortal1 {
pubm /斐/
call {
if (@invamount(藍色魔力礦石) == 0) goto
if ($.lastMatch1 > 9) goto stop
$i = $.lastMatch3
$g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
stop
:ok
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$y2 = @eval($y - 2)
do sl 27 $x $y2
pause 1
do warp payon
do c 斐揚
stop
do c 沒藍石
stop
}
}
automacro warpPortal2 {
pubm /岩/
call {
if (@invamount(藍色魔力礦石) == 0) goto
if ($.lastMatch1 > 9) goto stop
$i = $.lastMatch3
$g = @eval (exists $::players{$::playersID[$i]}->{guild} ? $::players{$::playersID[$i]}->{guild}{name} : 'null')
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
if ("$g" == "xxxxx") goto ok
stop
:ok
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$x2 = @eval($x + 2)
do sl 27 $x2 $y
pause 1
do warp ve_fild03
do c 岩波
stop
do c 沒藍石
stop
}
} |
|