1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
## Lycos UK - sms.lycos.co.uk
# Version 1.04
# by PPSlim - ppslim@ntlworld.com
# Previously: Adam Feakin - adamf@snika.uklinux.net
#
# For use with lycos.co.uk, only sends messages to UK mobiles.
# 1.04 - Thanks to brian@copernicus.demon.co.uk for fixing problems with
# - Msg Size, error reporting and sending an sms
# 1.03 - Fixed script for new lycos format, now requires login
# 1.02 - fixed problem caused by lycos changing the "message sent" message
# 1.01 - initial release
#
# Error codes:
# 1 -> Plain and simple - unable to send message for some reason
# 2 -> Unable to login to the service
NbParams 4
%User : Lycos username
%Pass Hidden : Lycos password
%Tel : Cell phone number (without international prefix)
%Msg Size=123 Convert : SMS Message
#The starting blocks of the connection
GetURL http://sms.lycos.co.uk/
GO
#Let's try and login
PostURL \%RTFormAction-2-0%
Referer http://sms.lycos.co.uk/mobile/
PostData &redirect=\%RTFormAction-2-redirect%&membername=\%User%&password=\%Pass%
Search The following error occured
ErrorMsg 2 Error logging in. Check username and password.
Else
PrintMsg Login OK!
GO
#Start navigating to send the message
GetURL http://sms.lycos.co.uk/mobile/message_center/message_inbox.jsp
Referer http://sms.lycos.co.uk/mobile/index.jsp
GO
#Navigate a little more
GetURL http://sms.lycos.co.uk/mobile/message_center/message_center.jsp
Referer http://sms.lycos.co.uk/mobile/message_center/message_center.jsp
Go
#Let's send them a new extra special gift
PostURL \%RTFormAction-7-0%
Referer http://sms.lycos.co.uk/mobile/message_center/message_center.jsp
PostData myaction=send×tamp=\%RTGetInput-7-timestamp%&receivers=\%Tel%&body=\%Msg%
Search SMS message sent to:
PrintMsg Sent message
Else
ErrorMsg 1 Unable to send message
GO
# LAST CHANGE: Fri May 9 17:48:10 BST 2003
|