Difference for python/IPO/seen.py from version 1.6 to 1.7


version 1.6 version 1.7
Line 22
 
Line 22
 #  #
 # seen            - tells player information from logger  # seen            - tells player information from logger
   
 import CFPython  import Crossfire
 import string  import string
 import CFLog  import CFLog
   
 activator=CFPython.WhoIsActivator()  activator=Crossfire.WhoIsActivator()
 activatorname=CFPython.GetName(activator)  activatorname=activator.Name
 whoami=CFPython.WhoAmI()  whoami=Crossfire.WhoAmI()
 isDM=CFPython.IsDungeonMaster(activator)  isDM=activator.IsDungeonMaster
 x=CFPython.GetXPosition(activator)  x=activator.X
 y=CFPython.GetYPosition(activator)  y=activator.Y
   
 log = CFLog.CFLog()  log = CFLog.CFLog()
 text = string.split(CFPython.WhatIsMessage())  text = string.split(Crossfire.WhatIsMessage())
   
 if text[0] == 'seen':  if text[0] == 'seen':
     if len(text)==2:      if len(text)==2:
Line 107
 
Line 107
 else:  else:
     message = "Do you need help?"      message = "Do you need help?"
   
 CFPython.Say(whoami, message)  whoami.Say(message)


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

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