diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |