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.

SMS TCL

Old posts that have not been replied to for several years.
Locked
User avatar
blood_x
Halfop
Posts: 77
Joined: Tue Nov 20, 2001 8:00 pm
Location: KL, Malaysia
Contact:

SMS TCL

Post by blood_x »

Dear EggLovers :lol:

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 :P Hum, for simple explanation, I would like to have TCL script that can email my phone number because my mobile phone provider provides our own email at mobile in format of EMAIL <my_phone_number@my.phone.provider.com> <msg>. It means, anyone can EMAIL me via partyline, and I can read it on my mobile number if the user using format EMAIL <myphoneumber@myphone.provider.com> <his/her msg> (limited to 160 characters only...).

Anyone have an idea about it? Thanks for ur time and concern :D
Thank you for your support and commitments.

Sincerely,
fzAy®
http://www.iNTRACyber.com
(We Chat, We Share & We Learn)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

We may be eggdrop lovers, be we aint your maid.

There are many discusions regarding SMS, try searching for them.

There are SMS script available in the archive, try adapting them to your needs. However, you will need a provider that will send to any mobile in thw world, or script that is able to cope with multiple providers.
Locked