code: def where(channel, nick, rest):
  	"When did pmxbot last see <nick> speak?"
  	onick = rest.strip()
  	last = Logger.store.last_seen(onick)
  	if last:
  		tm, chan = last
  		tmpl = "I last saw {onick} speak at {tm} in channel #{chan}"
  		return tmpl.format(tm=tm, chan=chan, onick=onick)
  	else:
  		return "Sorry!  I don't have any record of %s speaking" % onicf where(channel, nick, rest):
  	"When did pmxbot last see <nick> speak?"
  	onick = rest.strip()
  	last = Logger.store.last_seen(onick)
  	if last:
  		tm, chan = last
  		tmpl = "I last saw {onick} speak at {tm} in channel #{chan}"
  		return tmpl.format(tm=tm, chan=chan, onick=onick)
  	else:
  		return "Sorry!  I don't have any record of %s speaking" % onick
docs: When did pmxbot last see <nick> speak?