'Implement the command'

def func(self):

    more = self.caller.ndb._more
    if ((not more) and hasattr(self.caller, 'player')):
        more = self.caller.player.ndb._more
    if (not more):
        self.caller.msg('Error    in    loading    the    pager.    Contact    an    admin.')
        return
    cmd = self.cmdstring
    if (cmd in ('abort', 'a', 'q')):
        more.page_quit()
    elif (cmd in ('back', 'b')):
        more.page_back()
    elif (cmd in ('top', 't', 'look', 'l')):
        more.page_top()
    elif (cmd in ('end', 'e')):
        more.page_end()
    else:
        more.page_next()
