Turned back bodyfunctions example to returning more seldomly

This commit is contained in:
Griatch 2014-02-14 01:56:01 +01:00
parent f35fd236b7
commit cdde9fb955

View file

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