Example #1
0
     """,
     """
     OK, first a fool's proof example (just GET from address):
     
     >> id_card.get(['user'])
     
     to retrieve your user information. This comes in json format, which our daemons will \
     easily take care of, and transform into Python built-ins.
     """,end = "")
     FOO.ANNOYANCE += 1
 elif FOO.ANNOYANCE == 1:
     FOO.text("""
     >> id_card.get(['user'])""")
     
 if FOO.ANNOYANCE == 1: 
     result = id_card.get(['user'])
     my_id = result['id']
     
     FOO.builtin(result)
     FOO.text("""\
     Another way to get information about yourself is using your id number:
     
     >> id_card.get(['player', {id}])
     
     Here the id could be any other number, our custom dictionary takes care of that.
     """.format(id = my_id),end = "")
     FOO.ANNOYANCE+=1
 elif FOO.ANNOYANCE == 2:
     FOO.text("""
     >> id_card.get(['player', {id}])""".format(id = my_id))