code: def oregontrail(channel, nick, rest):
  	"It's edutainment!"
  	rest = rest.strip()
  	if rest:
  		who = rest.strip()
  	else:
  		who = random.choice([nick, channel, 'pmxbot'])
  	action = random.choice(phrases.otrail_actions)
  	if action in ('has', 'has died from'):
  		issue = random.choice(phrases.otrail_issues)
  		text = '%s %s %s.' % (who, action, issue)
  	else:
  		text = '%s %s' % (who, action)
  	return texf oregontrail(channel, nick, rest):
  	"It's edutainment!"
  	rest = rest.strip()
  	if rest:
  		who = rest.strip()
  	else:
  		who = random.choice([nick, channel, 'pmxbot'])
  	action = random.choice(phrases.otrail_actions)
  	if action in ('has', 'has died from'):
  		issue = random.choice(phrases.otrail_issues)
  		text = '%s %s %s.' % (who, action, issue)
  	else:
  		text = '%s %s' % (who, action)
  	return text
docs: It's edutainment!