Difference for python/IPO/say.py from version 1.4 to 1.5


version 1.4 version 1.5
Line 32
 
Line 32
 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
   
Line 50
 
Line 45
 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':


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.96 of cvs2html by leaf at 2006-02-15 17:29