Guess my age with MOBi

21 April 2007   0 comments   Zope

Mind that age!

This blog post is 13 years old! Most likely, its content is outdated. Especially if it's technical.

Guess my age with MOBiThis week we improved MOBi with a neat little feature that makes it possible to decide what the SMS response should be to inbound SMS on your own server.

To test this you need to be UK resident and willing to part with the 25p it costs to receive the response. Send peterbe is NN (where NN is a number, how old you think I am) to 83211 and await a result. I've set up the sub word "is *" to forward all inbound SMS to an address on and here on this server I run the following Python Script:

##parameters=sender, message
guess = message.split()[-1]
    age = int(guess)
except ValueError:
    return "That's not a number :-("

if age > 27:
    return "That's not it! It's less than that. Try again"
elif age < 27:
    return "That's not it! It's more than that. Try again"
return "Wow! You know my age!!"


Your email will never ever be published

Related posts

Spellcorrector 18 April 2007
I'm Prolog 01 May 2007
Related by Keyword:
New domain name 20 October 2006
MOBi phonebook into Excel 19 May 2005
Combining MOBi and EconoAccount 07 February 2005
Do you know what safe txt is? 10 December 2004
Different phone, same number 10 June 2004