What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Needs a little assistance with a code =)

happyfriet

Active Member
Joined
Jan 14, 2013
Messages
1,271
Reaction score
19
yo - I'm looking for a code that I can put in a profile that does the following:
'When bot dies - Stop profile' ( Nothing more )

is that possible?

Cheers
 
<While Condition="IsInGame"> (Styx. I think)
<If Condition="Me.IsDead">
<Code to stop the bot (it exists, just can't remember off by heart)>
<Else>
<Do stuff>
</Else>
</If>
</While>

the reason why you need to wrap it in a while loop is because the bot will stop once the task is done, I did this for my AH profile.. wrapping in a While loop with If conditions is a nice way of making the bot continue forever.
 
Last edited:
Back
Top