'Called by the tickerhandler at regular intervals. Even so, we
only update 20% of the time, picking a random weather message
when we do. The tickerhandler requires that this hook accepts
any arguments and keyword arguments (hence the *args, **kwargs
even though we don\'t actually use them in this example)'

def update_weather(self, *args, **kwargs):

    if (random.random() < 0.2):
        self.msg_contents(('|w%s|n' % random.choice(WEATHER_STRINGS)))
