๐คณ Auto Geiger
full script untuk gigeran! sebagian besar fitur sudah di handle oleh job geiger, ini dengan tambahan
- notifikasi discord untuk list reward di world
- opsi beda - beda world per bot
# OnLoad - start geigerโ
karena OnLoad, scriptnya akan langsung jalan setelah kamu reload
# contoh: jika kamu ada 20 bot di script, maka "{script.bots.0}" sampai "{script.bots.19}"
execute as "{script.bots.0}" var "startWorld" store text "WORLDGEIGERAN1"
execute as "{script.bots.1}" var "startWorld" store text "WORLDGEIGERAN2"
job schedule [name="geiger",geiger_option="true,{var.startWorld}",storage_option="DEF;Pepper Tree;0;{var.startWorld}",start_world="{var.startWorld}"]
# OnTick - 30_secondsโ
jangan lupa untuk setel webhook url kamu di script, command di hook ini bertugas untuk update informasi item kalau ada job geiger jalan. notifikasinya akan dijalankan kalau ada itemnya di world, bisa kamu edit kalau mau scan item lain
condition [{bot.job.geiger}!=null] continue[] terminate[]
execute if-true [{bot.world.drops.Black_Crystal}>0] notification raw "Black Crystal: {bot.world.drops.Black_Crystal}"
execute if-true [{bot.world.drops.White_Crystal}>0] notification raw "White Crystal: {bot.world.drops.White_Crystal}"
execute if-true [{bot.world.drops.Green_Crystal}>0] notification raw "Green Crystal: {bot.world.drops.Green_Crystal}"
execute if-true [{bot.world.drops.Red_Crystal}>0] notification raw "Red Crystal: {bot.world.drops.Red_Crystal}"
execute if-true [{bot.world.drops.Blue_Crystal}>0] notification raw "Blue Crystal: {bot.world.drops.Blue_Crystal}"