'Called once, when script is created.'

def at_script_creation(self):

    self.key = 'botstarter'
    self.desc = 'bot    start/keepalive'
    self.persistent = True
    self.db.started = False
    if (_IDLE_TIMEOUT > 0):
        self.interval = int(max(60, (_IDLE_TIMEOUT * 0.9)))
        self.start_delay = True
