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.

Saving pvt messages sent to my bot!

Old posts that have not been replied to for several years.
Locked
f
fugitive

Saving pvt messages sent to my bot!

Post by fugitive »

Hello,

I was looking for a script which will store all private messages intended to my bot. Like, when I'm not online, my friends can leave their messages to my bot, which will write all messages to a log file for my later viewing.

The bot should prompt the user that (s)he can leave his/her messages for the bot owner.

Is that possible?

Thanks in advance.

raqueeb hassan
bangladesh
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Before we look to making any such script, have you looked at the notes module.

It provides what you want, with a little less functionaly for security.

IE, only users recognised by the bot can leave messages. This will prevent people from flooding the bot and making large message files.
Locked