| version 1.6 | | version 1.7 |
|---|
| | |
| # | | # |
| # 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: |
| | |
| else: | | else: |
| message = "Do you need help?" | | message = "Do you need help?" |
| | | |
| CFPython.Say(whoami, message) | | whoami.Say(message) |