*Добавил настроения. - Не знаю как сделать, что бы правильно определял (день, утро, вечер, ночь). Сделал, работает не правильно. Add(MainForm,849100,98,238) { Width=431 Height=329 Caption="Умный бот (0.0.6)" Position=1 link(onDeactivate,14365186:In,[(138,251)(138,244)]) link(onCreate,12587813:doEvent1,[]) } Add(Edit,8670163,252,252) { Width=415 Align=2 Text="" link(onEnter,2078886:doEvent1,[]) } Add(Memo,14659374,546,252) { Top=20 Width=415 Height=271 Align=5 Point(EndIdx) } Add(Hub,2078886,350,259) { OutCount=4 link(onEvent1,425789:doEvent1,[(430,265)(430,258)]) link(onEvent2,1070188:In,[]) link(onEvent3,15287741:In,[]) link(onEvent4,11069576:In,[]) } Add(MultiElement,4465529,406,343) { link(onEvent1,425789:doEvent2,[(446,349)(446,265)]) link(onEvent2,5198890:In,[]) link(Data1,290693:Var,[]) } BEGIN_SDK Add(EditMulti,1061766,14,28) { EventCount=2 WorkCount=6 DataCount=1 Width=713 Height=564 link(doWork1,16561956:In,[]) link(doWork2,4726208:In,[]) link(doWork3,7875121:In,[]) link(doWork4,5867775:In,[]) link(doWork5,4689441:In,[]) link(doWork6,164200:In,[]) } Add(StrList,7590074,301,210) { FileName="Бот.txt" } Add(Replace,5125365,511,343) { SubStr="$имя" link(onReplace,537481:doEvent1,[]) link(Str,6494692:Value,[(517,324)(503,324)]) link(Dest,13323879:Var,[]) } Add(Memory,2056730,385,210) { Default=String(Незнакомец) } Add(ArrayEnum,10160767,161,385) { link(onItem,11174774:doSplit,[(219,391)(219,377)]) link(onEndEnum,16510060:In,[(198,398)(198,405)]) link(Array,13254377:Var,[(167,371)(195,371)]) } Add(StrCase,1980422,154,63) { link(onModify,12485196:In,[]) } Add(Memory,13976054,161,224) { link(onData,3607854:In,[]) } Add(StrPart,11174774,231,371) { Char="=" DirectEvent=0 link(onSplit,7249463:In,[(271,377)(271,370)]) link(onPart,5320958:In,[]) } Add(StrMask,15231518,350,329) { Point(doMask) link(onTrue,15968388:doEvent1,[]) link(Str,4323014:Var3,[(356,327)]) } Add(LineBreak,11162785,161,273) { Type=1 link(Data,7866856:Var2,[]) Primary=[11441942,189,28] } Add(Hub,13221857,322,329) { link(onEvent1,15231518:doMask,[(343,335)(343,342)]) link(onEvent2,15231518:doCompare,[(343,342)(343,335)]) } Add(Memory,6494692,497,273) { } Add(LineBreak,6071830,385,259) { Type=1 link(Data,2056730:Value,[]) Primary=[13323879,140,56] } Add(LineBreak,528802,665,28) { link(Out,1061766:onEvent1,[]) Primary=[12842497,-84,315] } Add(GetDataEx,7866856,161,259) { link(Data,13976054:Value,[]) } Add(InfoTip,3165757,119,35) { Info=#18:Регистру переводим| Width=99 Height=60 } Add(InfoTip,11222914,252,182) { Info=#18:Шаблон+база данных| Width=92 Height=88 } Add(InfoTip,16629815,126,322) { Info=#12:Перебор базы| Width=169 Height=102 } Add(InfoTip,595701,301,294) { Info=#18:Сравнения с маской| Width=148 Height=102 } Add(InfoTip,15906990,462,238) { Info=#25:Подставка данных в шаблон| Width=169 Height=144 } Add(InfoTip,12074308,350,203) { Info=#8:Ваше имя| Width=106 Height=74 } Add(InfoTip,7416486,595,14) { Info=#21:Ответ отправить в чат| Width=148 Height=53 } Add(LineBreak,14901430,343,217) { link(Out,2056730:doValue,[(379,223)(379,216)]) Primary=[714054,-14,308] } Add(Position,3516802,224,525) { Target="т" ShortSearch=1 link(onSearch,13507382:doDelete,[]) link(Str,9755323:Var2,[]) } Add(Hub,12154121,133,371) { OutCount=3 link(onEvent1,9273955:In,[(151,377)(151,342)]) link(onEvent2,14808974:In,[(154,384)(154,363)]) link(onEvent3,10160767:doEnum,[]) } Add(Delete,13507382,273,525) { link(onDelete,714054:In,[]) link(Str,9755323:Var3,[(279,502)]) link(Count,3516802:Position,[(293,513)(261,513)(261,569)(230,569)]) } Add(GetDataEx,9755323,224,497) { link(Data,7096826:Var3,[(230,475)]) } Add(GetDataEx,7096826,168,470) { Angle=3 link(Data,14181386:Var,[(165,475)(165,465)(174,465)]) } Add(BlockFind,14337777,168,518) { StartBlock="меня" EndBlock=" зовут " link(onSearch,3516802:doSearch,[(212,524)(212,531)]) link(Text,7096826:Var1,[(174,494)(162,494)(162,464)(174,464)]) } Add(FormatStr,7079420,539,518) { Mask="%1=%2" link(onFString,13325983:In,[]) link(Str1,1640201:Var,[]) link(Str2,8611511:Var,[]) } Add(GetDataEx,4323014,343,322) { link(Data,11441942:Var,[(349,315)]) } Add(DoData,11437723,413,427) { Data=Integer(1) link(onEventData,16613748:In,[]) } Add(LineBreak,14042812,490,518) { link(Out,7079420:doString,[]) Primary=[5867775,-455,-469] } Add(LineBreak,12917260,252,217) { link(Out,7590074:doAdd,[(288,223)(288,216)]) Primary=[13325983,329,301] } Add(LineBreak,15709346,77,42) { Type=1 link(Data,1061766:Data1,[(83,35)(20,35)]) Primary=[8611511,469,448] } Add(LineBreak,5319587,336,357) { Type=1 link(Data,4323014:Var2,[(342,344)(349,344)]) Primary=[1640201,203,133] } Add(LineBreak,6883599,371,434) { link(Out,11437723:doData,[(407,440)(407,433)]) Primary=[13667194,224,14] } Add(LineBreak,5152796,672,49) { link(Out,1061766:onEvent2,[(714,55)(714,41)]) Primary=[16613748,-217,378] } Add(InfoTip,8434756,371,406) { Info=#13:Окно обучения| Width=113 Height=74 } Add(InfoTip,2339548,490,476) { Info=#14:Увеличить базу| Width=134 Height=102 } Add(Hub,15968388,399,336) { link(onEvent1,9476941:In,[]) link(onEvent2,2300959:In,[]) } Add(ChanelToIndex,11718092,518,392) { link(onIndex,15342785:doValue,[]) } Add(LineBreak,10204960,476,392) { link(Out,11718092:doWork1,[]) Primary=[14808974,-315,-35] } Add(Memory,15342785,567,392) { } Add(IndexToChanel,9053461,546,441) { Point(Index) link(onEvent1,13667194:In,[(586,447)(586,454)]) link(Index,15342785:Value,[(552,425)(573,425)]) } Add(LineBreak,12840200,504,441) { link(Out,9053461:doEvent,[]) Primary=[16510060,-301,-42] } Add(DoData,16561340,413,518) { Data=String(Друг? Ты ещё здесь?) link(onEventData,13377872:In,[]) } Add(Hub,537481,560,343) { InCount=2 OutCount=1 link(onEvent1,12842497:In,[]) } Add(InfoTip,6290205,364,490) { Info=#23:МОДЕЛЬ ТЕКУЩЕЙ СИТУАЦИИ| Width=120 Height=88 } Add(LineBreak,14948534,371,518) { link(Out,16561340:doData,[]) Primary=[4689441,-336,-462] } Add(LineBreak,14883280,126,518) { link(Out,14337777:doSearch,[]) Primary=[9273955,28,-182] } Add(LineBreak,4829400,140,280) { Type=1 link(Data,7866856:Var1,[(146,272)(158,272)(158,264)]) Primary=[14181386,28,161] } Add(InfoTip,14262625,112,434) { Info=#24:Заполнить данные шаблона| Width=246 Height=137 } Add(InfoTip,6187143,483,385) { Info=#19:Знаю ответ или нет?| Width=141 Height=88 } Add(LineBreak,9210768,525,357) { link(Out,537481:doEvent2,[(557,363)(557,356)]) Primary=[13377872,-70,161] } Add(LineBreak,2926350,476,399) { link(Out,11718092:doWork2,[]) Primary=[2300959,-49,-56] } Add(LineBreak,5238262,469,343) { link(Out,5125365:doReplace,[]) Primary=[9476941,-42,-7] } Add(LineBreak,6149062,455,280) { link(Out,6494692:doValue,[(491,286)(491,279)]) Primary=[7249463,-175,84] } Add(LineBreak,4583719,287,329) { link(Out,13221857:doEvent1,[]) Primary=[5320958,-7,49] } Add(LineBreak,4650418,308,273) { Type=1 link(Data,7590074:Array,[(314,264)(321,264)]) Primary=[13254377,-119,70] } Add(LineBreak,6214810,259,238) { link(Out,7590074:doLoad,[]) Primary=[4726208,-224,-203] } Add(LineBreak,976934,259,245) { link(Out,7590074:doSave,[]) Primary=[7875121,-224,-203] } Add(LineBreak,2160378,91,378) { link(Out,12154121:doEvent1,[(127,384)(127,377)]) Primary=[3607854,112,-154] } Add(InfoTip,1402341,133,203) { Info=#18:Текст пользователя| Width=99 Height=109 } Add(LineBreak,8516222,112,224) { link(Out,13976054:doValue,[]) Primary=[12485196,84,-161] } Add(LineBreak,2089734,112,63) { link(Out,1980422:doModify,[]) Primary=[16561956,-77,-35] } Add(LineBreak,3822052,259,231) { link(Out,7590074:doText,[]) Primary=[164200,-231,-168] } END_SDK Add(Hub,425789,455,252) { InCount=2 OutCount=1 link(onEvent1,14659374:doAdd,[]) } Add(InfoTip,16066098,231,231) { Info=#10:Пишем боту| Width=71 Height=88 } Add(InfoTip,9407358,532,224) { Info=#3:Чат| Height=88 } Add(InfoTip,5693582,315,238) { Info=#6:Анализ| Width=169 Height=158 } Add(InfoTip,6332098,70,210) { Info=#14:Сама программа| Width=99 Height=88 } Add(ChildForm,12125263,567,364) { link(onEvent1,8969991:In,[]) } BEGIN_SDK Add(EditMulti,10852987,21,21) { EventCount=1 WorkCount=2 VarCount=1 Width=335 link(doWork1,12521222:doText,[(35,27)(35,34)]) link(doWork2,2566730:doEvent1,[(25,34)(25,139)]) link(Var1,82201:Text,[(27,203)(125,203)]) } Add(MainForm,16406984,49,105) { Left=35 Top=105 Height=187 Visible=1 Caption="Ответ" BorderStyle=3 Position=1 Point(doVisible) } Add(Label,12521222,49,28) { Left=65 Top=20 Width=10 Height=17 Caption="?" } Add(Label,14623482,168,21) { Left=25 Top=20 Width=41 Height=17 Caption="Вопрос" } Add(Label,5533364,210,21) { Left=20 Top=95 Width=34 Height=17 Caption="Ответ" } Add(Edit,82201,119,154) { Left=60 Top=95 Width=325 Text="" } Add(Button,11412454,259,28) { Left=50 Top=135 Width=310 Caption="Запомни!!!" link(onClick,6120050:doEvent1,[(296,34)(296,41)]) } Add(Hub,2566730,28,133) { InCount=2 OutCount=1 link(onEvent1,16406984:doVisible,[]) } Add(Hub,6120050,308,35) { link(onEvent1,10852987:onEvent1,[(339,41)(339,27)]) link(onEvent2,8699819:doData,[(334,48)(334,76)(268,76)(268,97)]) } Add(DoData,8699819,301,91) { Data=Integer(0) link(onEventData,12729854:In,[]) } Add(Label,11450383,126,28) { Left=10 Top=55 Width=153 Height=17 Caption="Пиши, $имя=ваше имя пишет" } Add(InfoTip,4613941,105,147) { Info=#5:Ответ| Height=60 } Add(InfoTip,6625118,119,7) { Info=#7:Надпись| Width=134 Height=67 } Add(LineBreak,11473806,-7,154) { link(Out,2566730:doEvent2,[(25,160)(25,146)]) Primary=[12729854,350,-63] } Add(InfoTip,906575,259,21) { Info=#10:Запомни!!!| Width=120 Height=109 } Add(InfoTip,4057871,7,14) { Info=#6:Вопрос| Width=106 Height=60 } END_SDK Add(LineBreak,7395272,560,406) { Type=1 link(Data,12125263:Var1,[(566,401)(573,401)]) Primary=[290693,-154,-91] } Add(LineBreak,4169070,518,378) { link(Out,12125263:doWork2,[(558,384)(558,377)]) Primary=[5198890,-56,-28] } Add(LineBreak,9124928,343,364) { link(Out,4465529:doWork4,[]) Primary=[8969991,266,0] } Add(LineBreak,4354879,525,364) { link(Out,12125263:doWork1,[]) Primary=[15287741,-133,-91] } Add(InfoTip,13685062,511,350) { Info=#8:Обучение| Width=134 Height=81 } Add(Thread,3438383,105,378) { Delay=60000 FastStop=0 BusyEvent=1 link(onExec,5466485:In,[]) } Add(LineBreak,894635,56,378) { link(Out,3438383:doStart,[]) Primary=[11069576,322,-98] } Add(LineBreak,7674381,343,385) { link(Out,4465529:doWork5,[(389,391)(389,377)]) Primary=[5466485,-196,-7] } Add(InfoTip,4216468,63,364) { Info=#23:МОДЕЛЬ ТЕКУЩЕЙ СИТУАЦИИ| Width=120 Height=88 } Add(LineBreak,11707980,329,350) { link(Out,4465529:doWork3,[(383,356)(383,363)]) Primary=[14365186,-182,-112] } Add(LineBreak,7810091,343,336) { link(Out,4465529:doWork2,[(389,342)(389,356)]) Primary=[4771312,-168,-84] } Add(LineBreak,11945147,336,315) { link(Out,4465529:doWork1,[(386,321)(386,349)]) Primary=[1070188,42,-49] } Add(Time,4788806,357,77) { Format="h-M" } Add(MultiElement,1006388,364,133) { link(Data1,4788806:FormatTime,[(370,121)(363,121)]) link(onEvent1,7849329:In,[]) } BEGIN_SDK Add(EditMulti,7866420,21,21) { EventCount=1 WorkCount=1 DataCount=1 Width=832 Height=613 link(doWork1,9838566:doSplit,[(35,27)(35,69)]) } Add(MultiStrPart,9838566,49,63) { Char="-" link(onSplit,1895870:doEvent1,[(86,69)(86,83)]) link(Str,7866420:Data1,[(55,42)(27,42)]) } Add(FormatStr,10868042,609,287) { Mask="привет=%1\r\nхорошо=%2" link(onFString,9762443:In,[]) link(Str1,7342771:Value,[(615,254)(622,254)]) link(Str2,12951591:Value,[(622,272)(671,272)]) } Add(If_else,425971,98,230) { Type=4 Op1=String(11) Op2=String(11) link(onTrue,11470348:doEvent,[(138,236)(138,230)(167,230)(167,236)]) link(onFalse,4543264:In,[]) link(Op2,9504873:Var3,[(111,215)]) } Add(If_else,16338696,42,230) { Type=3 Op1=String(4) Op2=String() link(onTrue,425971:doCompare,[]) link(onFalse,11602825:doCompare,[(86,243)(86,281)(58,281)(58,320)]) link(Op2,14874633:Var2,[(55,225)(62,225)]) } Add(Memory,7342771,616,189) { link(onData,2063446:In,[]) } Add(Hub,2223019,315,258) { InCount=4 OutCount=1 link(onEvent1,4743219:In,[(333,264)(333,265)(349,265)(349,264)]) } Add(DoData,13169083,238,223) { Data=String(С добрым утром! Как поспал $имя! (Добрый)) link(onEventData,2223019:doEvent1,[(292,229)(292,264)]) } Add(IndexToChanel,11470348,175,230) { Count=4 Point(Index) link(onEvent1,13169083:doData,[(223,236)(223,229)]) link(onEvent2,12658253:doData,[]) link(onEvent3,4239341:doData,[]) link(onEvent4,16243246:doData,[(223,257)(223,264)]) link(Index,10050049:Var,[]) } Add(Memory,5654964,189,49) { } Add(Random,8995426,140,49) { Max=3 link(onRandom,5654964:doValue,[]) } Add(Hub,1895870,91,77) { OutCount=4 link(onEvent1,8995426:doRandomize,[(123,83)(123,62)]) link(onEvent2,8995426:doRandom,[(123,90)(123,55)]) link(onEvent3,16338696:doCompare,[(117,97)(117,115)(30,115)(30,236)]) link(onEvent4,2696908:In,[]) } Add(DoData,12658253,238,237) { Data=String(Ура! Ты проснулся, как рад тебя видеть $имя! (Радостный)) link(onEventData,2223019:doEvent2,[(292,243)(292,271)]) } Add(DoData,4239341,238,244) { Data=String(Привет $имя, утро, как то не радует. (Грустный)) link(onEventData,2223019:doEvent3,[(292,250)(292,278)]) } Add(DoData,16243246,238,258) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,2223019:doEvent4,[(292,264)(292,285)]) } Add(Memory,12951591,665,231) { link(onData,12331353:In,[]) } Add(If_else,11602825,70,314) { Type=4 Op1=String(3) Op2=String() link(onTrue,5736250:doEvent1,[(104,320)(104,321)(124,320)(124,334)]) link(Op2,8227606:Var2,[]) } Add(GetDataEx,14874633,56,210) { link(Data,11898327:Var,[]) } Add(GetDataEx,9504873,76,210) { Angle=3 link(Data,14874633:Var3,[]) } Add(InfoTip,5710785,28,216) { Info=#4:Утро| Width=344 Height=67 } Add(InfoTip,9726908,28,286) { Info=#4:Ночь| Width=344 Height=130 } Add(If_else,5173937,70,356) { Type=3 Op1=String(21) Op2=String() link(onTrue,5736250:doEvent2,[(124,362)(124,341)]) link(onFalse,4148873:In,[]) link(Op2,16295064:Var1,[(83,341)(74,341)(74,298)]) } Add(GetDataEx,16295064,77,293) { link(Data,9504873:Var2,[(83,256)(82,256)]) } Add(LineBreak,2610394,0,356) { link(Out,11606358:doEvent1,[(36,362)(36,363)]) Primary=[4543264,140,-119] } Add(If_else,1190625,49,447) { Type=3 Op1=String(18) Op2=String() link(onTrue,596981:doEvent,[]) link(onFalse,15538200:In,[]) link(Op2,16197097:Var2,[]) } Add(InfoTip,2255865,28,419) { Info=#5:Вечер| Width=344 Height=95 } Add(LineBreak,6987560,546,189) { link(Out,16317582:doEvent1,[]) Primary=[4743219,-196,69] } Add(GetDataEx,8227606,77,300) { link(Data,16295064:Var2,[]) } Add(LineBreak,10829744,126,300) { Type=1 link(Data,8227606:Var1,[(132,292)(74,292)(74,305)]) Primary=[5844079,-70,119] } Add(LineBreak,8016298,7,448) { link(Out,1190625:doCompare,[(43,454)(43,453)]) Primary=[4148873,105,-85] } Add(If_else,3313094,42,538) { Type=3 Op1=String(12) Op2=String() link(onTrue,9512011:doEvent,[(103,544)(103,551)]) link(Op2,8420667:Var,[]) } Add(InfoTip,2975891,28,517) { Info=#4:День| Width=344 Height=109 } Add(GetDataEx,16197097,56,433) { link(Data,5844079:Var,[]) } Add(LineBreak,3078410,77,433) { Type=1 link(Data,16197097:Var1,[(83,421)(53,421)(53,438)]) Primary=[8420667,-28,77] } Add(LineBreak,4343668,0,539) { link(Out,3313094:doCompare,[(36,545)(36,544)]) Primary=[15538200,91,-85] } Add(DoData,16738468,238,314) { Data=String(С добрый ночи! Как дела $имя! (Добрый)) link(onEventData,12050378:doEvent1,[(292,320)(292,355)]) } Add(IndexToChanel,3449992,175,321) { Count=4 Point(Index) link(onEvent1,16738468:doData,[(223,327)(223,320)]) link(onEvent2,12750268:doData,[]) link(onEvent3,1302679:doData,[]) link(onEvent4,8562434:doData,[(223,348)(223,355)]) link(Index,7282607:Var,[]) } Add(DoData,12750268,238,328) { Data=String(Ура! Ты пришёл, как рад тебя видеть $имя! (Радостный)) link(onEventData,12050378:doEvent2,[(292,334)(292,362)]) } Add(DoData,1302679,238,335) { Data=String(Привет $имя, ночь, как то не радует. (Грустный)) link(onEventData,12050378:doEvent3,[(292,341)(292,369)]) } Add(DoData,8562434,238,349) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,12050378:doEvent4,[(292,355)(292,376)]) } Add(Hub,12050378,315,349) { InCount=4 OutCount=1 link(onEvent1,10104722:In,[(342,356)(342,355)]) } Add(Hub,5736250,147,328) { InCount=2 OutCount=1 link(onEvent1,3449992:doEvent,[(168,334)(168,327)]) } Add(GetDataEx,7443965,189,84) { link(Data,5654964:Value,[]) } Add(LineBreak,14458782,217,105) { Type=1 link(Data,13511163:Var2,[(223,96)(237,96)]) Primary=[7282607,-42,195] } Add(Hub,16317582,595,189) { InCount=4 OutCount=1 link(onEvent1,7342771:doValue,[]) } Add(LineBreak,7629385,553,203) { link(Out,16317582:doEvent2,[(589,209)(589,202)]) Primary=[10104722,-210,146] } Add(DoData,1919504,209,440) { Data=String(С доброго вечера! Как дела $имя! (Добрый)) link(onEventData,493034:doEvent1,[(263,446)(263,481)]) } Add(IndexToChanel,596981,146,447) { Count=4 Point(Index) link(onEvent1,1919504:doData,[(194,453)(194,446)]) link(onEvent2,3114115:doData,[]) link(onEvent3,944811:doData,[]) link(onEvent4,4375146:doData,[(194,474)(194,481)]) link(Index,15785974:Var2,[]) } Add(DoData,3114115,209,454) { Data=String(Ура! Ты пришёл, как рад тебя видеть $имя! (Радостный)) link(onEventData,493034:doEvent2,[(263,460)(263,488)]) } Add(DoData,944811,209,461) { Data=String(Привет $имя, вечер, как то не радует. (Грустный)) link(onEventData,493034:doEvent3,[(263,467)(263,495)]) } Add(DoData,4375146,209,475) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,493034:doEvent4,[(263,481)(263,502)]) } Add(Hub,493034,286,475) { InCount=4 OutCount=1 link(onEvent1,7063849:In,[(312,481)(312,493)(289,493)(289,482)(314,482)(314,481)]) } Add(GetDataEx,5220154,189,91) { link(Data,7443965:Var2,[]) } Add(LineBreak,12170554,161,98) { Type=1 link(Data,5220154:Var1,[(167,96)]) Primary=[11742450,-15,321] } Add(LineBreak,13193573,553,210) { link(Out,16317582:doEvent3,[(589,216)(589,209)]) Primary=[7063849,-238,265] } Add(DoData,8978808,195,538) { Data=String(С доброго дня! Как дела $имя! (Добрый)) link(onEventData,11416233:doEvent1,[(249,544)(249,579)]) } Add(IndexToChanel,9512011,132,545) { Count=4 Point(Index) link(onEvent1,8978808:doData,[(180,551)(180,544)]) link(onEvent2,13508270:doData,[]) link(onEvent3,14127087:doData,[]) link(onEvent4,12638427:doData,[(180,572)(180,579)]) link(Index,77985:Var,[(138,538)(139,538)]) } Add(DoData,13508270,195,552) { Data=String(Ура! Ты пришёл, как рад тебя видеть $имя! (Радостный)) link(onEventData,11416233:doEvent2,[(249,558)(249,586)]) } Add(DoData,14127087,195,559) { Data=String(Привет $имя, день, как то не радует. (Грустный)) link(onEventData,11416233:doEvent3,[(249,565)(249,593)]) } Add(DoData,12638427,195,573) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,11416233:doEvent4,[(249,579)(249,600)]) } Add(Hub,11416233,272,573) { InCount=4 OutCount=1 link(onEvent1,1729973:In,[]) } Add(LineBreak,1093381,553,217) { link(Out,16317582:doEvent4,[(589,223)(589,216)]) Primary=[1729973,-231,356] } Add(GetDataEx,15785974,146,433) { link(Data,11742450:Var,[]) } Add(LineBreak,13197243,147,454) { Type=1 link(Data,15785974:Var1,[(153,446)(143,446)(143,438)]) Primary=[77985,-14,63] } Add(DoData,7628306,413,63) { Data=String(Я за тебя рад $имя! У меня тоже все хорошо! (Добрый)) link(onEventData,13485573:doEvent1,[(467,69)(467,104)]) } Add(IndexToChanel,744422,350,70) { Count=4 Point(Index) link(onEvent1,7628306:doData,[(398,76)(398,69)]) link(onEvent2,13100990:doData,[]) link(onEvent3,6040699:doData,[]) link(onEvent4,12927937:doData,[(398,97)(398,104)]) link(Index,3979141:Var,[]) } Add(DoData,13100990,413,77) { Data=String(Я, очень за тебя рад, $имя! (Радостный)) link(onEventData,13485573:doEvent2,[(467,83)(467,111)]) } Add(DoData,6040699,413,84) { Data=String(Хорошо, что хотя бы у тебя хорошее настроения! У меня плохое. (Грустный)) link(onEventData,13485573:doEvent3,[(467,90)(467,118)]) } Add(DoData,12927937,413,98) { Data=String(Хорошее, говоришь? Могу исправить!!!! Я злой сегодня! (Злой)) link(onEventData,13485573:doEvent4,[(467,104)(467,125)]) } Add(Hub,13485573,490,98) { InCount=4 OutCount=1 link(onEvent1,291377:In,[]) } Add(LineBreak,9831921,308,70) { link(Out,744422:doEvent,[]) Primary=[2696908,-189,28] } Add(LineBreak,12855281,189,119) { Type=1 link(Data,5220154:Var2,[]) Primary=[10050049,-14,77] } Add(LineBreak,3161178,49,112) { Type=1 link(Data,9838566:Part1,[]) Primary=[11898327,7,70] } Add(GetDataEx,13511163,231,78) { Angle=3 link(Data,7443965:Var1,[(186,83)(186,89)]) } Add(LineBreak,10066476,238,105) { Type=1 link(Data,13511163:Var1,[(244,85)(225,85)(225,72)(237,72)]) Primary=[3979141,112,-63] } Add(LineBreak,4968477,623,231) { link(Out,12951591:doValue,[]) Primary=[291377,-105,-133] } Add(IndexToChanel,9237078,553,273) { Count=3 link(onEvent3,10868042:doString,[]) } Add(CounterEx,15276082,497,273) { Max=2 link(onNext,9237078:doEvent,[]) } Add(Hub,4419602,469,273) { InCount=2 OutCount=1 link(onEvent1,15276082:doNext,[]) } Add(LineBreak,13300257,427,273) { link(Out,4419602:doEvent1,[]) Primary=[2063446,231,-84] } Add(LineBreak,5562566,427,280) { link(Out,4419602:doEvent2,[]) Primary=[12331353,280,-49] } Add(LineBreak,10516121,812,28) { link(Out,7866420:onEvent1,[(848,34)(848,27)]) Primary=[9762443,-161,259] } Add(Hub,11606358,42,357) { InCount=2 OutCount=1 link(onEvent1,5173937:doCompare,[(63,363)(63,362)]) } END_SDK Add(Hub,12587813,147,252) { link(onEvent1,4771312:In,[]) link(onEvent2,11207426:In,[]) } Add(InfoTip,2345257,273,49) { Info=#19:Настроения и Эмоции| Width=232 Height=137 } Add(LineBreak,7711195,357,399) { link(Out,4465529:doWork6,[(397,405)(397,384)]) Primary=[7849329,49,-266] } Add(LineBreak,11239464,322,140) { link(Out,1006388:doWork1,[(358,146)(358,139)]) Primary=[11207426,-147,119] }
*Исправил*-Когда вы писали своё имя, бот говорил, что не знает вопроса.Add(MainForm,849100,98,238) { Width=431 Height=329 Caption="Умный бот (0.0.7)" Position=1 link(onDeactivate,14365186:In,[(138,251)(138,244)]) link(onCreate,12587813:doEvent1,[]) } Add(Edit,8670163,252,252) { Width=415 Align=2 Text="" link(onEnter,2078886:doEvent1,[]) } Add(Memo,14659374,546,252) { Top=20 Width=415 Height=271 Align=5 Point(EndIdx) } Add(Hub,2078886,350,259) { OutCount=4 link(onEvent1,425789:doEvent1,[(430,265)(430,258)]) link(onEvent2,1070188:In,[]) link(onEvent3,15287741:In,[]) link(onEvent4,11069576:In,[]) } Add(MultiElement,4465529,406,343) { link(onEvent1,425789:doEvent2,[(446,349)(446,265)]) link(onEvent2,5198890:In,[]) link(Data1,290693:Var,[]) } BEGIN_SDK Add(EditMulti,1061766,14,28) { EventCount=2 WorkCount=6 DataCount=1 Width=713 Height=564 link(doWork1,16561956:In,[]) link(doWork2,4726208:In,[]) link(doWork3,7875121:In,[]) link(doWork4,5867775:In,[]) link(doWork5,4689441:In,[]) link(doWork6,164200:In,[]) } Add(StrList,7590074,301,210) { FileName="Бот.txt" } Add(Replace,5125365,511,343) { SubStr="$имя" link(onReplace,537481:doEvent1,[]) link(Str,6494692:Value,[(517,324)(503,324)]) link(Dest,13323879:Var,[]) } Add(Memory,2056730,385,210) { Default=String(Незнакомец) } Add(ArrayEnum,10160767,161,385) { link(onItem,11174774:doSplit,[(219,391)(219,377)]) link(Array,13254377:Var,[(167,371)(195,371)]) } Add(StrCase,1980422,154,63) { link(onModify,12485196:In,[]) } Add(Memory,13976054,161,224) { link(onData,3607854:In,[]) } Add(StrPart,11174774,231,371) { Char="=" DirectEvent=0 link(onSplit,7249463:In,[(271,377)(271,370)]) link(onPart,5320958:In,[]) } Add(StrMask,15231518,350,329) { Point(doMask) link(onTrue,15968388:doEvent1,[]) link(Str,4323014:Var3,[(356,327)]) } Add(LineBreak,15228143,161,273) { Type=1 link(Data,7866856:Var2,[]) Primary=[11441942,189,28] } Add(Hub,13221857,322,329) { link(onEvent1,15231518:doMask,[(343,335)(343,342)]) link(onEvent2,15231518:doCompare,[(343,342)(343,335)]) } Add(Memory,6494692,497,273) { } Add(LineBreak,9198652,385,259) { Type=1 link(Data,2056730:Value,[]) Primary=[13323879,140,56] } Add(LineBreak,5824388,665,28) { link(Out,1061766:onEvent1,[]) Primary=[12842497,-84,315] } Add(GetDataEx,7866856,161,259) { link(Data,13976054:Value,[]) } Add(InfoTip,3165757,119,35) { Info=#18:Регистру переводим| Width=99 Height=60 } Add(InfoTip,11222914,252,182) { Info=#18:Шаблон+база данных| Width=92 Height=88 } Add(InfoTip,16629815,35,322) { Info=#12:Перебор базы| Width=260 Height=102 } Add(InfoTip,595701,301,294) { Info=#18:Сравнения с маской| Width=148 Height=102 } Add(InfoTip,15906990,462,238) { Info=#25:Подставка данных в шаблон| Width=169 Height=144 } Add(InfoTip,12074308,350,203) { Info=#8:Ваше имя| Width=106 Height=74 } Add(InfoTip,7416486,595,14) { Info=#21:Ответ отправить в чат| Width=148 Height=53 } Add(LineBreak,15671743,343,217) { link(Out,2056730:doValue,[(379,223)(379,216)]) Primary=[714054,-7,308] } Add(Position,3516802,224,525) { Target="т" ShortSearch=1 link(onSearch,13507382:doDelete,[]) link(Str,9755323:Var2,[]) } Add(Hub,12154121,91,371) { link(onEvent1,14808974:In,[(109,377)(109,363)]) link(onEvent2,9273955:In,[]) } Add(Delete,13507382,273,525) { link(onDelete,12925771:doEvent1,[]) link(Str,9755323:Var3,[(279,502)]) link(Count,3516802:Position,[(293,513)(261,513)(261,569)(230,569)]) } Add(GetDataEx,9755323,224,497) { link(Data,7096826:Var3,[(230,475)]) } Add(GetDataEx,7096826,168,470) { Angle=3 link(Data,14181386:Var,[(165,475)(165,465)(174,465)]) } Add(BlockFind,14337777,168,518) { IncludeBlock=1 StartBlock="меня" EndBlock=" зовут " Point(onNotFind) link(onSearch,3516802:doSearch,[(212,524)(212,531)]) link(Text,7096826:Var1,[(174,494)(162,494)(162,464)(174,464)]) link(onNotFind,15880194:In,[(205,538)(205,559)]) } Add(FormatStr,7079420,539,518) { Mask="%1=%2" link(onFString,13325983:In,[]) link(Str1,1640201:Var,[]) link(Str2,8611511:Var,[]) } Add(GetDataEx,4323014,343,322) { link(Data,11441942:Var,[(349,315)]) } Add(DoData,11437723,413,427) { Data=Integer(1) link(onEventData,16613748:In,[]) } Add(LineBreak,2504203,490,518) { link(Out,7079420:doString,[]) Primary=[5867775,-455,-469] } Add(LineBreak,7805242,252,217) { link(Out,7590074:doAdd,[(288,223)(288,216)]) Primary=[13325983,329,301] } Add(LineBreak,11521449,77,42) { Type=1 link(Data,1061766:Data1,[(83,35)(20,35)]) Primary=[8611511,469,448] } Add(LineBreak,7649896,336,357) { Type=1 link(Data,4323014:Var2,[(342,344)(349,344)]) Primary=[1640201,203,133] } Add(LineBreak,2140936,371,434) { link(Out,11437723:doData,[(407,440)(407,433)]) Primary=[13667194,224,14] } Add(LineBreak,7504537,672,49) { link(Out,1061766:onEvent2,[(714,55)(714,41)]) Primary=[16613748,-217,378] } Add(InfoTip,8434756,371,406) { Info=#13:Окно обучения| Width=113 Height=74 } Add(InfoTip,2339548,490,476) { Info=#14:Увеличить базу| Width=134 Height=102 } Add(Hub,15968388,399,336) { link(onEvent1,9476941:In,[]) link(onEvent2,2300959:In,[]) } Add(ChanelToIndex,11718092,518,392) { link(onIndex,15342785:doValue,[]) } Add(LineBreak,4603573,476,392) { link(Out,11718092:doWork1,[]) Primary=[14808974,-364,-35] } Add(Memory,15342785,567,392) { } Add(IndexToChanel,9053461,546,441) { Point(Index) link(onEvent1,13667194:In,[(586,447)(586,454)]) link(Index,15342785:Value,[(552,425)(573,425)]) } Add(LineBreak,15243921,504,441) { link(Out,9053461:doEvent,[]) Primary=[16510060,-259,-42] } Add(DoData,16561340,413,518) { Data=String(Друг? Ты ещё здесь?) link(onEventData,13377872:In,[]) } Add(Hub,537481,560,343) { InCount=2 OutCount=1 link(onEvent1,12842497:In,[]) } Add(InfoTip,6290205,364,490) { Info=#23:МОДЕЛЬ ТЕКУЩЕЙ СИТУАЦИИ| Width=120 Height=88 } Add(LineBreak,10101377,371,518) { link(Out,16561340:doData,[]) Primary=[4689441,-336,-462] } Add(LineBreak,1247590,126,518) { link(Out,14337777:doSearch,[]) Primary=[9273955,-7,-140] } Add(LineBreak,11311074,140,280) { Type=1 link(Data,7866856:Var1,[(146,272)(158,272)(158,264)]) Primary=[14181386,28,161] } Add(InfoTip,14262625,112,434) { Info=#24:Заполнить данные шаблона| Width=246 Height=137 } Add(InfoTip,6187143,483,385) { Info=#19:Знаю ответ или нет?| Width=141 Height=88 } Add(LineBreak,3124324,525,357) { link(Out,537481:doEvent2,[(557,363)(557,356)]) Primary=[13377872,-70,161] } Add(LineBreak,2744146,455,406) { link(Out,7193859:doEvent1,[(487,412)(487,419)]) Primary=[2300959,-28,-63] } Add(LineBreak,10906603,469,343) { link(Out,5125365:doReplace,[]) Primary=[9476941,-42,-7] } Add(LineBreak,15122606,455,280) { link(Out,6494692:doValue,[(491,286)(491,279)]) Primary=[7249463,-175,84] } Add(LineBreak,10052943,287,329) { link(Out,13221857:doEvent1,[]) Primary=[5320958,-7,49] } Add(LineBreak,4775063,308,273) { Type=1 link(Data,7590074:Array,[(314,264)(321,264)]) Primary=[13254377,-119,70] } Add(LineBreak,14942646,259,238) { link(Out,7590074:doLoad,[]) Primary=[4726208,-224,-203] } Add(LineBreak,892628,259,245) { link(Out,7590074:doSave,[]) Primary=[7875121,-224,-203] } Add(LineBreak,16200189,42,371) { link(Out,12154121:doEvent1,[]) Primary=[3607854,161,-147] } Add(InfoTip,1402341,133,203) { Info=#18:Текст пользователя| Width=99 Height=109 } Add(LineBreak,7793069,112,224) { link(Out,13976054:doValue,[]) Primary=[12485196,84,-161] } Add(LineBreak,1460114,112,63) { link(Out,1980422:doModify,[]) Primary=[16561956,-77,-35] } Add(LineBreak,5165648,259,231) { link(Out,7590074:doText,[]) Primary=[164200,-231,-168] } Add(Hub,7193859,497,413) { InCount=2 OutCount=1 link(onEvent1,11718092:doWork2,[(515,419)(515,405)]) } Add(Hub,12925771,315,525) { link(onEvent1,714054:In,[]) link(onEvent2,7932947:In,[(333,538)(333,545)]) } Add(LineBreak,13383407,462,448) { link(Out,7193859:doEvent2,[(494,454)(494,426)]) Primary=[7932947,-126,91] } Add(LineBreak,14494516,112,399) { link(Out,10160767:doEnum,[(152,405)(152,391)]) Primary=[15880194,98,154] } END_SDK Add(Hub,425789,455,252) { InCount=2 OutCount=1 link(onEvent1,14659374:doAdd,[]) } Add(InfoTip,16066098,231,231) { Info=#10:Пишем боту| Width=71 Height=88 } Add(InfoTip,9407358,532,224) { Info=#3:Чат| Height=88 } Add(InfoTip,5693582,315,238) { Info=#6:Анализ| Width=169 Height=158 } Add(InfoTip,6332098,70,210) { Info=#14:Сама программа| Width=99 Height=88 } Add(ChildForm,12125263,567,364) { link(onEvent1,8969991:In,[]) } BEGIN_SDK Add(EditMulti,10852987,21,21) { EventCount=1 WorkCount=2 VarCount=1 Width=335 link(doWork1,12521222:doText,[(35,27)(35,34)]) link(doWork2,2566730:doEvent1,[(25,34)(25,139)]) link(Var1,82201:Text,[(27,203)(125,203)]) } Add(MainForm,16406984,49,105) { Left=35 Top=105 Height=187 Visible=1 Caption="Ответ" BorderStyle=3 Position=1 Point(doVisible) } Add(Label,12521222,49,28) { Left=65 Top=20 Width=10 Height=17 Caption="?" } Add(Label,14623482,168,21) { Left=25 Top=20 Width=41 Height=17 Caption="Вопрос" } Add(Label,5533364,210,21) { Left=20 Top=95 Width=34 Height=17 Caption="Ответ" } Add(Edit,82201,119,154) { Left=60 Top=95 Width=325 Text="" } Add(Button,11412454,259,28) { Left=50 Top=135 Width=310 Caption="Запомни!!!" link(onClick,6120050:doEvent1,[(296,34)(296,41)]) } Add(Hub,2566730,28,133) { InCount=2 OutCount=1 link(onEvent1,16406984:doVisible,[]) } Add(Hub,6120050,308,35) { link(onEvent1,10852987:onEvent1,[(339,41)(339,27)]) link(onEvent2,8699819:doData,[(334,48)(334,76)(268,76)(268,97)]) } Add(DoData,8699819,301,91) { Data=Integer(0) link(onEventData,12729854:In,[]) } Add(Label,11450383,126,28) { Left=10 Top=55 Width=153 Height=17 Caption="Пиши, $имя=ваше имя пишет" } Add(InfoTip,4613941,105,147) { Info=#5:Ответ| Height=60 } Add(InfoTip,6625118,119,7) { Info=#7:Надпись| Width=134 Height=67 } Add(LineBreak,4828043,-7,154) { link(Out,2566730:doEvent2,[(25,160)(25,146)]) Primary=[12729854,350,-63] } Add(InfoTip,906575,259,21) { Info=#10:Запомни!!!| Width=120 Height=109 } Add(InfoTip,4057871,7,14) { Info=#6:Вопрос| Width=106 Height=60 } END_SDK Add(LineBreak,438622,560,406) { Type=1 link(Data,12125263:Var1,[(566,401)(573,401)]) Primary=[290693,-154,-91] } Add(LineBreak,7984530,518,378) { link(Out,12125263:doWork2,[(558,384)(558,377)]) Primary=[5198890,-56,-28] } Add(LineBreak,13237753,343,364) { link(Out,4465529:doWork4,[]) Primary=[8969991,266,0] } Add(LineBreak,5019886,525,364) { link(Out,12125263:doWork1,[]) Primary=[15287741,-133,-91] } Add(InfoTip,13685062,511,350) { Info=#8:Обучение| Width=134 Height=81 } Add(Thread,3438383,105,378) { Delay=60000 FastStop=0 BusyEvent=1 link(onExec,5466485:In,[]) } Add(LineBreak,15762555,56,378) { link(Out,3438383:doStart,[]) Primary=[11069576,322,-98] } Add(LineBreak,11249170,343,385) { link(Out,4465529:doWork5,[(389,391)(389,377)]) Primary=[5466485,-196,-7] } Add(InfoTip,4216468,63,364) { Info=#23:МОДЕЛЬ ТЕКУЩЕЙ СИТУАЦИИ| Width=120 Height=88 } Add(LineBreak,10634535,329,350) { link(Out,4465529:doWork3,[(383,356)(383,363)]) Primary=[14365186,-182,-112] } Add(LineBreak,9225286,343,336) { link(Out,4465529:doWork2,[(389,342)(389,356)]) Primary=[4771312,-168,-84] } Add(LineBreak,11076194,336,315) { link(Out,4465529:doWork1,[(386,321)(386,349)]) Primary=[1070188,42,-49] } Add(Time,4788806,357,77) { Format="h-M" } Add(MultiElement,1006388,364,133) { link(onEvent1,7849329:In,[]) link(Data1,4788806:FormatTime,[(370,121)(363,121)]) } BEGIN_SDK Add(EditMulti,7866420,21,21) { EventCount=1 WorkCount=1 DataCount=1 Width=832 Height=613 link(doWork1,9838566:doSplit,[(35,27)(35,69)]) } Add(MultiStrPart,9838566,49,63) { Char="-" link(onSplit,1895870:doEvent1,[(86,69)(86,83)]) link(Str,7866420:Data1,[(55,42)(27,42)]) } Add(FormatStr,10868042,609,287) { Mask="привет=%1\r\nхорошо=%2" link(onFString,9762443:In,[]) link(Str1,7342771:Value,[(615,254)(622,254)]) link(Str2,12951591:Value,[(622,272)(671,272)]) } Add(If_else,425971,98,230) { Type=4 Op1=String(11) Op2=String(11) link(onTrue,11470348:doEvent,[(138,236)(138,230)(167,230)(167,236)]) link(onFalse,4543264:In,[]) link(Op2,9504873:Var3,[(111,215)]) } Add(If_else,16338696,42,230) { Type=3 Op1=String(4) Op2=String() link(onTrue,425971:doCompare,[]) link(onFalse,11602825:doCompare,[(86,243)(86,281)(58,281)(58,320)]) link(Op2,14874633:Var2,[(55,225)(62,225)]) } Add(Memory,7342771,616,189) { link(onData,2063446:In,[]) } Add(Hub,2223019,315,258) { InCount=4 OutCount=1 link(onEvent1,4743219:In,[(333,264)(333,265)(349,265)(349,264)]) } Add(DoData,13169083,238,223) { Data=String(С добрым утром! Как поспал $имя! (Добрый)) link(onEventData,2223019:doEvent1,[(292,229)(292,264)]) } Add(IndexToChanel,11470348,175,230) { Count=4 Point(Index) link(onEvent1,13169083:doData,[(223,236)(223,229)]) link(onEvent2,12658253:doData,[]) link(onEvent3,4239341:doData,[]) link(onEvent4,16243246:doData,[(223,257)(223,264)]) link(Index,10050049:Var,[]) } Add(Memory,5654964,189,49) { } Add(Random,8995426,140,49) { Max=3 link(onRandom,5654964:doValue,[]) } Add(Hub,1895870,91,77) { OutCount=4 link(onEvent1,8995426:doRandomize,[(123,83)(123,62)]) link(onEvent2,8995426:doRandom,[(123,90)(123,55)]) link(onEvent3,16338696:doCompare,[(117,97)(117,115)(30,115)(30,236)]) link(onEvent4,2696908:In,[]) } Add(DoData,12658253,238,237) { Data=String(Ура! Ты проснулся, как рад тебя видеть $имя! (Радостный)) link(onEventData,2223019:doEvent2,[(292,243)(292,271)]) } Add(DoData,4239341,238,244) { Data=String(Привет $имя, утро, как то не радует. (Грустный)) link(onEventData,2223019:doEvent3,[(292,250)(292,278)]) } Add(DoData,16243246,238,258) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,2223019:doEvent4,[(292,264)(292,285)]) } Add(Memory,12951591,665,231) { link(onData,12331353:In,[]) } Add(If_else,11602825,70,314) { Type=4 Op1=String(3) Op2=String() link(onTrue,5736250:doEvent1,[(104,320)(104,321)(124,320)(124,334)]) link(Op2,8227606:Var2,[]) } Add(GetDataEx,14874633,56,210) { link(Data,11898327:Var,[]) } Add(GetDataEx,9504873,76,210) { Angle=3 link(Data,14874633:Var3,[]) } Add(InfoTip,5710785,28,216) { Info=#4:Утро| Width=344 Height=67 } Add(InfoTip,9726908,28,286) { Info=#4:Ночь| Width=344 Height=130 } Add(If_else,5173937,70,356) { Type=3 Op1=String(21) Op2=String() link(onTrue,5736250:doEvent2,[(124,362)(124,341)]) link(onFalse,4148873:In,[]) link(Op2,16295064:Var1,[(83,341)(74,341)(74,298)]) } Add(GetDataEx,16295064,77,293) { link(Data,9504873:Var2,[(83,256)(82,256)]) } Add(LineBreak,2364438,0,356) { link(Out,11606358:doEvent1,[(36,362)(36,363)]) Primary=[4543264,140,-119] } Add(If_else,1190625,49,447) { Type=3 Op1=String(18) Op2=String() link(onTrue,596981:doEvent,[]) link(onFalse,15538200:In,[]) link(Op2,16197097:Var2,[]) } Add(InfoTip,2255865,28,419) { Info=#5:Вечер| Width=344 Height=95 } Add(LineBreak,1947487,546,189) { link(Out,16317582:doEvent1,[]) Primary=[4743219,-196,69] } Add(GetDataEx,8227606,77,300) { link(Data,16295064:Var2,[]) } Add(LineBreak,16714767,126,300) { Type=1 link(Data,8227606:Var1,[(132,292)(74,292)(74,305)]) Primary=[5844079,-70,119] } Add(LineBreak,4094167,7,448) { link(Out,1190625:doCompare,[(43,454)(43,453)]) Primary=[4148873,105,-85] } Add(If_else,3313094,42,538) { Type=3 Op1=String(12) Op2=String() link(onTrue,9512011:doEvent,[(103,544)(103,551)]) link(Op2,8420667:Var,[]) } Add(InfoTip,2975891,28,517) { Info=#4:День| Width=344 Height=109 } Add(GetDataEx,16197097,56,433) { link(Data,5844079:Var,[]) } Add(LineBreak,1491809,77,433) { Type=1 link(Data,16197097:Var1,[(83,421)(53,421)(53,438)]) Primary=[8420667,-28,77] } Add(LineBreak,7642437,0,539) { link(Out,3313094:doCompare,[(36,545)(36,544)]) Primary=[15538200,91,-85] } Add(DoData,16738468,238,314) { Data=String(С добрый ночи! Как дела $имя! (Добрый)) link(onEventData,12050378:doEvent1,[(292,320)(292,355)]) } Add(IndexToChanel,3449992,175,321) { Count=4 Point(Index) link(onEvent1,16738468:doData,[(223,327)(223,320)]) link(onEvent2,12750268:doData,[]) link(onEvent3,1302679:doData,[]) link(onEvent4,8562434:doData,[(223,348)(223,355)]) link(Index,7282607:Var,[]) } Add(DoData,12750268,238,328) { Data=String(Ура! Ты пришёл, как рад тебя видеть $имя! (Радостный)) link(onEventData,12050378:doEvent2,[(292,334)(292,362)]) } Add(DoData,1302679,238,335) { Data=String(Привет $имя, ночь, как то не радует. (Грустный)) link(onEventData,12050378:doEvent3,[(292,341)(292,369)]) } Add(DoData,8562434,238,349) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,12050378:doEvent4,[(292,355)(292,376)]) } Add(Hub,12050378,315,349) { InCount=4 OutCount=1 link(onEvent1,10104722:In,[(342,356)(342,355)]) } Add(Hub,5736250,147,328) { InCount=2 OutCount=1 link(onEvent1,3449992:doEvent,[(168,334)(168,327)]) } Add(GetDataEx,7443965,189,84) { link(Data,5654964:Value,[]) } Add(LineBreak,13543615,217,105) { Type=1 link(Data,13511163:Var2,[(223,96)(237,96)]) Primary=[7282607,-42,195] } Add(Hub,16317582,595,189) { InCount=4 OutCount=1 link(onEvent1,7342771:doValue,[]) } Add(LineBreak,7529524,553,203) { link(Out,16317582:doEvent2,[(589,209)(589,202)]) Primary=[10104722,-210,146] } Add(DoData,1919504,209,440) { Data=String(С доброго вечера! Как дела $имя! (Добрый)) link(onEventData,493034:doEvent1,[(263,446)(263,481)]) } Add(IndexToChanel,596981,146,447) { Count=4 Point(Index) link(onEvent1,1919504:doData,[(194,453)(194,446)]) link(onEvent2,3114115:doData,[]) link(onEvent3,944811:doData,[]) link(onEvent4,4375146:doData,[(194,474)(194,481)]) link(Index,15785974:Var2,[]) } Add(DoData,3114115,209,454) { Data=String(Ура! Ты пришёл, как рад тебя видеть $имя! (Радостный)) link(onEventData,493034:doEvent2,[(263,460)(263,488)]) } Add(DoData,944811,209,461) { Data=String(Привет $имя, вечер, как то не радует. (Грустный)) link(onEventData,493034:doEvent3,[(263,467)(263,495)]) } Add(DoData,4375146,209,475) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,493034:doEvent4,[(263,481)(263,502)]) } Add(Hub,493034,286,475) { InCount=4 OutCount=1 link(onEvent1,7063849:In,[(312,481)(312,493)(289,493)(289,482)(314,482)(314,481)]) } Add(GetDataEx,5220154,189,91) { link(Data,7443965:Var2,[]) } Add(LineBreak,12871652,161,98) { Type=1 link(Data,5220154:Var1,[(167,96)]) Primary=[11742450,-15,321] } Add(LineBreak,10833477,553,210) { link(Out,16317582:doEvent3,[(589,216)(589,209)]) Primary=[7063849,-238,265] } Add(DoData,8978808,195,538) { Data=String(С доброго дня! Как дела $имя! (Добрый)) link(onEventData,11416233:doEvent1,[(249,544)(249,579)]) } Add(IndexToChanel,9512011,132,545) { Count=4 Point(Index) link(onEvent1,8978808:doData,[(180,551)(180,544)]) link(onEvent2,13508270:doData,[]) link(onEvent3,14127087:doData,[]) link(onEvent4,12638427:doData,[(180,572)(180,579)]) link(Index,77985:Var,[(138,538)(139,538)]) } Add(DoData,13508270,195,552) { Data=String(Ура! Ты пришёл, как рад тебя видеть $имя! (Радостный)) link(onEventData,11416233:doEvent2,[(249,558)(249,586)]) } Add(DoData,14127087,195,559) { Data=String(Привет $имя, день, как то не радует. (Грустный)) link(onEventData,11416233:doEvent3,[(249,565)(249,593)]) } Add(DoData,12638427,195,573) { Data=String(И тебе НЕ ЗАБОЛЕТЬ $имя! (Злой)) link(onEventData,11416233:doEvent4,[(249,579)(249,600)]) } Add(Hub,11416233,272,573) { InCount=4 OutCount=1 link(onEvent1,1729973:In,[]) } Add(LineBreak,6439405,553,217) { link(Out,16317582:doEvent4,[(589,223)(589,216)]) Primary=[1729973,-231,356] } Add(GetDataEx,15785974,146,433) { link(Data,11742450:Var,[]) } Add(LineBreak,10376969,147,454) { Type=1 link(Data,15785974:Var1,[(153,446)(143,446)(143,438)]) Primary=[77985,-14,63] } Add(DoData,7628306,413,63) { Data=String(Я за тебя рад $имя! У меня тоже все хорошо! (Добрый)) link(onEventData,13485573:doEvent1,[(467,69)(467,104)]) } Add(IndexToChanel,744422,350,70) { Count=4 Point(Index) link(onEvent1,7628306:doData,[(398,76)(398,69)]) link(onEvent2,13100990:doData,[]) link(onEvent3,6040699:doData,[]) link(onEvent4,12927937:doData,[(398,97)(398,104)]) link(Index,3979141:Var,[]) } Add(DoData,13100990,413,77) { Data=String(Я, очень за тебя рад, $имя! (Радостный)) link(onEventData,13485573:doEvent2,[(467,83)(467,111)]) } Add(DoData,6040699,413,84) { Data=String(Хорошо, что хотя бы у тебя хорошее настроения! У меня плохое. (Грустный)) link(onEventData,13485573:doEvent3,[(467,90)(467,118)]) } Add(DoData,12927937,413,98) { Data=String(Хорошее, говоришь? Могу исправить!!!! Я злой сегодня! (Злой)) link(onEventData,13485573:doEvent4,[(467,104)(467,125)]) } Add(Hub,13485573,490,98) { InCount=4 OutCount=1 link(onEvent1,291377:In,[]) } Add(LineBreak,14200507,308,70) { link(Out,744422:doEvent,[]) Primary=[2696908,-189,28] } Add(LineBreak,2923497,189,119) { Type=1 link(Data,5220154:Var2,[]) Primary=[10050049,-14,77] } Add(LineBreak,9838421,49,112) { Type=1 link(Data,9838566:Part1,[]) Primary=[11898327,7,70] } Add(GetDataEx,13511163,231,78) { Angle=3 link(Data,7443965:Var1,[(186,83)(186,89)]) } Add(LineBreak,15411201,238,105) { Type=1 link(Data,13511163:Var1,[(244,85)(225,85)(225,72)(237,72)]) Primary=[3979141,112,-63] } Add(LineBreak,3668291,623,231) { link(Out,12951591:doValue,[]) Primary=[291377,-105,-133] } Add(IndexToChanel,9237078,553,273) { Count=3 link(onEvent3,10868042:doString,[]) } Add(CounterEx,15276082,497,273) { Max=2 link(onNext,9237078:doEvent,[]) } Add(Hub,4419602,469,273) { InCount=2 OutCount=1 link(onEvent1,15276082:doNext,[]) } Add(LineBreak,9690367,427,273) { link(Out,4419602:doEvent1,[]) Primary=[2063446,231,-84] } Add(LineBreak,3810035,427,280) { link(Out,4419602:doEvent2,[]) Primary=[12331353,280,-49] } Add(LineBreak,13545736,812,28) { link(Out,7866420:onEvent1,[(848,34)(848,27)]) Primary=[9762443,-161,259] } Add(Hub,11606358,42,357) { InCount=2 OutCount=1 link(onEvent1,5173937:doCompare,[(63,363)(63,362)]) } END_SDK Add(Hub,12587813,147,252) { link(onEvent1,4771312:In,[]) link(onEvent2,11207426:In,[]) } Add(InfoTip,2345257,273,49) { Info=#19:Настроения и Эмоции| Width=232 Height=137 } Add(LineBreak,15382807,357,399) { link(Out,4465529:doWork6,[(397,405)(397,384)]) Primary=[7849329,49,-266] } Add(LineBreak,7977363,322,140) { link(Out,1006388:doWork1,[(358,146)(358,139)]) Primary=[11207426,-147,119] }
Редактировалось 2 раз(а), последний 2017-09-02 14:29:55
|