| version 1.4 | | version 1.5 |
|---|
| | |
| priceMailScroll=5 | | priceMailScroll=5 |
| | | |
| import CFPython | | import CFPython |
| | | |
| import sys | | |
| import os.path | | |
| sys.path.append(os.path.join(CFPython.GetDataDirectory(),CFPython.GetMapDirectory(),'python')) | | |
| | | |
| import string | | import string |
| import CFLog | | import CFLog |
| | | |
| | |
| text = string.split(CFPython.WhatIsMessage()) | | text = string.split(CFPython.WhatIsMessage()) |
| | | |
| if text[0] == 'help' or text[0] == 'yes': | | if text[0] == 'help' or text[0] == 'yes': |
| message = 'How can I help you ? Here is a quick list of commands:\n\n- pen (%s platinum)\n- literacy (%s platinum)\n- mailscroll <friend> (%s platinum)\n- seen <friend> (free)\n'%(priceWritingPen,priceScrollOfLiteracy,priceMailScroll) | | message = 'How can I help you ? Here is a quick list of commands:\n\n- pen (%s platinum)\n- literacy (%s platinum)\n- mailscroll <friend> (%s platinum)\n'%(priceWritingPen,priceScrollOfLiteracy,priceMailScroll) |
| CFPython.Say(whoami,message) | | CFPython.Say(whoami,message) |
| | | |
| elif text[0] == 'pen': | | elif text[0] == 'pen': |