teman2 aku butuh bantuan buat warp portal codenya... aku tambahin sedikit function tapi ga jalan.....
<div class='codetop'>NYIT-NYIT CODE</div><div class='codemain' style='height:300px;white-spacere;overflow:auto'>automacro TriggedOpen {
run-once 1
map payon
call OpenChat
}
automacro warp {
run-once 1
console /player (.*)added (.*) /
call OpenWarp
macro OpenWarp {
if ($.lastMatch1 == 3000 ) goto moscovia
if ($.lastMatch1 == 3000 ) goto ice
if ($.lastMatch1 == 2000 ) goto gh
#kalo sama ya berabe
else goto end
:moscovia
do chat leave
pause 1
do sl 27 227 88
pause 1
do warp 1
goto end
:ice
do chat leave
pause 1
do sl 27 227 88
pause 1
do warp 2
goto end
:gh
do chat leave
pause 1
do sl 27 227 88
pause 1
do warp 3
goto end
:end
call OpenChat
}
macro OpenChat {
do chat create "MOSCO@3k,ICE@3k,GH@2k" 2 1 wqakak
release all
}
automacro close {
inventory "Blue Gemstone" == 1
call {
do relog 9999999999999
}
}</div>
gimana ya....
<div class='codetop'>NYIT-NYIT CODE</div><div class='codemain' style='height:300px;white-spacere;overflow:auto'>automacro TriggedOpen {
run-once 1
map payon
call OpenChat
}
automacro warp {
run-once 1
console /player (.*)added (.*) /
call OpenWarp
macro OpenWarp {
if ($.lastMatch1 == 3000 ) goto moscovia
if ($.lastMatch1 == 3000 ) goto ice
if ($.lastMatch1 == 2000 ) goto gh
#kalo sama ya berabe
else goto end
:moscovia
do chat leave
pause 1
do sl 27 227 88
pause 1
do warp 1
goto end
:ice
do chat leave
pause 1
do sl 27 227 88
pause 1
do warp 2
goto end
:gh
do chat leave
pause 1
do sl 27 227 88
pause 1
do warp 3
goto end
:end
call OpenChat
}
macro OpenChat {
do chat create "MOSCO@3k,ICE@3k,GH@2k" 2 1 wqakak
release all
}
automacro close {
inventory "Blue Gemstone" == 1
call {
do relog 9999999999999
}
}</div>
gimana ya....