๐ Dialog Example
list contoh untuk command dialog silahkan cek tab disamping (kalau lewat PC) untuk cek list semua example! cara menggunakan command bisa lewat buat script atau langsung run lewat website!
# claim reward winterfestโ
dialog open "winterrally_dialog" [id=2,action="winterrallymenu"]
dialog click "claim_button"
dialog close
print "done"
# tambah royal seal ke reward branch pertamaโ
dialog open "popup" [wrench="{bot.name}"]
dialog click "royalwintertrack"
dialog next "royalWinterClaim"
dialog click "0"
dialog next "royalWinterClaim"
dialog click "addseals"
dialog next "royalWinterAddSeals"
dialog input "count" "200 -- ganti ini"
dialog click "confirmseals"
dialog close
print "done"
# hidupkan blue titleโ
dialog open "popup" [wrench="{bot.name}"]
dialog click "title_edit"
dialog next "title_edit"
dialog check "checkbox_max_level_title" "true"
dialog close
# tambahkan 'note' lewat wrenchโ
dialog open "popup" [wrench="{bot.name}"]
dialog click "notebook_edit"
dialog next "paginated_personal_notebook_view"
dialog input "pageNum" 0
dialog click "editPnPage"
dialog next "paginated_personal_notebook_edit"
dialog input "personal_note" "Hello World"
dialog click "save"
dialog close
# claim all reward Growpediaโ
dialog open "dialog_growpedia" [use="Growpedia"]
dialog click "claimall"
dialog close
# claim reward valentine super golden booty chestโ
dialog open "valentine_quest" [id=2,action="claimprogressbar"]
dialog click "claimreward"
dialog close
# add gbc ke Wishing Wellโ
dialog open "wishing_well" [place="Golden Booty Chest",location="X:Y"]
dialog click "wishing_well"
dialog close
# claim growpass reward pertamaโ
dialog open "popup" [wrench="{bot.name}"]
dialog click "bonus"
dialog next "battlepass_tasks"
dialog click "tab_rewards"
dialog click "battlepass_rewards"
dialog click "claim_p2p_150"
dialog close
# claim growpass gemsโ
dialog open "popup" [wrench="{bot.name}"]
dialog click "bonus"
dialog next "battlepass_tasks"
dialog click "claim_gems"
dialog close
# hidupkan advanced acount protectionโ
dialog open "secureaccount" [id="2",action="AccountSecurity",location="pausemenu"]
dialog next "onsecureaccount"
dialog close
# claim pvp battle licenseโ
dialog open "popup" [wrench="{bot.name}"]
dialog click "renew_pvp_license"
dialog next "pvp_license_renew"
dialog click "renewlicense"
dialog close
# deliver dan claim semua life goal yang adaโ
pathfinding @t[foreground="Telephone"]
var "tile" store entity @t[foreground="Telephone"]
dialog open "phonecall" [wrench="{var.tile.location.x}:{var.tile.location.y}"]
dialog input "dial" "12345"
dialog next "phonecall"
dialog click "chc1"
dialog next "phonecall"
dialog read
dialog close
var "dialog" store text "{var.returnValue.values}"
# function untuk deliver
function create "deliver" "none" []
var "called" store text "true"
var "tile" store entity @t[foreground="Telephone"]
dialog open "phonecall" [wrench="{var.tile.location.x}:{var.tile.location.y}"]
dialog input "dial" "12345"
dialog next "phonecall"
dialog click "chc1"
dialog next "phonecall"
dialog click "{param.str}"
dialog next "phonecall"
dialog click "deliveryes"
dialog next "phonecall"
dialog click "finish0"
dialog close
function end
# function untuk claim
function create "claim" "none" []
var "called" store text "true"
var "tile" store entity @t[foreground="Telephone"]
dialog open "phonecall" [wrench="{var.tile.location.x}:{var.tile.location.y}"]
dialog input "dial" "12345"
dialog next "phonecall"
dialog click "chc1"
dialog next "phonecall"
dialog click "{param.str}"
dialog close
function end
# sesuaikan dengan apa yang bisa dilakukan
execute if-true [{var.dialog}~"deliver0"] function deliver[str="deliver0"]
wait 3
execute if-true [{var.dialog}~"deliver1"] function deliver[str="deliver1"]
wait 3
execute if-true [{var.dialog}~"deliver2"] function deliver[str="deliver2"]
wait 3
execute if-true [{var.dialog}~"finish0"] function claim[str="finish0"]
wait 3
execute if-true [{var.dialog}~"finish1"] function claim[str="finish1"]
wait 3
execute if-true [{var.dialog}~"finish2"] function claim[str="finish2"]
wait 3
# ulang sampai semua ke claim
execute if-true [{var.called}="true"] goto 1
print "semua reward claimed!"
# setel billboardโ
ganti Jeans jadi nama item di inventory, kalau namanya ada spasi pastikan diganti dengan _
contoh: Pepper Tree -> Pepper_Tree
dialog open "popup" [wrench="{bot.name}"]
dialog click "billboard_edit"
dialog next "billboard_edit"
dialog input "billboard_item" "{bot.inventory.Jeans.id}"
dialog next "billboard_edit"
dialog check "billboard_toggle" true
dialog check "billboard_buying_toggle" false
dialog input "setprice" 1
dialog input "chk_peritem" 0
dialog input "chk_perlock" 1
dialog close
# add mooncake ke offering tableโ
bot akan pathfinding ke Offering Table dan mulai add mooncake sesuai yang kamu berikan. dibawah akan add Harmony Mooncake di slot pertama (ke-0). dari Growtopia nya itu ada 10 slot jadi 0 sampe 9
var "tile" store entity @t[foreground="Offering Table"]
pathfinding @t[location="{var.tile.location.xy}"]
function create "supply" "none" []
dialog open "mooncake_altar_dialog" [wrench="{var.tile.location.xy}"]
dialog click "slot_btn_{param.button}"
dialog next "mooncake_choose_dialog"
dialog click "item_btn_{param.mooncake}"
dialog next "mooncake_count_dialog"
dialog input "count" "{param.count}"
dialog click "ok"
dialog close
function end
collect 3
# cancel kalau salah satu mooncake nya habis
execute any-true [{bot.inventory.Prosperity_Mooncake.amount}=0,{bot.inventory.Longevity_Mooncake.amount}=0,{bot.inventory.Peace_Mooncake.amount}=0,{bot.inventory.Harmony_Mooncake.amount}=0] terminate
# place mooncake ke semua slot, pastikan ada di inventory bot ya
function supply[button="0",mooncake="{bot.inventory.Prosperity_Mooncake.id}",count="1"]
function supply[button="1",mooncake="{bot.inventory.Longevity_Mooncake.id}",count="1"]
function supply[button="2",mooncake="{bot.inventory.Peace_Mooncake.id}",count="1"]
function supply[button="3",mooncake="{bot.inventory.Harmony_Mooncake.id}",count="1"]
function supply[button="4",mooncake="{bot.inventory.Prosperity_Mooncake.id}",count="1"]
function supply[button="5",mooncake="{bot.inventory.Longevity_Mooncake.id}",count="1"]
function supply[button="6",mooncake="{bot.inventory.Peace_Mooncake.id}",count="1"]
function supply[button="7",mooncake="{bot.inventory.Harmony_Mooncake.id}",count="1"]
function supply[button="8",mooncake="{bot.inventory.Prosperity_Mooncake.id}",count="1"]
function supply[button="9",mooncake="{bot.inventory.Longevity_Mooncake.id}",count="1"]
# setelah itu claim reward nya
dialog open "mooncake_altar_dialog" [wrench="{var.tile.location.xy}"]
dialog click "offer_btn"
dialog next "mooncake_reward_dialog"
dialog click "take_rewar"
dialog close
paling bawah bisa kamu tambahkan command ini agar ulang sampai habis
wait 5
goto 1
# claim Halloween candyโ
bot akan claim candy lewat store dan go ke GROWGANOTH untuk tuker 20 candy nya, ini bisa langsung dijalanin lewat controller
::first::
var "candy" store text "{bot.inventory.Halloween_Candy.amount}"
dialog open "halloween_tasks_popup_handle" [id="2",action="halloweenquestpopup"]
dialog click "halloween_claim_task_reward_3"
dialog close
wait 3
execute if-true [{var.candy}!={bot.inventory.Halloween_Candy.amount}] goto "::first::"
go "GROWGANOTH" wait
var "ett" store entity @t[foreground="Shady Salesman"]
pathfinding @t[location="{var.ett.location.xy}"]
::salesman::
dialog open "handleHalloweenShopPopup" [place="Fist",location="{var.ett.location.xy}"]
dialog click "halloween_store_item_open_purchase_0"
dialog next "handleHalloweenShopVerification"
dialog click "yesbuy"
dialog close
execute if-true [{bot.inventory.Halloween_Candy.amount}>=20] goto "::salesman::"
print "Halloween - selesai!"
# claim magplant remoteโ
bot perlu dekat dengan magplant
var "magplant" store entity @t[foreground="MAGPLANT 5000"]
dialog open "itemsucker" [wrench="{var.magplant.location.xy}"]
dialog click "getplantationdevice"
dialog close
# add friendโ
setiap bot akan mempunyai 1 teman, ini script untuk 50 bot saling add sekaligus
go "WORLD" wait
wait 10
execute as "{script.bots.0}" var "targetBot" store text "{script.bots.1}"
execute as "{script.bots.1}" var "targetBot" store text "{script.bots.0}"
execute as "{script.bots.2}" var "targetBot" store text "{script.bots.3}"
execute as "{script.bots.3}" var "targetBot" store text "{script.bots.2}"
execute as "{script.bots.4}" var "targetBot" store text "{script.bots.4}"
execute as "{script.bots.5}" var "targetBot" store text "{script.bots.5}"
execute as "{script.bots.6}" var "targetBot" store text "{script.bots.7}"
execute as "{script.bots.7}" var "targetBot" store text "{script.bots.6}"
execute as "{script.bots.8}" var "targetBot" store text "{script.bots.9}"
execute as "{script.bots.9}" var "targetBot" store text "{script.bots.8}"
execute as "{script.bots.10}" var "targetBot" store text "{script.bots.11}"
execute as "{script.bots.11}" var "targetBot" store text "{script.bots.10}"
execute as "{script.bots.12}" var "targetBot" store text "{script.bots.13}"
execute as "{script.bots.13}" var "targetBot" store text "{script.bots.12}"
execute as "{script.bots.14}" var "targetBot" store text "{script.bots.15}"
execute as "{script.bots.15}" var "targetBot" store text "{script.bots.14}"
execute as "{script.bots.16}" var "targetBot" store text "{script.bots.17}"
execute as "{script.bots.17}" var "targetBot" store text "{script.bots.18}"
execute as "{script.bots.18}" var "targetBot" store text "{script.bots.17}"
execute as "{script.bots.19}" var "targetBot" store text "{script.bots.20}"
execute as "{script.bots.20}" var "targetBot" store text "{script.bots.19}"
execute as "{script.bots.21}" var "targetBot" store text "{script.bots.22}"
execute as "{script.bots.22}" var "targetBot" store text "{script.bots.21}"
execute as "{script.bots.23}" var "targetBot" store text "{script.bots.24}"
execute as "{script.bots.24}" var "targetBot" store text "{script.bots.23}"
execute as "{script.bots.25}" var "targetBot" store text "{script.bots.26}"
execute as "{script.bots.26}" var "targetBot" store text "{script.bots.25}"
execute as "{script.bots.27}" var "targetBot" store text "{script.bots.28}"
execute as "{script.bots.28}" var "targetBot" store text "{script.bots.27}"
execute as "{script.bots.29}" var "targetBot" store text "{script.bots.30}"
execute as "{script.bots.30}" var "targetBot" store text "{script.bots.29}"
execute as "{script.bots.31}" var "targetBot" store text "{script.bots.32}"
execute as "{script.bots.32}" var "targetBot" store text "{script.bots.31}"
execute as "{script.bots.33}" var "targetBot" store text "{script.bots.34}"
execute as "{script.bots.34}" var "targetBot" store text "{script.bots.33}"
execute as "{script.bots.35}" var "targetBot" store text "{script.bots.36}"
execute as "{script.bots.36}" var "targetBot" store text "{script.bots.35}"
execute as "{script.bots.37}" var "targetBot" store text "{script.bots.38}"
execute as "{script.bots.38}" var "targetBot" store text "{script.bots.37}"
execute as "{script.bots.39}" var "targetBot" store text "{script.bots.40}"
execute as "{script.bots.40}" var "targetBot" store text "{script.bots.39}"
execute as "{script.bots.41}" var "targetBot" store text "{script.bots.42}"
execute as "{script.bots.42}" var "targetBot" store text "{script.bots.41}"
execute as "{script.bots.43}" var "targetBot" store text "{script.bots.44}"
execute as "{script.bots.44}" var "targetBot" store text "{script.bots.43}"
execute as "{script.bots.45}" var "targetBot" store text "{script.bots.46}"
execute as "{script.bots.46}" var "targetBot" store text "{script.bots.45}"
execute as "{script.bots.47}" var "targetBot" store text "{script.bots.46}"
execute as "{script.bots.48}" var "targetBot" store text "{script.bots.49}"
execute as "{script.bots.49}" var "targetBot" store text "{script.bots.48}"
execute if-true [{var.targetBot}="null"] terminate
dialog open "popup" [wrench="{var.targetBot}"]
dialog click "friend_add"
dialog close
print "{bot.name} added bot {var.targetBot}"
# remove all friendโ
# get all friends
dialog open "socialportal" [id="2",action="friends"]
dialog click "showfriend"
dialog next "friends"
dialog click "all_friends"
dialog next "all_friends"
dialog read
dialog close
var "ids" store list []
foreach "{var.returnValue}" then
var "temp" store text "{var.value}"
var "temp" split "|" 0
execute if-true [{var.temp.0}="add_checkbox"] var "ids" add "{var.temp.1}"
foreach end
# for each remove friends
dialog open "socialportal" [id="2",action="friends"]
dialog click "showfriend"
dialog next "friends"
dialog click "all_friends"
dialog next "all_friends"
foreach "{var.ids}" then
dialog check "{var.value}" true
foreach end
dialog click "remove_multi_friends"
dialog next "remove_all_friends"
dialog click "confirm"
dialog close
# disable friend locationโ
mencegah bot kena warp kalau misalnya beli akun
dialog open "socialportal" [id="2",action="friends"]
dialog click "showfriend"
dialog next "friends"
dialog click "friends_options"
dialog next "friends_options"
dialog check "checkbox_public" false
dialog check "checkbox_notifications" false
dialog check "checkbox_ignorenonfriendmessages" false
dialog click "back"
dialog close
# personalize player profileโ
checkbox nya sesuai dengan setting yang ada di UI asli
dialog open "popup" [wrench="{bot.name}"]
dialog click "open_personlize_profile"
dialog next "personalize_profile"
dialog check "checkbox_show_achievements" true
dialog check "checkbox_show_total_ach_count" true
dialog check "checkbox_show_account_age" true
dialog click "save"
dialog close
# cek locked worldโ
akan di print lewat console, pastikan bot online & berada di world
dialog open "popup" [wrench="{bot.name}"]
dialog click "my_worlds"
dialog next "worlds_list"
dialog read
dialog close
var "worldList" store list []
foreach "{var.returnValue}" then
execute if-true [{var.value}~"add_button"] var "world" store text "{var.value}"
execute if-true [{var.value}~"add_button"] var "world" split "|" 0
execute if-true [{var.value}~"add_button"] var "worldList" add "{var.world.1}"
foreach end
print "{var.worldList.values}"
# beli item dari vendingโ
dengan tambahan command pathfinding supaya botnya langsung ke vending machine
var "vending" store entity @t[foreground="Vending Machine",is_vending_available="true",vending_item="Dirt",range=100]
pathfinding @t[location="{var.vending.location.xy}"]
dialog open "vending" [wrench="{var.vending.location.xy}"]
dialog input "buycount" 200 # ganti & sesuaikan dengan world lock kamu
dialog next "vending"
dialog input "verify" 1
dialog click "ok"
dialog close
# start farmer questโ
dialog open "rolequestspage" [chat="/roles"]
dialog click "questselect"
dialog next "rolequestselectpage"
dialog click "startFarmerquest"
dialog next "rolequestconfirm"
dialog click "startFarmerquest"
dialog close
# leave guildโ
dialog open "socialportal" [id="2",action="friends"]
dialog click "showguild"
dialog next "guildmembers"
dialog click "leave_guild"
dialog next "leave_guild"
dialog click "leave_guild_confirmed"
dialog close