Post by Darth Maul on Jan 26, 2020 18:52:38 GMT
Useful Miscellaneous Scripts when Cavebotting
Food Eater
Food Eater: The bot will auto try to eat food every 20seconds.
auto 20000 | dontlist | eatfood
Relog If Disconnected
Relog If Disconnected: Tries to relog if you disconnect. (uses !bless)
auto 100 | dontlist | ifnot $connected {reconnect | wait 3000 | say '!bless'}
Relog If You Die
Relog If You Die: Tries to relog if you die and goes back to spawn after 5minutes. (uses !bless)
auto 200 | dontlist | if [$hp == 0] {reconnect | wait 500 | say '!bless' | if $connected {wait [5*60*1000] | gotolabel 'LEAVE THAIS TEMP' | wait 500 | end}
Disconnect Alarm
Disconnect Alarm: Plays an alarm, and flashes the client, when you disconnect.
auto 100 | dontlist | ifnot $connected {playsound playerattacking.wav | flash | wait 1000}
Use Extra Mana
Use Extra Mana: Casts Invis spell if you have more then 95% mana, if you're a Druid, Sorcerer, or Paladin. Casts Utito Tempo if you're a Knight
If you're using my vocation checking script, you can use this single script for all vocations:
auto 500 | dontlist | if [$mppc > 95 && ($voc == 'Mage' || $voc == 'Paladin')] {say 'Utana Vid' | wait 5000} | if [$mppc > 95 && $voc == 'Knight'] {say 'utito tempo' wait 5000}
If you're not using my vocation checking script, you can use one of these depending on your vocation:
auto 500 | dontlist | if [$mppc > 95] {say 'Utana Vid' | wait 5000}
auto 500 | dontlist | if [$mppc > 95] {say 'utito tempo' wait 5000}
Auto Haste
Auto Haste: Auto hastes depending on your vocation.
If you're using my vocation checking script, you can use this single script for all vocations:
auto 1 | dontlist | if [$inpz == 0 && $hasted == 0] {if [$voc == 'Mage'] {say 'utani gran hur' | wait 1000} | if [$voc == 'Paladin' || $voc == 'Knight'] {say 'utani hur | wait 1000}
If you're not using my vocation checking script, you can use one of these depending on your vocation:
auto 1 | dontlist | if [$inpz == 0 && $hasted == 0] {say 'utani gran hur' | wait 1000}
auto 1 | dontlist | if [$inpz == 0 && $hasted == 0] {say 'utani hur | wait 1000}
PMS
PMS: Displays recent Private Messages on your HUD.
auto 100 | dontlist | listboxsetup 1 [$screenleft+6] [$screenbottom-12] 6 4500000 'up' | if [$fileisline.'friends.txt'.'$curmsg.sender' && $curmsg.isprivate] {listboxaddline 1 250 0 30 '$systime [$curmsg.sender]: [$cutstr.'$curmsg.content'.0.40]'} | ifnot [$fileisline.'friends.txt'.'$curmsg.sender'] {if [$curmsg.isprivate] {listboxaddline 1 0 237 242 '$systime [$curmsg.sender]: [$cutstr.'$curmsg.content'.0.40]'}}
Drops Empty Vials
Drops Empty Vials: Uses this script to drop any empty vials you have in your 'Opened Backpacks', in the cont hunt waypoint: dropitems 283 284 285
Type "leave" to return to depot
Type "leave" to return to depot: Type "leave" to leave the spawn and return to the depot.
You'll need to have a label called LEAVE HUNT setup, that will take you out of spawn. You'll also need a label called TRAVEL HUNT to return you back to spawn.
auto 10 | dontlist | foreach 'newmessages' $leave if [$token."$leave.content".1 == 'leave' && $leave.sender == '$name'] {gotolabel 'LEAVE HUNT' | if [$token."$leave.content".2 >= 1] {pm '$self.name' 'leaving' | set $tt [60*5] | wait [$tt*1000] | pm '$self.name' 'returning' | gotolabel 'TRAVEL HUNT' }
Use Unstable Potion
Use Unstable Potion: Tries to use the unstable potion every 5minutes. (gives a skill boosts, with a chance of giving you a death 'dot' for a short duration).
auto 100 | dontlist | safe if [$inpz == 0] {useitem 11372 | wait 60*1000*5}
Gold Changer without belt slot!
Gold Changer without belt slot!: Converts any Gold Coins into Platinum Coins, and Platinum Coins into Gold Nuggets, that are in your open backpacks; without using the belt slot.
You'll need to change 'backpack of holding' to whatever your open backpack is called. i.e. backpack
elfbotscripts.freeforums.net/thread/498/gold-changer-belt-slot
auto 700 | dontlist | if [$itemcount.3031 >= 100 || $itemcount.3035 >= 100] {openitem 3031 2 backpack of holding | openitem 3035 2 backpack of holding}
Food Eater
Food Eater: The bot will auto try to eat food every 20seconds.
auto 20000 | dontlist | eatfood
Relog If Disconnected
Relog If Disconnected: Tries to relog if you disconnect. (uses !bless)
auto 100 | dontlist | ifnot $connected {reconnect | wait 3000 | say '!bless'}
Relog If You Die
Relog If You Die: Tries to relog if you die and goes back to spawn after 5minutes. (uses !bless)
auto 200 | dontlist | if [$hp == 0] {reconnect | wait 500 | say '!bless' | if $connected {wait [5*60*1000] | gotolabel 'LEAVE THAIS TEMP' | wait 500 | end}
Disconnect Alarm
Disconnect Alarm: Plays an alarm, and flashes the client, when you disconnect.
auto 100 | dontlist | ifnot $connected {playsound playerattacking.wav | flash | wait 1000}
Use Extra Mana
Use Extra Mana: Casts Invis spell if you have more then 95% mana, if you're a Druid, Sorcerer, or Paladin. Casts Utito Tempo if you're a Knight
If you're using my vocation checking script, you can use this single script for all vocations:
auto 500 | dontlist | if [$mppc > 95 && ($voc == 'Mage' || $voc == 'Paladin')] {say 'Utana Vid' | wait 5000} | if [$mppc > 95 && $voc == 'Knight'] {say 'utito tempo' wait 5000}
If you're not using my vocation checking script, you can use one of these depending on your vocation:
auto 500 | dontlist | if [$mppc > 95] {say 'Utana Vid' | wait 5000}
auto 500 | dontlist | if [$mppc > 95] {say 'utito tempo' wait 5000}
Auto Haste
Auto Haste: Auto hastes depending on your vocation.
If you're using my vocation checking script, you can use this single script for all vocations:
auto 1 | dontlist | if [$inpz == 0 && $hasted == 0] {if [$voc == 'Mage'] {say 'utani gran hur' | wait 1000} | if [$voc == 'Paladin' || $voc == 'Knight'] {say 'utani hur | wait 1000}
If you're not using my vocation checking script, you can use one of these depending on your vocation:
auto 1 | dontlist | if [$inpz == 0 && $hasted == 0] {say 'utani gran hur' | wait 1000}
auto 1 | dontlist | if [$inpz == 0 && $hasted == 0] {say 'utani hur | wait 1000}
PMS
PMS: Displays recent Private Messages on your HUD.
auto 100 | dontlist | listboxsetup 1 [$screenleft+6] [$screenbottom-12] 6 4500000 'up' | if [$fileisline.'friends.txt'.'$curmsg.sender' && $curmsg.isprivate] {listboxaddline 1 250 0 30 '$systime [$curmsg.sender]: [$cutstr.'$curmsg.content'.0.40]'} | ifnot [$fileisline.'friends.txt'.'$curmsg.sender'] {if [$curmsg.isprivate] {listboxaddline 1 0 237 242 '$systime [$curmsg.sender]: [$cutstr.'$curmsg.content'.0.40]'}}
Drops Empty Vials
Drops Empty Vials: Uses this script to drop any empty vials you have in your 'Opened Backpacks', in the cont hunt waypoint: dropitems 283 284 285
Type "leave" to return to depot
Type "leave" to return to depot: Type "leave" to leave the spawn and return to the depot.
You'll need to have a label called LEAVE HUNT setup, that will take you out of spawn. You'll also need a label called TRAVEL HUNT to return you back to spawn.
auto 10 | dontlist | foreach 'newmessages' $leave if [$token."$leave.content".1 == 'leave' && $leave.sender == '$name'] {gotolabel 'LEAVE HUNT' | if [$token."$leave.content".2 >= 1] {pm '$self.name' 'leaving' | set $tt [60*5] | wait [$tt*1000] | pm '$self.name' 'returning' | gotolabel 'TRAVEL HUNT' }
Use Unstable Potion
Use Unstable Potion: Tries to use the unstable potion every 5minutes. (gives a skill boosts, with a chance of giving you a death 'dot' for a short duration).
auto 100 | dontlist | safe if [$inpz == 0] {useitem 11372 | wait 60*1000*5}
Gold Changer without belt slot!
Gold Changer without belt slot!: Converts any Gold Coins into Platinum Coins, and Platinum Coins into Gold Nuggets, that are in your open backpacks; without using the belt slot.
You'll need to change 'backpack of holding' to whatever your open backpack is called. i.e. backpack
elfbotscripts.freeforums.net/thread/498/gold-changer-belt-slot
auto 700 | dontlist | if [$itemcount.3031 >= 100 || $itemcount.3035 >= 100] {openitem 3031 2 backpack of holding | openitem 3035 2 backpack of holding}