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

PB - change profile

Zubi

Member
Joined
Jan 15, 2010
Messages
91
Reaction score
2
Is it possible to make PB change profile and bot after a period of time ? And how :) ?
 
Yes.
...... if you mean an exact time ...
Custom Action - var1 = DateTime.Now
while (true)
if ((DateTime.Now - (DateTime)var1).TotalMinutes > 30)
Load Profile - PB Profile

PB Profile:
PHP:
<?xml version="1.0" encoding="utf-8"?>
<Professionbuddy>
  <CustomAction Code="var1 = DateTime.Now;" />
  <While Condition="true" IgnoreCanRun="True">
    <If Condition="(DateTime.Now - (DateTime)var1).TotalMinutes &gt; 30" IgnoreCanRun="True">
      <CustomAction Code="Lua.DoString(&quot;EatMe();&quot;);" />
    </If>
  </While>
</Professionbuddy>
 
Last edited:
Back
Top