DomesticWarlord
Community Developer
- Joined
- May 16, 2013
- Messages
- 368
I know you can use Logging.Write for Plugins, but is there a similar function that would work for profiles?
Appreciate the information there, but it doesn't appear to be doing anything. I don't find the message in the actual log or the RebornBuddy window.
For clarification, I would actually like to have something that passes a message to the rebornbuddy winodw. There are big pauses in my profile where the character will stand still for several minutes while waiting on an event to happen, and I'd like to notify the player via the console window that the bot is still running, just waiting for an event.
<If Condition="IsTimeBetween(2,5)">
<WaitWhile Condition ="IsTimeBetween(2,5)" />
<LogMessage Message= "Next spawn at 5AM Eorzea Time at East Shroud."/>
</If>
<If Condition="IsTimeBetween(2,5)">
<LogMessage Message="Next spawn at 5AM Eorzea Time at East Shroud." />
<WaitWhile Condition="IsTimeBetween(2,5)" />
</If>
Your code will never reach the LogMessage tag (until the very end of the 5 AM hour) because it sits a the WaitWhile tag for that timespan. Switch the tags around:
Code:<If Condition="IsTimeBetween(2,5)"> <LogMessage Message="Next spawn at 5AM Eorzea Time at East Shroud." /> <WaitWhile Condition="IsTimeBetween(2,5)" /> </If>