Back to "snippet" tags

Bapeth's Bone / Plate Hot swapping script by barryroser

Description: Use this when you want to avoid Blast damage, or auto swap between bone/plate for any reason

# Bapeths bone / Plate Hotswapping # # Upload Date : December 30th 2024 # # This script will toggle bone or plate on in a single press # It requires that you have two sets of armor on your person, one bone and one plate # # Use this when you want to avoid Blast damage, or auto swap between bone/plate for any reason # # Script starts here... clearall while queued //donothing endwhile if not find "NoMBchest" self hotkey "Set Last Target" wft 500 overhead "Set Plate Chest..." 88 while targetexists //do nothing endwhile @setvar "NoMBchest" lasttarget getlabel "NoMBchest" desc if "platemail chest" in desc //donothing else @unsetvar "NoMBchest" replay endif endif if not find "NoMBleggings" self hotkey "Set Last Target" wft 500 overhead "Set Plate Leggings..." 88 while targetexists //donothing endwhile @setvar "NoMBleggings" lasttarget getlabel "NoMBleggings" desc if "platemail leggings" in desc //donothing else @unsetvar "NoMBleggings" replay endif endif if not find "NoMBgloves" self hotkey "Set Last Target" wft 500 overhead "Set Plate Gloves..." 88 while targetexists //donothing endwhile @setvar "NoMBgloves" lasttarget getlabel "NoMBgloves" desc if "platemail gloves" in desc //donothing else @unsetvar "NoMBgloves" replay endif endif if not find "NoMBarms" self hotkey "Set Last Target" wft 500 overhead "Set Plate Arms..." 88 while targetexists //donothing endwhile @setvar "NoMBarms" lasttarget getlabel "NoMBarms" desc if "platemail arms" in desc //donothing else @unsetvar "NoMBarms" replay endif endif if not find "NoMBgorget" self hotkey "Set Last Target" wft 500 overhead "Set Plate Gorget..." 88 while targetexists //donothing endwhile @setvar "NoMBgorget" lasttarget getlabel "NoMBgorget" desc if "platemail gorget" in desc //donothing else @unsetvar "NoMBgorget" replay endif endif if not find "boneMBchest" self hotkey "Set Last Target" wft 500 overhead "Set bone Chest..." 78 while targetexists //do nothing endwhile @setvar "boneMBchest" lasttarget getlabel "boneMBchest" desc if "bone chest" in desc //donothing else @unsetvar "boneMBchest" replay endif endif if not find "boneMBleggings" self hotkey "Set Last Target" wft 500 overhead "Set bone Leggings..." 78 while targetexists //donothing endwhile @setvar "boneMBleggings" lasttarget getlabel "boneMBleggings" desc if "bone legs" in desc //donothing else @unsetvar "boneMBleggings" replay endif endif if not find "boneMBgloves" self hotkey "Set Last Target" wft 500 overhead "Set bone Gloves..." 78 while targetexists //donothing endwhile @setvar "boneMBgloves" lasttarget getlabel "boneMBgloves" desc if "bone gloves" in desc //donothing else @unsetvar "boneMBgloves" replay endif endif if not find "boneMBarms" self hotkey "Set Last Target" wft 500 overhead "Set bone Arms..." 78 while targetexists //donothing endwhile @setvar "boneMBarms" lasttarget getlabel "boneMBarms" desc if "bone arms" in desc //donothing else @unsetvar "boneMBarms" replay endif endif if not find "boneMBgorget" self hotkey "Set Last Target" wft 500 overhead "Set bone Gorget..." 78 while targetexists //donothing endwhile @setvar "boneMBgorget" lasttarget getlabel "boneMBgorget" desc if "bone gorget" in desc //donothing else @unsetvar "boneMBgorget" replay endif endif if not timerexists pvparon overhead "Equipping Bone" 88 createtimer pvparon removetimer pvparoff while find "boneMBchest" backpack dclick "boneMBchest" while queued //donothing endwhile endwhile while find "boneMBgloves" backpack dclick "boneMBgloves" while queued //donothing endwhile endwhile while find "boneMBleggings" backpack dclick "boneMBleggings" while queued //donothing endwhile endwhile while find "boneMBarms" backpack dclick "boneMBarms" while queued //donothing endwhile endwhile while find "boneMBgorget" backpack dclick "boneMBgorget" while queued //donothing endwhile endwhile stop endif if not timerexists pvparoff overhead "Equipping Plate" 38 createtimer pvparoff removetimer pvparon while find "NoMBchest" backpack dclick "NoMBchest" while queued //donothing endwhile endwhile while find "NoMBgloves" backpack dclick "NoMBgloves" while queued //donothing endwhile endwhile while find "NoMBleggings" backpack dclick "NoMBleggings" while queued //donothing endwhile endwhile while find "NoMBarms" backpack dclick "NoMBarms" while queued //donothing endwhile endwhile while find "NoMBgorget" backpack dclick "NoMBgorget" while queued //donothing endwhile endwhile stop endif