<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>VoiceBot RSS: Can You Know What Was The Previous Macro Executed?</title>
<atom:link href="https://www.voicebot.net/Discussions/RSS/?TopicID=2f493d66-8099-4104-825e-2cb5e98d0a27" rel="self" type="application/rss+xml" />
<link>https://www.voicebot.net/Discussions/RSS/?TopicID=2f493d66-8099-4104-825e-2cb5e98d0a27</link>
<description>VoiceBot RSS: Can You Know What Was The Previous Macro Executed?</description>
<lastBuildDate>Thu, 16 Apr 2026 19:09:29 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.voicebot.net/Discussions/RSS/?TopicID=2f493d66-8099-4104-825e-2cb5e98d0a27</generator>
<item>
<title>RE: Can You Know What Was The Previous Macro Executed?</title>
<link>https://www.voicebot.net/Discussions/View/can-you-know-what-was-the-previous-macro-executed/?ID=2f493d66-8099-4104-825e-2cb5e98d0a27#2</link>
<pubDate>Fri, 12 Mar 2021 17:54:35 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/can-you-know-what-was-the-previous-macro-executed/?ID=2f493d66-8099-4104-825e-2cb5e98d0a27#2</guid>
<category>VoiceBot</category>
<description><![CDATA[Hi George,
You can use bfs.scriptsettings.writevalue at the start of all the macros to write each input to a log, and then use bfs.scriptsettings.readvalue any time you would like to know what has been input last.
You can find more information on those functions here:
https://www.voicebot.net/...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi George,<br/>
<br/>
You can use bfs.scriptsettings.writevalue at the start of all the macros to write each input to a log, and then use bfs.scriptsettings.readvalue any time you would like to know what has been input last.<br/>
<br/>
You can find more information on those functions here: <br/>
<br/>
<a href="https://www.voicebot.net/ScriptedFunctions/Help#bfs_scriptsettings_writevalue" target="_blank" rel="nofollow"><b>https://www.voicebot.net/ScriptedFunctions/Help#bfs_scriptsettings_writevalue</b></a><br/>
<a href="https://www.voicebot.net/ScriptedFunctions/Help#bfs_scriptsettings_readvalue" target="_blank" rel="nofollow"><b>https://www.voicebot.net/ScriptedFunctions/Help#bfs_scriptsettings_readvalue</b></a><br/>
<br/>
Hope that helps!
</div>
]]></content:encoded>
</item>
<item>
<title>Can You Know What Was The Previous Macro Executed?</title>
<link>https://www.voicebot.net/Discussions/View/can-you-know-what-was-the-previous-macro-executed/?ID=2f493d66-8099-4104-825e-2cb5e98d0a27</link>
<pubDate>Tue, 09 Mar 2021 19:14:00 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.voicebot.net/Discussions/View/can-you-know-what-was-the-previous-macro-executed/?ID=2f493d66-8099-4104-825e-2cb5e98d0a27</guid>
<category>VoiceBot</category>
<description><![CDATA[Hi, I've been wondering when writing a Macro Script if there is a way to know what was the last macro or even key pressed before running the Macro Script.
For example:
"run" macro tells character to run forward for 500ms
"custom" macro (which would be a macro script) would use the previous his...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi, I've been wondering when writing a Macro Script if there is a way to know what was the last macro or even key pressed before running the Macro Script.<br/>
<br/>
For example: <br/>
"run" macro tells character to run forward for 500ms<br/>
<br/>
"custom" macro (which would be a macro script) would use the previous history of macros used to make a decision which action to take. So if character previously ran then "custom" macro will decide to crouch. However if the character didn't just run then "custom" macro will decide to make him crawl.<br/>
<br/>
Can you know such information in a Macro Script? Can you access the history of executed macros? Or can you access the previous pressed keys? I know that you can see if a key is currently pressed but I haven't found something like "last_key_pressed".<br/>
<br/>
Anything would be helpful. Thank you!
</div>
]]></content:encoded>
</item>
</channel>
</rss>