• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Dynamically increasing profile

    Discussion in 'Community Developer Forum' started by Paratax, Sep 14, 2015.

    1. Paratax

      Paratax New Member

      Joined:
      Nov 29, 2012
      Messages:
      28
      Likes Received:
      1
      Trophy Points:
      3
      Hello,

      I am looking for a way to have a profile that increases itemcount during its duration. Currently I have seen this in several profiles:
      Code:
      <!DOCTYPE Profile [
      	<!ENTITY SomeVariableName "100">
      ]>
      <If Condition="ItemCount(x) &lt; &SomeVariableName ">
       "do something"
      </If>
      
      What I am looking for is a way to increase "SomeVariableName" lets say by 100 again. Or to have something else that would increase the count during its runtime.

      Something like
      Code:
      declare SomeVariableName 100 
      <If Condition="ItemCount(x) &lt; &SomeVariableName ">
       "do something"
       SomeVariableName = SomeVariableName + 100
      </If>
      
      I have no idea how to express it in the language the bot is using.
       

    Share This Page