Noxious OT Wiki

Unofficial Noxious Open Tibia Wiki: info, downloads, tools, calculators...

User Tools

Site Tools


elfbot_persistent_scripts

ElfBot Persistent Command Scripts

All Vocations

The following script is a great universal (all vocations) standard script:

elfbot-scripts.txt
auto 5000 dontlist | set $staminamin [$stamina/60] | set $hpotions [$itemcount.239 + $itemcount.236 + $itemcount.266 + $itemcount.7643 + $itemcount.7876] | set $mpotions [$itemcount.237 + $itemcount.268 + $itemcount.238 + $itemcount.7642] | if [$hpotions < 50] { set $th 'h$hpotions' } | if [$mpotions < 50] { set $tm 'm$mpotions' } | if [$timetnl < 3600] { set $tt 't$timetnl' } | if [$staminamin < 20] { set $ts 's$staminamin' } | if [$cap < 500] { set $tc 'c$cap' } | setcaption '$th $tm $ts $tc $name $exph'
 
auto 200 setpos [$screenright+80] [$screentop+125] | setcolor 193 194 195 | displaytext "$hppc / $mppc"
 
auto 3000 dontlist | if [$hasted == 0 && $inpz == 0 && $monstersaround.6 == 0 && $mppc > 30] {safe say 'utani hur' } | if [$paralyzed && $monstersaround.6 >= 1] { charge | stronghaste | swiftfoot }
auto 6000 dontlist | if [$mppc >= 90] {charge | stronghaste | swiftfoot }
auto 60000 dontlist | usegrounditem 2772 | usegrounditem 2773 | if [$inpz == 0] { eatfood }
 
auto 10000 dontlist | if [$playersaround.6 == 0 && $monstersaround.2 >= 3] {safe useoncreature 3191 target}
 
auto 5000 dontlist | if [$itemcount.3031 > 100] { openitem 3031 2 0 }
auto 20000 dontlist | if [$itemcount.3035 > 100] { openitem 3035 2 0 }
 
auto 300 listas 'Multi-Potion Healing' | if [$hppc < 40] { useoncreature 7643 self | useoncreature 7642 self | useoncreature 239 self | useoncreature 236 self | useoncreature 266 self | useoncreature 7876 self | flash | playsound 'playerattacking.wav' }
 
auto 500 | foreach 'shootableplayers' $player { if ['$player.hppc' < 80 && '$player.skull' < 3] { safe uh '$player.name' } }
 
auto 5000 ifnot $connected { reconnect | wait 5000 }

Find more advanced scripts here.

Knights

The following code will exori hur enemies and HMM when mana is below 66%:

auto 1000 dontlist | if [ $targetingon ] { if [$mppc > 66 && $hppc > 50] { say 'exori hur' }else{ hmm target } }

Special Scripts

The following code will tell you your current character vocation ($self.voc doesn't exist in Elfbot). It is based on the difference between Level and HP and works from level 25 to level 400+. This script is really useful to, for example, know which potions/spells you can use.

if [$hpmax / $level > 14]{ statusmessage 'k' }else if [$hpmax / $level > 9]{ statusmessage 'p' }else{ statusmessage 'm' }

Go back to ElfBot.

Discussion

Enter your comment. Wiki syntax is allowed:
 

Weekly Boss! Saturdays and Sundays at 2pm, 6pm and 10pm (East Coast time) at the arena (20 Noxious Tokens)