• Visit Rebornbuddy
  • How to get my profile to repeat itself ?

    Discussion in 'Honorbuddy Forum' started by ifritone, Jun 21, 2014.

    1. ifritone

      ifritone New Member

      Joined:
      Mar 9, 2014
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Hi, during the development of my basic questing profile , i ran into a problem ,
      I need my profile to finish and then repeat the same thing from the start so as to be in a constant loop ,
      is this possible or will i have to copy and paste same code over and over again ?
       
    2. bennyquest

      bennyquest Community Developer

      Joined:
      Dec 6, 2010
      Messages:
      2,644
      Likes Received:
      22
      Trophy Points:
      38
      put it in a while statement

      <while condition="true" >

      </while>
       
    3. ifritone

      ifritone New Member

      Joined:
      Mar 9, 2014
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Hi could you please expand on this a little , i have changed the if statement to a while statement but it runs the profile and then ends . <while Condition="Me.HasAura(&quot;Stealth&quot;)"> instead of if ,, i am always stealthed
       
      Last edited: Jun 21, 2014
    4. bennyquest

      bennyquest Community Developer

      Joined:
      Dec 6, 2010
      Messages:
      2,644
      Likes Received:
      22
      Trophy Points:
      38
      to help more would be best if we knew what you were trying to do and a little more of the profile. If not i can tell you a million different things to do but without knowing what you are trying to do it does not help.
       
    5. zorked

      zorked New Member

      Joined:
      Mar 23, 2013
      Messages:
      576
      Likes Received:
      4
      Trophy Points:
      0
      you need to wrap your while tags around your whole profile (not the whole file but all the stuff your bot needs to do) for this to work.
       

    Share This Page