///////// Text Ghost template ///////// Start/Stop/Switch Talk Dictionary ///////// copyright (C) 2002 umeici. //**** 洲irst boot ************************************************************************* //---- OnFirstBoot event -------------------------------------------------------------- OnFirstBoot { FUNCTIONEX("hanayu.dll") //---- Initialize variables username = "ユーザーさん" stroke = 0 // For stroking judgment teachusername = 0 // For remembering username mikireflag = 0 // For cutting off communicateratio = 0 // Communication start rate [%] Timermode = 0 // Initialize timer processing mode userBD = "3000,13,32" // Initialize birthday LastTalk = "" // Initialize previous conversation checkoldshell = "無し" // Old shell is "None" //---- Check the Vanish count to determine if this is truly the first time if reference0 == 0 { //---- This is the first time this has actually been started "\_v[mp3/story01.mp3]\1\s[10]\0\s[1]Nice to meet you。\w5\n/ \s[2]I'm %selfname、a bee。\w8\n/ \s[0]・\w3・\w3・\w3hey、\w5%keroname、say hello too!\w8\w8\n\n/ \1\s[13]\w3・\w3・\w3・\w8\w8\s[10]y name・・・y name is Bee Man。\w5\n/ I'm a paper wasp。\w8\w8\0\s[1]We just moved here as a couple。\w5\n/ \s[2]We just got married!\w5\n/ \1\s[16]\0\s[6]Hehehehe\w3・\w3・\w3・\x\s[2]/ Oh。Ummー。(Ahem)\w8\w8\n/ \s[1]Um、\w8I look forward to working with you from now on!\w8\n\n/ \0\s[1]Oh、that's right。\w5Please tell me your name。/ \![open,inputbox,OnInputUsername,-1]\e" } else { "\_v[mp3/story01.mp3]\1\s[10]\0\s[4]%keroname-kun、\w6I'm、\w6tired\w3・\w3・\w3・\w5\nCan I sit down?\n\n\w8\1\s[10]・\w3・\w3・\w3yes。\n\n\w8\0\s[7]I'm sorry\w3・\w3・\w3・\w8\s[205]Oh!\w8\n\s[207]Hey! This is where we were last time!\n\n\w8\w8\1\s[10]・\w3・\w3・\w3in the end、this is the safest place。\w5\nLet's use your services again。\w8\0\s[0]・・・yes。\x/ \0\s[2]It's been a while。\w5\nThis is %selfname the beeAand %keroname the paper wasp。\w5\n\nThere were a lot of things going on、but I was doing well。\w5\n\s[5]I'll use this again\w3・\w3・\w3・\w8\w8\n\n\s[210]This is probably the %reference0 time・・・・・・。\x\0\s[1]Oh、that's right。\w5\nPlease tell me your name again。\![open,inputbox,OnInputUsername,-1]\e" } } //**** Normal startup *********************************************************************** //---- OnBoot event ------------------------------------------------------------------- OnBoot { FUNCTIONEX("hanayu.dll") Timermode = 0 // Initialize timer processing mode LastTalk = "" // Initialize previous conversation // If birthday is empty, enter a dummy number if userBD == "" { userBD = "3000,13,32" } // Greeting process 挨拶 } //**** End ***************************************************************************** //---- OnClose event ------------------------------------------------------------------ OnClose { 終了挨拶 } //**** Return from minimized state ***************************************************************** //---- OnWindowStateRestore event ----------------------------------------------------- OnWindowStateRestore { "\1\s[10]Oh dear・・・\0\s[0]\e" "\0\s[4]Phewー、I'm back。\1\s[13]・・・\e" } //**** Ghost/Shell Switching ********************************************************** //---- Switch to another ghost ----------------------------------------------------------- OnGhostChanging { //---- Manual switching if reference1 == "manual" { if reference0 == "パクラ" { "\0\s[1]I love magic tricks。\w5\n\s[2]I'd love to see one next timeー。\w8\1\s[10]\w3・\w3・\w3please、can you do it?\w9\e" } elseif reference0 == "零次" { "\1\s[10]・\w3・\w3・\w3two similar things\w5?\w8\0\s[205]Eh、\w5what happened?\w9\e" } elseif reference0 == "かゆ" { "\1\s[10]・\w3・\w3・\w3they make an interesting pair。\w8\0\s[0]They might actually be a good couple?\w9\e" } elseif reference0 == "ネオン" { "\0\s[1]We hopeA\w5you both have a wonderful trip。\w8\w8\1\s[10]I pray that you are safe。\w9\e" } elseif reference0 == "桃華" { "\0\s[6]I want to go to the land of sweets。\n\n\w8\1\s[10]・\w3・\w3・\w3I'm sure、\w5it's a nice place。\w9\e" } elseif reference0 == "蜂子" { "\0\s[0]I'm going to be away for a bit。\w9\e" } else { "\0\s[1]Please say hello to %reference0。\w9\e" } } else { //---- Automatic switching "\0\s[0]Um、maybe a change?\w5\n\s[1]Please say hello to %reference0。\w9\e" } } //---- Switching from another ghost --------------------------------------------------------- OnGhostChanged { // If birthday is empty, enter dummy numbers if userBD == "" { userBD = "3000,13,32" } FUNCTIONEX("hanayu.dll") Timermode = 0 // Initialize timer processing mode LastTalk = "" // Initialize previous conversation if reference0 == "パクラ" { "\1\s[10]\0\s[2]あたしの料理でよかったら、どうぞー。\w5\n\s[6]でも、できたら%keroname君がいるときに。\w8\1\s[10]\w3・\w3・\w3・歓迎します。\e" } elseif reference0 == "零次" { "\0\s[208]\1\s[15]俺はどうなってもいいが、\w5\n嫁さんは見逃してくれ。\n\n\w8\0\s[209]\w3・\w3・\w3・\w3・\w3・\w3・\w5\n\n\s[7]そういうこと言うの、\w5やめようよ。\w5\n%keroname君がいなくなったら、\w5\nあたし、後おいかけるよ?\w8\1\s[13]\w3・\w3・\w3・ごめん。\e" } elseif reference0 == "かゆ" { "\1\s[10]\0\s[2]\_s大事な\_s" -- ParallelTalk("旦那様がいるから、だめだよー。","嫁さんは、やらん。") -- "\w9\w9\1\s[16]\0\s[6]\_s\n\nあ\w3・\w3・\w3・\_s\e" } elseif reference0 == "ネオン" { "\1\s[10]\0\s[2]素敵な歌、ありがとうございました。\w8\1\s[13]\w3・\w3・\w3・ありがとう。\e" } elseif reference0 == "桃華" { "\0\s[2]幸せを運ぶ虫なんだって、あたしたち。\n\n\w8\w8\1\s[18]\w3・\w3・\w3・うん。\e" } elseif reference0 == "蜂子" { "\1\s[10]\0\s[2]ただいまー。\w9\e" } else { 挨拶 } } //---- シェルチェンジ開始 --------------------------------------------------------------- OnShellChanging { "\0\s[0]着替え中・・・\e" } //---- シェルチェンジ完了 --------------------------------------------------------------- OnShellChanged { "\0\s[5]着替えてきました。\e" }