Jump to content
Sign in to follow this  
program builder

Is it possable to write code into an exe file

Recommended Posts

program builder

I would like to write code into an exe file after it has been compiled,

using that same exe file, to write all of the code.

I am building a chat bot, and the way it works now is, whenever you ask

it a question it says lol, then askes you the same question that you asked

it. Then when you answer it, it responds back with your answer.

What I would like it to do, is when you have already gave the answer, it responds

back with your answer, whenever question is typed. I am going to though some random

answers in there, like it won't agree with you every time. I know how to do that.

But what I would like it to do, is, whenever it chooses an answer it sticks to it

and doesn't change it's mind every time the statment or question is asked.

then the next time it is typed, it would answer back with the same answer, instead

of always changing it's mind every time.

if I could get the chatbot to write text into its own file, I could do this. can anybody

help? I would like to do it in exe but if not, I'll have to use .au3 thanks.

Share this post


Link to post
Share on other sites
GEOSoft

You can't write it back to the Exe without re-compileing. You can however save the answers in an ini file or even a database using the SQLite UDF.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.