This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

hm, anyone got a way of storing info internally in the bot?

Old posts that have not been replied to for several years.
Locked
T
TRiNuX

Post by TRiNuX »

Hey,

I'm nearing completion of the first release of 'TWiNBoT', a fully functional all round script with some msg/chan commands, I would like to put some functions such a topic saves, and greets into it, at the moment, the best I've come up with is writing greets/topics to some kind of txt file, a problem with this is with like 30+ bots sharing this same file, it could become messy very quickly, and also if theres more than 1 bot on a chan, they're gonna greet ppl twice with the same msg, etc...

so, (I'm assuming) somthing like Stormbot stores info internally into the bot..

does anyone have a good method for storing internal info, then retreiving it after? :smile: or maybe some ideas where to start looking?

I've been looking round for nearly a week now, so I decided to turn to the forums and seek advice :smile:

thnx
T
TRiNuX

Post by TRiNuX »

ah no suggestions so far...

I think somthing along the lines of storing info in 'XTRA' and then using various searches to find the info may work :

any other better suggestions?
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Using xtra is fine. You could make a fake user called "_twinbot" or something, and store all the data you need there.

I still don't see why you can't save to a file. If you have more than one bot, just make sure the filename is configurable so that they don't overwrite each other.
Locked