diff --git a/modules/active/tell.py b/modules/active/tell.py index 6cb5c06..c509050 100644 --- a/modules/active/tell.py +++ b/modules/active/tell.py @@ -25,7 +25,7 @@ def tell(msg, args): global container store = container["store"] - if( len(args) != 3): + if( len(args) < 3): brathuhn.sendMsg(brathuhn.ROOM,"Usage: "+args[0]+" nick text",'groupchat') return @@ -35,7 +35,10 @@ def tell(msg, args): brathuhn.sendMsg(brathuhn.ROOM,"User "+args[1]+" is already here, tell them yourself!",'groupchat') return - message = args[2] + message = "" + for part in args[2:] + message += part + nick = args[1] origin = msg.getFrom().getResource() #TODO ugly store.append( (nick, message, origin, datetime.today()) )