Difference for python/IPO/seen.py from version 1.1 to 1.2


version 1.1 version 1.2
Line 42
 
Line 42
  if len(text)==2:   if len(text)==2:
  if log.exist(text[1]):   if log.exist(text[1]):
  ip, date, count = log.info(text[1])   ip, date, count = log.info(text[1])
  CFPython.Say(whoami, "I have seen '%s' joining %d times, last at %s." % (text[1], count, date))   if (CFPython.IsDungeonMaster(activator)):
    CFPython.Say(whoami, "I have seen '%s' %d times.\nI saw them last coming from\nIP: %s\non %s." % (text[1], count, ip, date))
  else:   else:
  CFPython.Say(whoami, "I have never seen '%s' joining" % text[1])   CFPython.Say(whoami, "I have seen '%s' %d times.\nI saw them last at %s." % (text[1], count, date))
    else:
    CFPython.Say(whoami, "I have never seen '%s'." % text[1])
  else:   else:
  CFPython.Say(whoami, 'Usage "seen <friend>"')   CFPython.Say(whoami, 'Usage "seen <friend>"')
   


Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2

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