From 38e290fdefc9f1e1e2d1cff6c0fa8652ccf3c719 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 31 Oct 2010 19:11:51 +0000 Subject: link mauve (and me): use // to send a message beginning be '/' --- src/gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui.py b/src/gui.py index d3f58460..01fa38c8 100644 --- a/src/gui.py +++ b/src/gui.py @@ -1361,7 +1361,9 @@ class Gui(object): """ if line == "": return - if line.startswith('/') and not line.startswith('/me '): + if line.startswith('//'): + self.command_say(line[1:]) + elif line.startswith('/') and not line.startswith('/me '): command = line.strip()[:].split()[0][1:] arg = line[2+len(command):] # jump the '/' and the ' ' # example. on "/link 0 open", command = "link" and arg = "0 open" -- cgit v1.2.3