ElfBot NG

Change outfit the enemy according to vocation

Changes outfit the enemy according to vocation (to open war).
Code:
auto 200 foreach 'screenplayers' $x { if [$x.isenemy && $x.haslookinfo] {if [$x.isdruid] {setoutfit $x.name 'Male Druid'} | if [$x.issorcerer] {setoutfit $x.name 'Male Mage'} | if [$x.isknight] {setoutfit $x.name 'Male Warrior'} | if [$x.ispaladin] {setoutfit $x.name 'Male Assassin'}}
Related Posts

0 comentários:

Post a Comment

 
Copyright © 2011 Tibia ElfBot NG. Designed by designer