Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (24 sloc) 0.583 kb
---
syntax:
- "ask <character> about <topic>"
- "say <topic> to <character>"
- "talk <character> about <topic>"
- "talk to <character> about <topic>"
logic: |
topic = arg['topic']
output = ''
response = character.discuss topic
if response
if response != ''
output << response
else
if !character.hostile
output << "#{noun_cap} doesn't know anything about that.\n"
else
output << "#{noun_cap} ignores you.\n"
end
end
else
output << "#{noun_cap} doesn't look oriented towards conversation.\n"
end
output
Jump to Line
Something went wrong with that request. Please try again.