From 8ebbbe2a3f4bca9fe4de7b0527d413d4651b5dfe Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 28 Aug 2010 16:06:00 -0700 Subject: Leveled up the easter egg a little (can you sense a theme?) --- linden/indra/newview/llgesturemgr.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'linden/indra') diff --git a/linden/indra/newview/llgesturemgr.cpp b/linden/indra/newview/llgesturemgr.cpp index d344630..2203452 100644 --- a/linden/indra/newview/llgesturemgr.cpp +++ b/linden/indra/newview/llgesturemgr.cpp @@ -60,6 +60,7 @@ #include "llvoavatar.h" #include "llviewerimagelist.h" #include "llviewerstats.h" +#include "llweb.h" LLGestureManager gGestureManager; @@ -587,7 +588,7 @@ BOOL LLGestureManager::triggerAndReviseString(const std::string &utf8str, std::s LLStringUtil::compareInsensitive("/icanhascookies", cur_token) == 0) { LLChat chat; - chat.mText = "I made you a cookie but I eated it"; + chat.mText = "I made you a cookie but I eated it :("; chat.mSourceType = CHAT_SOURCE_SYSTEM; LLFloaterChat::addChat(chat); if (revised_string) @@ -596,6 +597,11 @@ BOOL LLGestureManager::triggerAndReviseString(const std::string &utf8str, std::s } return TRUE; } + else if (LLStringUtil::compareInsensitive("/icanhasfailbook", cur_token) == 0) + { + LLWeb::loadURLInternal("http://failbook.failblog.org/"); + return TRUE; + } } if(!gesture) -- cgit v1.1