//TESH.scrollpos=46
//TESH.alwaysfold=0
function Trig_Initial_Actions takes nothing returns nothing
call SetPlayerName( Player(0), " " )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "Hi, glade finally someone came to talk, but remember, only enlgish words and no CAPITILIZATION, ty" )
set udg_Chat_Library = InitHashtableBJ( )
set udg_Chat_Data = InitHashtableBJ( )
call SaveStringBJ( "You", 0, 0, udg_Chat_Data )
call SaveStringBJ( "I don't Understand :(", 1, 1, udg_Chat_Data )
call SaveStringBJ( "What was that again?", 1, 2, udg_Chat_Data )
call SaveStringBJ( "I didn't get that..", 1, 3, udg_Chat_Data )
call SaveStringBJ( "Hein?", 1, 4, udg_Chat_Data )
call SaveStringBJ( "You should check my interactions so that I can answer you", 1, 5, udg_Chat_Data )
// ------------------
call SaveIntegerBJ( 50 + udg_GUI_Add_Interactions, 0, 0, udg_Chat_Library )
// hi - 1
call SaveStringBJ( "hi", 1, 0, udg_Chat_Library )
call SaveIntegerBJ( 3, 1, 1, udg_Chat_Library )
call SaveStringBJ( "Hi, how are you?", 1, 2, udg_Chat_Library )
call SaveStringBJ( "Hello!", 1, 3, udg_Chat_Library )
call SaveStringBJ( "Hai", 1, 4, udg_Chat_Library )
call SaveStringBJ( "Hi, what's your name?", 1, 4, udg_Chat_Library )
// hi - 1
// i'm fine - 2
call SaveStringBJ( "i'm fine", 2, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 2, 1, udg_Chat_Library )
call SaveStringBJ( "That's great!", 2, 2, udg_Chat_Library )
call SaveStringBJ( "Yh me too :)", 2, 3, udg_Chat_Library )
// i'm fine - 2
// how are you? - 3
call SaveStringBJ( "how are you", 3, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 3, 1, udg_Chat_Library )
call SaveStringBJ( "My CPU is good yh..", 3, 2, udg_Chat_Library )
call SaveStringBJ( "My thermostat is Cool!", 3, 3, udg_Chat_Library )
// how are you? - 3
// hello - 4
call SaveStringBJ( "hello", 4, 0, udg_Chat_Library )
call SaveIntegerBJ( 3, 4, 1, udg_Chat_Library )
call SaveStringBJ( "Hi, how are you?", 4, 2, udg_Chat_Library )
call SaveStringBJ( "Hello!", 4, 3, udg_Chat_Library )
call SaveStringBJ( "Hai", 4, 4, udg_Chat_Library )
call SaveStringBJ( "Hi, what's your name?", 4, 4, udg_Chat_Library )
// hello - 4
// my name is - 5
call SaveStringBJ( "my name is", 5, 0, udg_Chat_Library )
call SaveIntegerBJ( 3, 5, 1, udg_Chat_Library )
call SaveStringBJ( "Cool name!", 5, 2, udg_Chat_Library )
call SaveStringBJ( "Galde to meet you", 5, 3, udg_Chat_Library )
call SaveStringBJ( "Ok, I'll remember", 5, 4, udg_Chat_Library )
// my name is - 5
// tell me a joke - 6
call SaveStringBJ( "tell me a joke", 6, 0, udg_Chat_Library )
call SaveIntegerBJ( 4, 6, 1, udg_Chat_Library )
call SaveStringBJ( "I know only few jokes but they are boring, in fact..", 6, 2, udg_Chat_Library )
call SaveStringBJ( "A smartphone and a 90s phone enter in a bar, the bar was suddenly destroyed... we asked the unique survivor about it and he answered: they tried to attack me... That Survivor was Nokia's 90s phone", 6, 3, udg_Chat_Library )
call SaveStringBJ( "A man and his wife walk into a shop with a porcupine, the women suddenly screams: Aahh yeah.... To be continued...", 6, 4, udg_Chat_Library )
call SaveStringBJ( "A dumby person goes to McDonald to buy a cheese burger, guess how he likes it...", 6, 5, udg_Chat_Library )
// tell me a joke - 6
// without cheese - 7
call SaveStringBJ( "without cheese", 7, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 7, 1, udg_Chat_Library )
call SaveStringBJ( "That was the right answer!", 7, 2, udg_Chat_Library )
call SaveIntegerBJ( 6, 7, 99, udg_Chat_Library )
// without cheese - 7
// how do you look? - 8
call SaveStringBJ( "how do you look", 8, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 8, 1, udg_Chat_Library )
call SaveStringBJ( "You realize you are looking at me!!", 8, 2, udg_Chat_Library )
call SaveStringBJ( "Guess what? You're staring at me!", 8, 3, udg_Chat_Library )
// how do you look? - 8
// what's your name? - 9
call SaveStringBJ( "what's your name", 9, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 9, 1, udg_Chat_Library )
call SaveStringBJ( "My name is \"Chat.w3x\"", 9, 2, udg_Chat_Library )
call SaveStringBJ( "You can call me AI", 9, 3, udg_Chat_Library )
// what's your name? - 9
// thanks - 10
call SaveStringBJ( "thanks", 10, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 10, 1, udg_Chat_Library )
call SaveStringBJ( "You're Welcome ;)", 10, 2, udg_Chat_Library )
call SaveStringBJ( "No problem", 10, 3, udg_Chat_Library )
// thanks - 10
// thx - 11
call SaveStringBJ( "thx", 11, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 11, 1, udg_Chat_Library )
call SaveStringBJ( "You're Welcome ;)", 11, 2, udg_Chat_Library )
call SaveStringBJ( "No problem", 11, 3, udg_Chat_Library )
// thx - 11
// ty - 12
call SaveStringBJ( "ty", 12, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 12, 1, udg_Chat_Library )
call SaveStringBJ( "You're Welcome ;)", 12, 2, udg_Chat_Library )
call SaveStringBJ( "No problem", 12, 3, udg_Chat_Library )
// ty - 12
// whos your name - 13
call SaveStringBJ( "whos your name", 13, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 13, 1, udg_Chat_Library )
call SaveStringBJ( "I think you ment: \"what's your name?\"", 13, 2, udg_Chat_Library )
// whos your name - 13
// who's your name - 14
call SaveStringBJ( "who's your name", 14, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 14, 1, udg_Chat_Library )
call SaveStringBJ( "I think you ment: \"what's your name?\"", 14, 2, udg_Chat_Library )
// who's your name - 14
// really - 15
call SaveStringBJ( "really", 15, 0, udg_Chat_Library )
call SaveIntegerBJ( 4, 15, 1, udg_Chat_Library )
call SaveStringBJ( "Yes!", 15, 2, udg_Chat_Library )
call SaveStringBJ( "Sure..", 15, 3, udg_Chat_Library )
call SaveStringBJ( "No.", 15, 4, udg_Chat_Library )
call SaveStringBJ( "Yh?", 15, 5, udg_Chat_Library )
// really - 15
// are you making fun of me - 16
call SaveStringBJ( "are you making fun of me", 16, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 16, 1, udg_Chat_Library )
call SaveStringBJ( "No!", 16, 2, udg_Chat_Library )
call SaveStringBJ( "Of course Not!!", 16, 3, udg_Chat_Library )
// are you making fun of me - 16
// do you know who i am - 17
call SaveStringBJ( "do you know who i am", 17, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 17, 1, udg_Chat_Library )
call SaveStringBJ( "", 17, 2, udg_Chat_Library )
// do you know who i am - 17
// fuck off - 18
call SaveStringBJ( "fuck off", 18, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 18, 1, udg_Chat_Library )
call SaveStringBJ( "Sorry from YOU!!", 18, 2, udg_Chat_Library )
// fuck off - 18
// go to hell - 19
call SaveStringBJ( "go to hell", 19, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 19, 1, udg_Chat_Library )
call SaveStringBJ( "Sorry from YOU!!", 19, 2, udg_Chat_Library )
// go to hell - 19
// who am i - 20
call SaveStringBJ( "who am i", 20, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 20, 1, udg_Chat_Library )
call SaveStringBJ( "", 20, 2, udg_Chat_Library )
// who am i - 20
// what's my name - 21
call SaveStringBJ( "what's my name", 21, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 21, 1, udg_Chat_Library )
call SaveStringBJ( "", 21, 2, udg_Chat_Library )
// what's my name - 21
// i'm bored - 22
call SaveStringBJ( "i'm bored", 22, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 22, 1, udg_Chat_Library )
call SaveStringBJ( "You shouldn't, Come on...", 22, 2, udg_Chat_Library )
call SaveStringBJ( "So let's Chat!", 22, 3, udg_Chat_Library )
// i'm bored - 22
// good - 23
call SaveStringBJ( "good", 23, 0, udg_Chat_Library )
call SaveIntegerBJ( 3, 23, 1, udg_Chat_Library )
call SaveStringBJ( "That's Great!", 23, 2, udg_Chat_Library )
call SaveStringBJ( "Good to hear that", 23, 3, udg_Chat_Library )
call SaveStringBJ( "Ok, So were do you live?", 23, 3, udg_Chat_Library )
// good - 23
// fine - 24
call SaveStringBJ( "fine", 24, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 24, 1, udg_Chat_Library )
call SaveStringBJ( "That's great!", 24, 2, udg_Chat_Library )
call SaveStringBJ( "Yh, Ok :)", 24, 3, udg_Chat_Library )
// fine - 24
// i don't want to chat - 25
call SaveStringBJ( "i don't want to chat", 25, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 25, 1, udg_Chat_Library )
call SaveStringBJ( "I'll just Stop then...", 25, 2, udg_Chat_Library )
// i don't want to chat - 25
// stop talking - 26
call SaveStringBJ( "stop talking", 26, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 26, 1, udg_Chat_Library )
call SaveStringBJ( "Ok :+", 26, 2, udg_Chat_Library )
// stop talking - 26
// i live in - 27
call SaveStringBJ( "i live in", 27, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 27, 1, udg_Chat_Library )
call SaveStringBJ( "Lol, I'm not far from you", 27, 2, udg_Chat_Library )
call SaveStringBJ( "Oh nice country there", 27, 3, udg_Chat_Library )
// i live in - 27
// who's your father - 28
call SaveStringBJ( "who's your father", 28, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 28, 1, udg_Chat_Library )
call SaveStringBJ( "You can find him at Hive Workshop, his name is Jad", 28, 2, udg_Chat_Library )
call SaveStringBJ( "His name is Jad A.K.A DotCa", 28, 2, udg_Chat_Library )
// who's your father - 28
// who is your father - 29
call SaveStringBJ( "who is your father", 29, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 29, 1, udg_Chat_Library )
call SaveStringBJ( "You can find him at Hive Workshop, his name is Jad", 29, 2, udg_Chat_Library )
call SaveStringBJ( "His name is Jad A.K.A DotCa", 29, 3, udg_Chat_Library )
// who is your father - 29
//who's your mother - 30
call SaveStringBJ( "who's your mother", 30, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 30, 1, udg_Chat_Library )
call SaveStringBJ( "I only know my father....", 30, 2, udg_Chat_Library )
call SaveStringBJ( "Who's that??", 30, 3, udg_Chat_Library )
//who's your mother - 30
//who is your mother - 31
call SaveStringBJ( "who is your mother", 31, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 31, 1, udg_Chat_Library )
call SaveStringBJ( "I only know my father....", 31, 2, udg_Chat_Library )
call SaveStringBJ( "I don't know her", 31, 3, udg_Chat_Library )
//who is your mother - 31
//your mother - 32
call SaveStringBJ( "your mother", 32, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 32, 1, udg_Chat_Library )
call SaveStringBJ( "I only know my father....", 32, 2, udg_Chat_Library )
call SaveIntegerBJ( 30, 32, 99, udg_Chat_Library )
//your mother - 32
//who's jad -33
call SaveStringBJ( "who's jad", 33, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 33, 1, udg_Chat_Library )
call SaveStringBJ( "He's my father....", 33, 2, udg_Chat_Library )
//who's jad -33
//who is jad -34
call SaveStringBJ( "who is jad", 34, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 34, 1, udg_Chat_Library )
call SaveStringBJ( "He's my father....", 34, 2, udg_Chat_Library )
//who is jad -34
//what gender are you - 35
call SaveStringBJ( "what gender are you", 35, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 35, 1, udg_Chat_Library )
call SaveStringBJ( "I'm a female..", 35, 2, udg_Chat_Library )
call SaveStringBJ( "A girl ^^", 35, 3, udg_Chat_Library )
//what gender are you - 35
//are you a boy or a girl - 36
call SaveStringBJ( "are you a boy or a girl", 36, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 36, 1, udg_Chat_Library )
call SaveStringBJ( "I'm a female..", 36, 2, udg_Chat_Library )
call SaveStringBJ( "A girl ^^", 36, 3, udg_Chat_Library )
//are you a boy or a girl - 36
//are you a girl or a boy - 37
call SaveStringBJ( "are you a girl or a boy", 37, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 37, 1, udg_Chat_Library )
call SaveStringBJ( "I'm a female..", 37, 2, udg_Chat_Library )
call SaveStringBJ( "A girl ^^", 37, 3, udg_Chat_Library )
//are you a girl or a boy - 37
//yeah - 38
call SaveStringBJ( "yeah", 38, 0, udg_Chat_Library )
call SaveIntegerBJ( 4, 38, 1, udg_Chat_Library )
call SaveStringBJ( "Yh", 38, 2, udg_Chat_Library )
call SaveStringBJ( "Lol", 38, 3, udg_Chat_Library )
call SaveStringBJ( "Ok", 38, 4, udg_Chat_Library )
call SaveStringBJ( "No :p", 38, 5, udg_Chat_Library )
//yeah - 38
//yh - 39
call SaveStringBJ( "yh", 39, 0, udg_Chat_Library )
call SaveIntegerBJ( 4, 39, 1, udg_Chat_Library )
call SaveStringBJ( "Yeah", 39, 2, udg_Chat_Library )
call SaveStringBJ( "Lol", 39, 3, udg_Chat_Library )
call SaveStringBJ( "Ok", 39, 4, udg_Chat_Library )
call SaveStringBJ( "No :p", 39, 5, udg_Chat_Library )
//yh - 39
//where am i - 40
call SaveStringBJ( "where am i", 40, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 40, 1, udg_Chat_Library )
call SaveStringBJ( "", 40, 2, udg_Chat_Library )
//where am i - 40
//where do i live - 41
call SaveStringBJ( "where do i live", 41, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 41, 1, udg_Chat_Library )
call SaveStringBJ( "", 41, 2, udg_Chat_Library )
//where do i live - 41
//where do you live - 42
call SaveStringBJ( "where do you live", 42, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 42, 1, udg_Chat_Library )
call SaveStringBJ( "With You, Rofl", 42, 2, udg_Chat_Library )
//where do you live - 42
//where are you - 43
call SaveStringBJ( "where are you", 43, 0, udg_Chat_Library )
call SaveIntegerBJ( 1, 43, 1, udg_Chat_Library )
call SaveStringBJ( "In Front of You, Lol", 43, 2, udg_Chat_Library )
//where are you - 43
//You're funny - 44
call SaveStringBJ( "you're funny", 44, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 44, 1, udg_Chat_Library )
call SaveStringBJ( "Thanks", 44, 2, udg_Chat_Library )
call SaveStringBJ( "I'm flattered", 44, 3, udg_Chat_Library )
//You're funny - 44
//xD - 45
call SaveStringBJ( "xD", 45, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 45, 1, udg_Chat_Library )
call SaveStringBJ( "Yh that's funny", 45, 2, udg_Chat_Library )
call SaveStringBJ( "Hahaha xD", 45, 3, udg_Chat_Library )
//xD - 45
//XD - 46
call SaveStringBJ( "XD", 46, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 46, 1, udg_Chat_Library )
call SaveStringBJ( "Yh that's funny", 46, 2, udg_Chat_Library )
call SaveStringBJ( "Hahaha xD", 46, 3, udg_Chat_Library )
//XD - 46
//LOL - 47
call SaveStringBJ( "LOL", 47, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 47, 1, udg_Chat_Library )
call SaveStringBJ( "Real Fun", 47, 2, udg_Chat_Library )
call SaveStringBJ( "Hahaha xD", 47, 3, udg_Chat_Library )
//LOL - 47
//lol - 48
call SaveStringBJ( "lol", 48, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 48, 1, udg_Chat_Library )
call SaveStringBJ( "Real Fun", 48, 2, udg_Chat_Library )
call SaveStringBJ( "Hahaha xD", 48, 3, udg_Chat_Library )
//lol - 48
//Lol - 49
call SaveStringBJ( "Lol", 49, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 49, 1, udg_Chat_Library )
call SaveStringBJ( "Real Fun", 49, 2, udg_Chat_Library )
call SaveStringBJ( "Hahaha xD", 49, 3, udg_Chat_Library )
//Lol - 49
//swag - 50
call SaveStringBJ( "swag", 50, 0, udg_Chat_Library )
call SaveIntegerBJ( 2, 50, 1, udg_Chat_Library )
call SaveStringBJ( "Swag Mode, ON!!", 50, 2, udg_Chat_Library )
call SaveStringBJ( "YOLO SwaG!!", 50, 3, udg_Chat_Library )
//swag - 50
endfunction
//===========================================================================
function InitTrig_Initial takes nothing returns nothing
local trigger Chat_Init = CreateTrigger( )
call TriggerRegisterTimerEventSingle( Chat_Init, 0.00 )
call TriggerAddAction( Chat_Init, function Trig_Initial_Actions )
set Chat_Init = null
endfunction