From cb05b23b5b0b33a3b008f353fb9ecee2b7d47058 Mon Sep 17 00:00:00 2001 From: Michael King Date: Sun, 29 Apr 2007 20:52:19 +0000 Subject: [PATCH] * changed the message to be a tail slice of the eq_args instead of just the second element. * changed the emit_to() on the target object to use join to turn the message into a string. --- commands_general.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands_general.py b/commands_general.py index e797f7560d..2583a69ca2 100644 --- a/commands_general.py +++ b/commands_general.py @@ -254,7 +254,7 @@ def cmd_page(cdat): eq_args = args[0].split('=') if len(eq_args) > 1: target = functions_db.local_and_global_search(pobject, eq_args[0]) - message = eq_args[1] + message = eq_args[1:] if len(target) == 0: session.msg("I can't find the user %s." % (eq_args[0].capitalize(),)) @@ -268,7 +268,7 @@ def cmd_page(cdat): else: if target[0].is_connected_plr(): target[0].emit_to("%s pages you with: %s" % - (pobject.get_name(), message)) + (pobject.get_name(), ' '.join(message))) session.msg("Page sent.") else: session.msg("Player %s does not exist or is not online." %