From 7abc22bf786ba96f99d6e963729694c223ad1d2f Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Mon, 2 Jan 2012 18:52:38 -0500 Subject: [PATCH] make pailiza tell parser less confusing --- code/WorkInProgress/Tastyfish/Eliza_Data.dm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/code/WorkInProgress/Tastyfish/Eliza_Data.dm b/code/WorkInProgress/Tastyfish/Eliza_Data.dm index 3537c73c2cc..0fecf95cf71 100644 --- a/code/WorkInProgress/Tastyfish/Eliza_Data.dm +++ b/code/WorkInProgress/Tastyfish/Eliza_Data.dm @@ -353,13 +353,10 @@ process(object) // get name & message - var/i = findtext(object, " that ") - var/sl = 6 + var/i = findtext(object, ",") + var/sl = 1 if(!i || lentext(object) < i + sl) - i = findtext(object, ",") - sl = 1 - if(!i || lentext(object) < i + sl) - return "Tell who that you what?" + return "Tell who that you what?" var/name = trim(copytext(object, 1, i)) object = trim(copytext(object, i + sl))