
I would like to share a knowledge and idea on how to make my eggdrop sms to my mobile phone automatically when users do .sms <handle> <msg> or by .sms <msg> using my elm/pop3/smtp email config. For an example;
a). Adding new eggdrop sms command via partyline such as;
i). .sms <handle> <msg> ||-> Require to have extra-field such as
mobile_phone on each users.
ii). .sms <msg> ||-> Automatically sms to eggdrop owner.
b). Workflow of sms command;
i). Syntax: .sms <handle> <msg> OR .sms <msg>
(The sms msg limit to 160 characters only due to limited sms msg
on mobile)
ii). When user do .sms command, the TCL script automatically find
<handle> and their <mobile_phone_number> which has been
setup in extra_field OR;
iii). When user do .sms command, the TCL script automatically send in
the format of EMAIL <my_mobile_number@my.mobile.provider>
<msg> using Email config in shell account.
iv). The TCL script must interact each other with email config in shell
account because to activate sms command, the TCL must use
EMAIL procedure to sent its message to user (as I describe in (b)
(iii)).
c). Basic example of the script;
Binding: bind dcc p|- sms *sms_tcl
(For giving partyline members to sms bot owner/admin)
Configuration:
i). set_who_should_received_sms: Bot Owner/Admin
(Handle that will receive sms by default)
ii). set_email_sms: 0123456789@my.mobile-provider.com
(SMS Email/Mobile Number of the default handle who will receive
that sms - Bot Owner/Admin)
iii). Then, the script will generate temp -write to tmp_files for the
msg and deleted it for a certain amount of time before it send it.
iv). Afterall, the TCL send sms through Shell email config in the
format of EMAIL <set_email_sms> <user_msg> . In otherword,
the TCL script will automatically email SMS my mobile phone via
my unix shell account using EMAIL).
Argh, I get a little confused on how to explain this script in details and now I've finished a BOX of cigarettes

Anyone have an idea about it? Thanks for ur time and concern
