summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui.py4
1 files changed, 3 insertions, 1 deletions
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"