Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
READ THE
RULES
Home
Forum
Help
TinyPortal
Search
Login
Register
The PtokaX Portal
»
Forum
»
Lua 5.1/5.2 Scripts (for PtokaX 0.4.0.0 and newer)
»
AllInOne Scripts
»
DiXBoT
»
DiXBoT - Support
(Moderators:
Snooze
,
Dizzy
) »
External Script to use Mailbox
determinate
determinate
determinate
determinate
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: External Script to use Mailbox (Read 472 times)
0 Members and 1 Guest are viewing this topic.
pR0Ps
Member
Posts: 27
Karma: +0/-2
External Script to use Mailbox
«
on:
June 25, 2010, 07:24:48 pm »
Hey,
Is is possible to use an external script to send mail to a user? What I am attempting to do is send an offline message to a user when a request that they have made (to a release/request bot I've made) has been filled. Is there a way to to this from a script or will I have to modify the mailbox database file manually?
Thanks,
pR0Ps
EDIT: After some experimenting, simply updating the file is not enough, the entire DiXBot script must restart. Any ideas or am I going to have to develop my own mailbox script?
«
Last Edit: June 25, 2010, 07:38:52 pm by pR0Ps
»
Logged
Dessamator
Scripter
Emperor
Posts: 1 257
Karma: +13/-7
Re: External Script to use Mailbox
«
Reply #1 on:
June 25, 2010, 07:42:26 pm »
There are various ways to do it, you can edit the file, using the script and add the new offline message, you can use the function from the offline script through your "request/release "script.(using dofile("offlinescript.lua")), you can copy the offline script function to your script and that will store the offline message.
There are millions of ways to kill a cat, you just have to choose the most effective way for you.
Logged
Ignorance is Bliss.
Print
Pages: [
1
]
Go Up
« previous
next »
The PtokaX Portal
»
Forum
»
Lua 5.1/5.2 Scripts (for PtokaX 0.4.0.0 and newer)
»
AllInOne Scripts
»
DiXBoT
»
DiXBoT - Support
(Moderators:
Snooze
,
Dizzy
) »
External Script to use Mailbox
determinate
determinate
determinate
determinate