02-11-2025 23:51:49.41941[0][4] - Elapsed time: 5.103 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
02-11-2025 23:51:49.41980[4][4] - Elapsed time: 0.389 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 23:51:49.42007[4][4] - Elapsed time: 0.277 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 23:51:49.42021[4][4] - Elapsed time: 0.140 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 23:51:49.42078[4][4] - Elapsed time: 0.569 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 23:51:49.42080[4][4] - Elapsed time: 0.020 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 23:51:49.42101[1][4] - Elapsed time: 0.202 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
02-11-2025 23:51:49.42156[0][4] - Elapsed time: 0.558 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = c0bf752879e55431783cf9fb5117de45 
-----------------------
02-11-2025 23:51:49.42158[4][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'halo'. 
-----------------------
02-11-2025 23:51:49.42162[4][4] - Elapsed time: 0.037 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 23:51:49.42163[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 23:51:49.42165[3][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
02-11-2025 23:51:49.42215[4][4] - Elapsed time: 0.501 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 23:51:49.42217[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 23:51:49.42218[3][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
02-11-2025 23:51:49.42269[2][4] - Elapsed time: 0.510 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 23:51:49.42271[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 23:51:49.42311[3][4] - Elapsed time: 0.394 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
02-11-2025 23:51:49.42351[2][4] - Elapsed time: 0.404 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 23:51:49.42361[2][4] - Elapsed time: 0.097 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
02-11-2025 23:51:49.42363[2][4] - Elapsed time: 0.020 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 23:51:49.42430[4][4] - Elapsed time: 0.673 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:51:49.42448[4][4] - Elapsed time: 0.177 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:51:49.42449[2][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO
Convo id: c0bf752879e55431783cf9fb5117de45
Bot id: 1
Format: json 
-----------------------
02-11-2025 23:51:49.42450[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 23:51:49.42451[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 23:51:49.42452[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
02-11-2025 23:51:49.42495[1][4] - Elapsed time: 0.431 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => AKU BOSAN
    [1] => AKU BOSEN
    [2] => GABUT
    [3] => gabut
    [4] => namaku riski
    [5] => halo
    [6] => aku bosan
    [7] => aku
    [8] => bosan
    [9] => bosan
)
 
-----------------------
02-11-2025 23:51:49.42496[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 23:51:49.42497[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [2] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [3] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [4] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [5] => Heyy! Lama gak ngobrol nih????
    [6] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [7] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [8] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [9] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
)
 
-----------------------
02-11-2025 23:51:49.42499[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42500[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42500[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42501[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42502[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42502[4][4] - Elapsed time: 0.007 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42504[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42504[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42505[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42508[4][4] - Elapsed time: 0.027 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 23:51:49.42515[4][4] - Elapsed time: 0.072 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42516[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42517[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42517[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42518[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42519[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42519[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42520[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42521[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42521[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42522[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42523[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42523[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42524[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42525[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42525[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42526[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42527[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42527[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42528[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42530[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42530[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42531[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42532[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42532[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42533[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42534[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42534[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42535[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42535[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42536[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42537[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42537[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42538[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42539[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42539[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42540[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42541[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42541[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42542[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42543[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42543[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42544[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42545[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42545[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Heyy
    [1] =>  Lama gak ngobrol nih
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 23:51:49.42546[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42546[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:51:49.42547[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:51:49.42547[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:51:49.42548[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:51:49.42548[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:51:49.42549[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HEYY LAMA GAK NGOBROL NIH' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42550[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:51:49.42550[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:51:49.42551[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:51:49.42551[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:51:49.42552[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42553[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42554[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42554[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42555[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42555[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42556[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42557[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42557[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42558[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42559[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42560[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42560[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42561[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42561[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42562[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42562[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42563[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42563[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42564[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42565[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42565[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42566[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42566[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42567[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42568[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42568[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42569[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42569[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42570[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42570[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42571[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42572[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42573[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42574[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42575[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42576[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42577[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42578[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42578[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42579[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42579[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42580[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42581[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42581[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42582[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42582[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42583[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42584[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42584[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42585[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42585[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42586[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42586[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:51:49.42587[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42588[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42588[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42589[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:51:49.42589[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42590[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42590[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.42591[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42592[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42592[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42593[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:51:49.42594[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 23:51:49.42595[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42595[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bosan
)

 
-----------------------
02-11-2025 23:51:49.42596[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42596[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bosan' 
-----------------------
02-11-2025 23:51:49.42597[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bosan' 
-----------------------
02-11-2025 23:51:49.42597[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bosan' 
-----------------------
02-11-2025 23:51:49.42598[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOSAN' 
-----------------------
02-11-2025 23:51:49.42599[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOSAN' 
-----------------------
02-11-2025 23:51:49.42599[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42600[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 23:51:49.42601[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42601[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bosan
)

 
-----------------------
02-11-2025 23:51:49.42602[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42602[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bosan' 
-----------------------
02-11-2025 23:51:49.42603[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bosan' 
-----------------------
02-11-2025 23:51:49.42603[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bosan' 
-----------------------
02-11-2025 23:51:49.42604[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOSAN' 
-----------------------
02-11-2025 23:51:49.42604[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOSAN' 
-----------------------
02-11-2025 23:51:49.42605[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42606[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42607[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku
)

 
-----------------------
02-11-2025 23:51:49.42607[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42608[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku' 
-----------------------
02-11-2025 23:51:49.42608[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku' 
-----------------------
02-11-2025 23:51:49.42609[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku' 
-----------------------
02-11-2025 23:51:49.42611[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU' 
-----------------------
02-11-2025 23:51:49.42611[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU' 
-----------------------
02-11-2025 23:51:49.42612[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42612[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42613[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosan
)

 
-----------------------
02-11-2025 23:51:49.42613[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42614[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosan' 
-----------------------
02-11-2025 23:51:49.42615[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosan' 
-----------------------
02-11-2025 23:51:49.42615[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosan' 
-----------------------
02-11-2025 23:51:49.42616[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:51:49.42617[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:51:49.42617[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42618[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42618[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:51:49.42619[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42619[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:51:49.42620[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:51:49.42620[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:51:49.42621[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:51:49.42621[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:51:49.42622[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42623[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42623[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:51:49.42624[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42624[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:51:49.42625[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:51:49.42625[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:51:49.42626[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:51:49.42626[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:51:49.42627[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42628[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42629[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => gabut
)

 
-----------------------
02-11-2025 23:51:49.42630[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42630[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'gabut' 
-----------------------
02-11-2025 23:51:49.42631[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'gabut' 
-----------------------
02-11-2025 23:51:49.42632[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'gabut' 
-----------------------
02-11-2025 23:51:49.42633[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:51:49.42633[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
02-11-2025 23:51:49.42634[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42634[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42635[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => GABUT
)

 
-----------------------
02-11-2025 23:51:49.42635[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42636[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'GABUT' 
-----------------------
02-11-2025 23:51:49.42636[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GABUT' 
-----------------------
02-11-2025 23:51:49.42637[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
02-11-2025 23:51:49.42637[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:51:49.42638[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
02-11-2025 23:51:49.42638[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42639[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42640[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSEN
)

 
-----------------------
02-11-2025 23:51:49.42640[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42641[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSEN' 
-----------------------
02-11-2025 23:51:49.42641[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSEN' 
-----------------------
02-11-2025 23:51:49.42642[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN' 
-----------------------
02-11-2025 23:51:49.42642[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
02-11-2025 23:51:49.42643[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
02-11-2025 23:51:49.42643[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42644[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.42644[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSAN
)

 
-----------------------
02-11-2025 23:51:49.42645[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.42645[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSAN' 
-----------------------
02-11-2025 23:51:49.42646[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSAN' 
-----------------------
02-11-2025 23:51:49.42646[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:51:49.42647[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:51:49.42649[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:51:49.42649[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42700[2][4] - Elapsed time: 0.507 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 23:51:49.42701[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
02-11-2025 23:51:49.42723[4][4] - Elapsed time: 0.213 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 23:51:49.42724[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 23:51:49.42725[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 23:51:49.42725[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO: raw say = halo 
-----------------------
02-11-2025 23:51:49.42726[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 23:51:49.42726[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [user_say] array 
-----------------------
02-11-2025 23:51:49.42727[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 23:51:49.42728[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = halo, RAW say = halo 
-----------------------
02-11-2025 23:51:49.42729[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'halo' to the front of the [input] array 
-----------------------
02-11-2025 23:51:49.42730[4][4] - Elapsed time: 0.010 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 23:51:49.42731[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO' 
-----------------------
02-11-2025 23:51:49.42732[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:51:49.42733[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 23:51:49.42754[4][4] - Elapsed time: 0.216 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 23:51:49.42756[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:51:49.42796[2][4] - Elapsed time: 0.404 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 23:51:49.42797[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 23:51:49.42798[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 23:51:49.42817[4][4] - Elapsed time: 0.193 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 23:51:49.42819[3][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:51:49.42866[3][4] - Elapsed time: 0.477 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 23:51:49.42867[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
02-11-2025 23:51:49.42888[1][4] - Elapsed time: 0.203 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG 
-----------------------
02-11-2025 23:51:49.42889[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
02-11-2025 23:51:49.42889[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO' 
-----------------------
02-11-2025 23:51:49.42897[4][4] - Elapsed time: 0.076 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
02-11-2025 23:51:49.42898[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:51:49.42919[4][4] - Elapsed time: 0.213 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 644
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <random>
      <li>Halo juga! Siapa namamu?</li>
      <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li>
      <li>Heyy! Lagi santai atau sibuk nih?</li>
    </random>
            [score] => 260
            [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 644
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

    [1] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
02-11-2025 23:51:49.42921[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 644
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <random>
      <li>Halo juga! Siapa namamu?</li>
      <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li>
      <li>Heyy! Lagi santai atau sibuk nih?</li>
    </random>
            [score] => 260
            [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 644
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

)

 
-----------------------
02-11-2025 23:51:49.42951[4][4] - Elapsed time: 0.303 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 644
    [bot_id] => 1
    [pattern] => HALO
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => <random>
      <li>Halo juga! Siapa namamu?</li>
      <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li>
      <li>Heyy! Lagi santai atau sibuk nih?</li>
    </random>
    [score] => 260
    [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
    [aiml_id] => 644
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
)
 
-----------------------
02-11-2025 23:51:49.42952[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:51:49.42953[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:644 (HALO) 
-----------------------
02-11-2025 23:51:49.42954[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 23:51:49.42955[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HALO' 
-----------------------
02-11-2025 23:51:49.42955[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:51:49.42956[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:51:49.42957[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 644
    [category_id] => 644
    [html_template] => 
    [lookingfor] => HALO
    [pattern] => HALO
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <random>
      <li>Halo juga! Siapa namamu?</li>
      <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li>
      <li>Heyy! Lagi santai atau sibuk nih?</li>
    </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

    [topic] => 
    [topic_stars] => Array
        (
        )

    [user_raw] => halo
)
 
-----------------------
02-11-2025 23:51:49.42958[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 23:51:49.42959[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
02-11-2025 23:51:49.42965[4][4] - Elapsed time: 0.063 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Halo juga! Siapa namamu?</text></li><li><text>Hai, kenalan dulu yuk! Siapa nama kamu?</text></li><li><text>Heyy! Lagi santai atau sibuk nih?</text></li></random></template> 
-----------------------
02-11-2025 23:51:49.42980[2][4] - Elapsed time: 0.147 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:51:49.42984[4][4] - Elapsed time: 0.045 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Halo juga! Siapa namamu?</text></li><li><text>Hai, kenalan dulu yuk! Siapa nama kamu?</text></li><li><text>Heyy! Lagi santai atau sibuk nih?</text></li></random></template>
 
-----------------------
02-11-2025 23:51:49.42985[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 23:51:49.42987[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:51:49.42989[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Halo juga! Siapa namamu?</text></li><li><text>Hai, kenalan dulu yuk! Siapa nama kamu?</text></li><li><text>Heyy! Lagi santai atau sibuk nih?</text></li></random> 
-----------------------
02-11-2025 23:51:49.42990[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
02-11-2025 23:51:49.42991[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
02-11-2025 23:51:49.42991[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
02-11-2025 23:51:49.42997[4][4] - Elapsed time: 0.055 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Halo juga! Siapa namamu?
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Hai, kenalan dulu yuk! Siapa nama kamu?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Heyy! Lagi santai atau sibuk nih?
        )

)
 
-----------------------
02-11-2025 23:51:49.42998[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #0 from random tag.
 
-----------------------
02-11-2025 23:51:49.42998[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:51:49.42999[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Halo juga! Siapa namamu?</text></li> 
-----------------------
02-11-2025 23:51:49.43000[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 23:51:49.43000[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:51:49.43001[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Halo juga! Siapa namamu?</text> 
-----------------------
02-11-2025 23:51:49.43002[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 23:51:49.43002[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 23:51:49.43003[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 23:51:49.43004[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo juga! Siapa namamu?' to the response array. tag name is text 
-----------------------
02-11-2025 23:51:49.43004[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.43005[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga! Siapa namamu?
)

 
-----------------------
02-11-2025 23:51:49.43005[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.43006[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo juga! Siapa namamu?' 
-----------------------
02-11-2025 23:51:49.43006[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo juga! Siapa namamu?' to the response array. tag name is li. 
-----------------------
02-11-2025 23:51:49.43007[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.43008[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga! Siapa namamu?
)

 
-----------------------
02-11-2025 23:51:49.43008[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.43009[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo juga! Siapa namamu?' 
-----------------------
02-11-2025 23:51:49.43009[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Halo juga! Siapa namamu?' for output. 
-----------------------
02-11-2025 23:51:49.43010[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo juga! Siapa namamu?' to the response array. tag name is random 
-----------------------
02-11-2025 23:51:49.43010[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.43011[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga! Siapa namamu?
)

 
-----------------------
02-11-2025 23:51:49.43011[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.43012[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo juga! Siapa namamu?' 
-----------------------
02-11-2025 23:51:49.43012[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo juga! Siapa namamu?' to the response array. tag name is template. 
-----------------------
02-11-2025 23:51:49.43014[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:51:49.43014[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga! Siapa namamu?
)

 
-----------------------
02-11-2025 23:51:49.43015[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:51:49.43015[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo juga! Siapa namamu?' 
-----------------------
02-11-2025 23:51:49.43016[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Halo juga! Siapa namamu? 
-----------------------
02-11-2025 23:51:49.43017[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 23:51:49.43017[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 23:51:49.43018[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo juga! Siapa namamu?' to the front of the [that_raw] array 
-----------------------
02-11-2025 23:51:49.43019[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 23:51:49.43021[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo juga! Siapa namamu?' to the front of the [that] array 
-----------------------
02-11-2025 23:51:49.43022[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo juga!' 
-----------------------
02-11-2025 23:51:49.43022[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo juga!' 
-----------------------
02-11-2025 23:51:49.43023[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA' 
-----------------------
02-11-2025 23:51:49.43024[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA' 
-----------------------
02-11-2025 23:51:49.43024[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa namamu?' 
-----------------------
02-11-2025 23:51:49.43025[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa namamu?' 
-----------------------
02-11-2025 23:51:49.43025[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAMU' 
-----------------------
02-11-2025 23:51:49.43026[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAMU' 
-----------------------
02-11-2025 23:51:49.43027[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo juga! Siapa namamu?' to the front of the [parsed_template] array 
-----------------------
02-11-2025 23:51:49.43027[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 23:51:49.43028[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
      <li>Halo juga! Siapa namamu?</li>
      <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li>
      <li>Heyy! Lagi santai atau sibuk nih?</li>
    </random>' to the front of the [template] array 
-----------------------
02-11-2025 23:51:49.43030[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 23:51:49.43031[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 23:51:49.43032[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'halo',
      'Halo juga! Siapa namamu?',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 23:51:49.43162[4][4] - Elapsed time: 1.299 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 23:51:49.43180[3][4] - Elapsed time: 0.177 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
02-11-2025 23:51:49.43203[2][4] - Elapsed time: 0.231 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 23:51:49.43204[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 23:51:49.43205[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 23:51:49.43208[4][4] - Elapsed time: 0.029 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"halo","botsay":"Halo juga! Siapa namamu?","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"644","bot_id":"1","pattern":"HALO","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<random>\n      <li>Halo juga! Siapa namamu?<\/li>\n      <li>Hai, kenalan dulu yuk! Siapa nama kamu?<\/li>\n      <li>Heyy! Lagi santai atau sibuk nih?<\/li>\n    <\/random>","score":260,"current_that":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"644","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)"}}} 
-----------------------
02-11-2025 23:51:49.43250[2][4] - Elapsed time: 0.425 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 23:51:49.43253[0][4] - Elapsed time: 0.034 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 18.205 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => halo
    [conversation] => Array
        (
            [convo_id] => fe0256208a21d68d5f91d5930b2305c4
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 1
            [totallines] => 1
            [rawSay] => halo
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 644
                    [bot_id] => 1
                    [pattern] => HALO
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai1.aiml
                    [template] => <random>
      <li>Halo juga! Siapa namamu?</li>
      <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li>
      <li>Heyy! Lagi santai atau sibuk nih?</li>
    </random>
                    [score] => 260
                    [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
                    [aiml_id] => 644
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => halo
            [lookingfor] => HALO
            [category_id] => 644
            [pattern] => HALO
            [thatpattern] => 
            [template] => <random>
      <li>Halo juga! Siapa namamu?</li>
      <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li>
      <li>Heyy! Lagi santai atau sibuk nih?</li>
    </random>
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 644
            [stars] => Array
                (
                )

            [that_stars] => Array
                (
                    [1] => 
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Halo juga! Siapa namamu?
        )

    [client_properties] => Array
        (
            [ip_address] => 114.10.16.60
            [name] => Seeker
            [username] => riski
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [2] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [3] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [4] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [5] => Array
                (
                    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
                )

            [6] => Array
                (
                    [0] => Heyy! Lama gak ngobrol nih????
                )

            [7] => Array
                (
                    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
                )

            [8] => Array
                (
                    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
                )

            [9] => Array
                (
                    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
                )

            [10] => Array
                (
                    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => SIAPA NAMAMU
                    [2] => HALO JUGA
                )

            [2] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [3] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [4] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [5] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [6] => Array
                (
                    [1] => HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG
                )

            [7] => Array
                (
                    [1] => HEYY LAMA GAK NGOBROL NIH
                )

            [8] => Array
                (
                    [1] => HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG
                )

            [9] => Array
                (
                    [1] => HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG
                )

            [10] => Array
                (
                    [1] => HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => halo
            [2] => AKU BOSAN
            [3] => AKU BOSEN
            [4] => GABUT
            [5] => GABUT
            [6] => NAMAKU RISKI
            [7] => HALO
            [8] => AKU BOSAN
            [9] => AKU
            [10] => BOSAN
        )

    [time_start] => 1762102309.4143
    [user_say] => Array
        (
            [1] => HALO
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Siapa namamu?
                    [3] => Halo juga!
                )

            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [parsed_template] => Array
        (
            [1] => Halo juga! Siapa namamu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Halo juga! Siapa namamu?</li> <li>Hai, kenalan dulu yuk! Siapa nama kamu?</li> <li>Heyy! Lagi santai atau sibuk nih?</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"halo","botsay":"Halo juga! Siapa namamu?","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"644","bot_id":"1","pattern":"HALO","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<random>\n      <li>Halo juga! Siapa namamu?<\/li>\n      <li>Hai, kenalan dulu yuk! Siapa nama kamu?<\/li>\n      <li>Heyy! Lagi santai atau sibuk nih?<\/li>\n    <\/random>","score":260,"current_that":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"644","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)"}}}
)

-----------------------
Total execution time: 18.205 Milliseconds. Goodbye.