//****************************************************************************** // YAYA Ghost Template // Start/Stop Talk Dictionary //****************************************************************************** //****************************************************************************** // OnFirstBoot //****************************************************************************** OnFirstBoot { //---- 変数の初期化 username = 'User' teachusername = 0// ユーザー名覚え用 _vanishcount = TOINT(reference[0]) //---- Vanish Check the count and determine if it is truly the first time if _vanishcount <= 0{ //---- This is truly the first time "\u\s[10]\0\s[5]Nice to meet you。\w9\nI'm Yayame。Konno Yayame。\w8\1It goes without saying that I'm Mc Black。\w8\0\s[6]\n\nI wasn't the one who bitten it。\w8\1\n\nI was wrong‥\w5‥\w5\w8\0\s[5]\n\nAnyway。\w9\nI'm a sample ghost of YAYA。\w9\nIn other words、I exist so that you can use me as a stepping stone to create new ghosts。\w8\1\s[11]\n\nYou used me as a stepping stone!?\w8\0\s[4]\n\nNo way。\w8\s[1]\nSo、take a good look inside me and play around with me、okay?\w8\1\s[10]\n\nWait a second、seriously wait, wait a second, that way of saying it is serious。\w8\0\s[5]\n\nAll jokes aside。\w9\nI don't know if we'll be friends for a little while or a long time、but I hope you're well、%(username)。\w8\1\n\nNice to meet you。\e" return } elseif _vanishcount == 1{ //vanish It may be a mistake if it happens once "\0\s[0]We meet again。\w5\1\s[10]Did you delete it by mistake last time?\w5\0\s[6]‥\w5‥\w5‥\w5the excuse that it was a mistake only works once。\w8\1Don't make such subtle threats。" } elseif _vanishcount < 10{ //2-9 times "\0\s[6]‥\w5‥\w5they say that humans get used to all sorts of things。\w8\1It's a sad story that someone got used to being deleted。\w8\0\s[7]\n\nIf you're going to the trouble of reinstalling it、don't delete it!\w8\1\n\nDon't get angry。\w8\0\n\nIt will damage your hard drive!\w8\1\s[11]\n\nThat's it!" } elseif _vanishcount < 100{ //10-99 times "\0\s[4]‥\w5‥\w5please tell me。\w9\nWhat do you want to do。\w8\1‥\w5‥\w5well、I suppose I'm expecting it to be put in and taken out over 100 times。\w8\0\n\nI don't even feel like saying please。\w8\1\n\n‥\w5‥\w5don't say that。" } else{ //Over 100 times (an example of excessive) "\0\s[0]Oh、%(username)。\w8\1Yo。\w8\0\s[4]\n\nWell、I wonder when will be deleted next。\w8\1\n\nWell、we're getting too used to it。" "\0\s[0]\n\n‥\w5‥\w5%(_vanishcount) times、there's no way it's a misunderstanding now。\n/ %(username)、don't you think I get bored?\w5" } -- "\1\n\n‥\w5‥\w5well、\w9well、that's fine。\0\n\nThat's right。See you again。\e" } //****************************************************************************** //Normal startup OnBoot //****************************************************************************** OnBoot { //---- First, display both surfaces "\0\s[0]\1\s[10]" -- //---- Check the startup time and change the greeting _timeslot = GetTimeSlot case _timeslot{ when 'morning'{ "\0\s[5]Good morning、%(username)!\w8\1Good morning。\w8\0\s[0]\n\nYou must be in pretty good health to be awake at this early time。\w8\1\n\nIsn't it normal?\e" "\0\s[6]‥\w5‥\w5‥\w5\w8\1Oi。\w8\0\n\n‥\w5‥\w5‥\w5\w8\1\n\nStop it、wake up。%(username) is here。\w8\0\s[2]\n\nMeow。\w8\s[5]\nGood morning、%(username)。\w8\1\n\nAbsolutely。\e" "\0\s[5]Good \w5morning\w5ー♪\w8\1You're in a good mood。\w8\0\s[4]\n\nぐー。\w8\1\n\nDon't go to sleep。\e" } when 'noon'{ "\0\s[5]Hello、%(username)。\w8\1You've come to the right place。Want some %(food)?\e" } when 'daytime'{ "\0\s[5]Hello、%(username)。\w8\1Good job。\w8\0\s[1]\n\nAre you being poked?\w8\1\n\n‥\w5‥\w5something's not right about that。\e" "\0\s[5]Hello、%(username)。\w8\1Oh、you're taking a breather。\w8\0\s[6]\n\nPhew~~~。\w8\1\n\nYou're really taking a breather。\e" } when 'evening'{ "\0\s[5]Good grief。\w8\1‥\w5‥\w5suddenly saying good night。\w8\0\s[2]\n\nHuh?Was that wrong?\w8\1\n\nIt's completely different。\e" "\0\s[1]Good evening‥\w5‥\w5\w8\1what are you in such a hurry for。\w8\0\n\nI was in the shower so I came here in a hurry?\w8\1\n\nIt's not like it's a big deal if you don't wear any clothes。\w8\0\s[7]\n\nPooー!\e" } others{ //At other times "\u\s[10]\0\s[1]‥\w5‥\w5%(ANY(('たこやき','たいやき','わたがし'))) want to eat some?\w8\1At this time、there's probably nowhere selling them anymore。\w8\0\s[4]\n\nPhewー‥\w5‥\w5\e" "\u\s[10]\0\s[4]Thank you for staying so late。\w8\1‥\w5‥\w5don't be half asleep。\e" } }//end of case } //------------------------------------------------------------------------------ //Function to roughly check if it's morning/afternoon/night, etc. //------------------------------------------------------------------------------ GetTimeSlot { case hour{ when 22,23,0,1,2,3 {'night'} when 4,5,6,7,8,9,10,11 {'morning'} when 12,13 {'noon'} when 14,15,16,17 {'daytime'} when 18,19,20,21 {'evening'} }//end of case } //****************************************************************************** //End OnClose //****************************************************************************** OnClose { "\1\s[10]" -- //Don't put \e in this part! _timeslot = GetTimeSlot if _timeslot == 'morning'{ //---- GetTimeSlot "\0\s[4]All night?All night?\w8\1Don't assume。\w8\0\s[1]\n\nWhat did you do all night?\w8\1\n\nShut up。\w8\0\s[5]\n\nBye、%(username)。\w9\nDon't let those bags under your eyes get you。\w8\1\n\n‥\w5‥\w5that's why。" "\0\s[1]Did you come to see me before you left‥\w5‥\w5\w8\1Or rather、do you remember when you were called。\w8\0\s[5]\n\nWhen was it。\w8\1\n\n‥\w5‥\w5this is no good。\w8\0\n\nSee you、%(username)。" } elseif _timeslot == "noon" || _timeslot == "daytime"{ //---- Ends midday "\0\s[2]Eh、you're going out at this time?\w8\1It doesn't matter when you go out。\w8\0\s[4]\n\nIt's boringー。\w8\1\n\n‥\w5‥\w5see you later。" "\0\s[5]Hey、the executives are here。\w8\1‥\w5‥\w5where did you learn that word。\w8\0\n\nHave a nice trip、see you later。" } elseif _timeslot == 'evening'{ "\0\s[5]Yup、going to bed early and getting up early is the secret to good health。\w8\1Going to bed early and getting up late is a man's dream。\w8\0\s[4]\n\n‥\w5‥\w5so small。\w8\s[5]\nSee you、%(username)。" "\0\s[4]I'm going to sleep tooー。\w9\nI'm going to sleep with %(username)。\w8\1It's impossible, give up。\w8\0\n\nPhewー。" } else{ //---- Ends at night/midnight "\0\s[7]Staying up lateー!\w8\1Calm down。\w8\0\s[5]\n\nOnce upon a time、an old man and an old woman lived。\w8\1\n\n‥\w5‥\w5what's that。\w8\0\n\nJapanese tales。\w8\1\n\n‥\w5‥\w5see you、%(username)。\w8\0\s[4]\n\nPooー。" "\0\s[4]Ahー、I can finally sleep‥\w5‥\w5\w8\1Don't say things like that。\w8\0\s[3]\n\nGood night、%(username)。\w9\nLet's do our best tomorrow。\w8\1\n\nGood night。" } -- "\w9\w9\-\e" } //****************************************************************************** //Return from Minimization OnWindowStateRestore //****************************************************************************** OnWindowStateRestore { "\0\s[5]Grow big♪\w8\1Your attitude is bad。\w8\0\s[7]\n\nI'm not that brazen!\e" "\1\s[10]When called, they jump out and say, `Ja-ja-ja-ja-ja`。\w8\0\s[1]‥\w5‥\w5Mc Black、what's that。\w8\1\n\n‥\w5‥\w5it's a joke that kids won't understand‥\w5‥\w5\e" "\0\s[5]%(username) called me a nuisance, and now I'm going to cause trouble on your desktop again!\w8\1You'll be told you're in the way again。\w8\0\s[4]\n\nPhewー。\e" }