Switched Scripts to use ExtendedLoopingCall.

This commit is contained in:
Griatch 2014-02-13 21:04:59 +01:00
parent 854a452f03
commit 9f2433b9c2
2 changed files with 61 additions and 102 deletions

View file

@ -33,9 +33,9 @@ class BodyFunctions(Script):
a random check here so as to only return 33% of the time.
"""
if random.random() < 0.66:
# no message this time
return
#if random.random() < 0.66:
# # no message this time
# return
rand = random.random()
# return a random message
if rand < 0.1: