diff options
Diffstat (limited to 'services/console/lib/purk/events.py')
-rw-r--r-- | services/console/lib/purk/events.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/services/console/lib/purk/events.py b/services/console/lib/purk/events.py index 4142003..2a0d45e 100644 --- a/services/console/lib/purk/events.py +++ b/services/console/lib/purk/events.py @@ -192,11 +192,17 @@ def run(text, window, network): c_data.args = split event_name = "Command" + c_data.name.capitalize() - + #print "searching: " + event_name + #for s in all_events: + # print "match: " + s + # if s == event_name: + # print "we got it!" + if event_name in all_events: result = trigger(event_name, c_data) if result: + print "* /%s: %s" % (c_data.name, result[0]) c_data.window.write("* /%s: %s" % (c_data.name, result[0])) else: trigger("Command", c_data) |