10-11-2025 15:47:37.02129[0][4] - Elapsed time: 4.787 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 
-----------------------
10-11-2025 15:47:37.02160[4][4] - Elapsed time: 0.309 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 15:47:37.02185[4][4] - Elapsed time: 0.251 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 15:47:37.02196[4][4] - Elapsed time: 0.111 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 15:47:37.02244[4][4] - Elapsed time: 0.479 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 15:47:37.02245[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 15:47:37.02258[0][4] - Elapsed time: 0.127 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 84243f0a003e7e94f0514686e027e2da 
-----------------------
10-11-2025 15:47:37.02259[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'kenalkan nama saya dannu'. 
-----------------------
10-11-2025 15:47:37.02260[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 15:47:37.02261[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 15:47:37.02262[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
10-11-2025 15:47:37.02302[1][4] - Elapsed time: 0.397 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 84243f0a003e7e94f0514686e027e2da 
-----------------------
10-11-2025 15:47:37.02303[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-11-2025 15:47:37.02304[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
10-11-2025 15:47:37.02345[2][4] - Elapsed time: 0.414 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 15:47:37.02347[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
10-11-2025 15:47:37.02382[2][4] - Elapsed time: 0.352 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
10-11-2025 15:47:37.02409[3][4] - Elapsed time: 0.268 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #103 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '84243f0a003e7e94f0514686e027e2da'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
10-11-2025 15:47:37.02439[3][4] - Elapsed time: 0.300 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 103 AND `bot_id` = 1; 
-----------------------
10-11-2025 15:47:37.02464[2][4] - Elapsed time: 0.247 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 15:47:37.02471[2][4] - Elapsed time: 0.070 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kenalkan. 
-----------------------
10-11-2025 15:47:37.02472[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 15:47:37.02524[2][4] - Elapsed time: 0.520 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 15:47:37.02526[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
10-11-2025 15:47:37.02528[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 15:47:37.02529[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
10-11-2025 15:47:37.02531[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 15:47:37.02532[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on dannu. 
-----------------------
10-11-2025 15:47:37.02533[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kenalkan nama saya dannu' 
-----------------------
10-11-2025 15:47:37.02548[4][4] - Elapsed time: 0.150 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 15:47:37.02550[2][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: KENALKAN NAMA SAYA DANNU
Convo id: 84243f0a003e7e94f0514686e027e2da
Bot id: 1
Format:  
-----------------------
10-11-2025 15:47:37.02550[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 15:47:37.02551[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 15:47:37.02552[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 103 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 15:47:37.02639[4][4] - Elapsed time: 0.868 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
10-11-2025 15:47:37.02688[2][4] - Elapsed time: 0.494 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 15:47:37.02689[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
10-11-2025 15:47:37.02711[4][4] - Elapsed time: 0.211 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 15:47:37.02712[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 15:47:37.02712[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 15:47:37.02713[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = KENALKAN NAMA SAYA DANNU: raw say = kenalkan nama saya dannu 
-----------------------
10-11-2025 15:47:37.02714[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 15:47:37.02714[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENALKAN NAMA SAYA DANNU' to the front of the [user_say] array 
-----------------------
10-11-2025 15:47:37.02717[4][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 15:47:37.02719[0][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = kenalkan nama saya dannu, RAW say = kenalkan nama saya dannu 
-----------------------
10-11-2025 15:47:37.02719[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'kenalkan nama saya dannu' to the front of the [input] array 
-----------------------
10-11-2025 15:47:37.02720[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 15:47:37.02721[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 15:47:37.02722[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 15:47:37.02723[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 15:47:37.02724[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 
-----------------------
10-11-2025 15:47:37.02753[4][4] - Elapsed time: 0.289 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 15:47:37.02755[3][4] - Elapsed time: 0.025 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '84243f0a003e7e94f0514686e027e2da'
    AND (
        'KENALKAN NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 15:47:37.02788[2][4] - Elapsed time: 0.331 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 15:47:37.02789[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-11-2025 15:47:37.02790[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-11-2025 15:47:37.02813[4][4] - Elapsed time: 0.228 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 15:47:37.02814[3][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'KENALKAN NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 15:47:37.02846[3][4] - Elapsed time: 0.315 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 15:47:37.02847[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
10-11-2025 15:47:37.02872[4][4] - Elapsed time: 0.251 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
10-11-2025 15:47:37.02873[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 15:47:37.02888[4][4] - Elapsed time: 0.147 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 15:47:37.02890[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 15:47:37.02923[4][4] - Elapsed time: 0.331 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1119
            [bot_id] => 1
            [pattern] => KENALKAN NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
            [score] => 258
            [current_that] => 
            [aiml_id] => 1119
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

    [1] => Array
        (
            [id] => 1093
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => 
            [aiml_id] => 1093
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
10-11-2025 15:47:37.02925[2][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1119
            [bot_id] => 1
            [pattern] => KENALKAN NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
            [score] => 258
            [current_that] => 
            [aiml_id] => 1119
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

)

 
-----------------------
10-11-2025 15:47:37.02954[4][4] - Elapsed time: 0.284 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1119
    [bot_id] => 1
    [pattern] => KENALKAN NAMA SAYA *
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
    [score] => 258
    [current_that] => 
    [aiml_id] => 1119
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
)
 
-----------------------
10-11-2025 15:47:37.02954[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
10-11-2025 15:47:37.02956[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1119 (KENALKAN NAMA SAYA *) 
-----------------------
10-11-2025 15:47:37.02957[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-11-2025 15:47:37.02957[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'KENALKAN NAMA SAYA *' 
-----------------------
10-11-2025 15:47:37.02958[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
10-11-2025 15:47:37.02958[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~KENALKAN NAMA SAYA (.+)$~siuU: Searching kenalkan nama saya dannu for a match. 
-----------------------
10-11-2025 15:47:37.02963[2][4] - Elapsed time: 0.051 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => kenalkan nama saya dannu
        )

    [1] => Array
        (
            [0] => dannu
        )

)
 
-----------------------
10-11-2025 15:47:37.02964[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'dannu' to the stars stack. 
-----------------------
10-11-2025 15:47:37.02965[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => dannu
)
 
-----------------------
10-11-2025 15:47:37.02966[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 15:47:37.02966[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 15:47:37.02967[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1119
    [category_id] => 1119
    [html_template] => 
    [lookingfor] => KENALKAN NAMA SAYA DANNU
    [pattern] => KENALKAN NAMA SAYA *
    [score] => 258
    [stars] => Array
        (
            [1] => dannu
        )

    [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => kenalkan nama saya dannu
)
 
-----------------------
10-11-2025 15:47:37.02968[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-11-2025 15:47:37.02969[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
10-11-2025 15:47:37.02974[4][4] - Elapsed time: 0.048 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Salam kenal, </text><star/><text>!Terima kasih sudah memperkenalkan diri. </text><think><set name="nama"><star/></set></think></template> 
-----------------------
10-11-2025 15:47:37.02987[2][4] - Elapsed time: 0.136 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:47:37.02993[4][4] - Elapsed time: 0.056 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Salam kenal, </text><star/><text>!Terima kasih sudah memperkenalkan diri. </text><think><set name="nama"><star/></set></think></template>
 
-----------------------
10-11-2025 15:47:37.02994[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
10-11-2025 15:47:37.02995[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:47:37.02997[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Salam kenal, </text> 
-----------------------
10-11-2025 15:47:37.02998[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 15:47:37.02998[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
10-11-2025 15:47:37.02999[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 15:47:37.02999[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Salam kenal, ' to the response array. tag name is text 
-----------------------
10-11-2025 15:47:37.03000[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03001[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Salam kenal, 
)

 
-----------------------
10-11-2025 15:47:37.03001[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03002[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Salam kenal, ' 
-----------------------
10-11-2025 15:47:37.03003[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Salam kenal, ' to the response array. tag name is template. 
-----------------------
10-11-2025 15:47:37.03003[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:47:37.03004[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 1. element XML = <star/> 
-----------------------
10-11-2025 15:47:37.03005[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
10-11-2025 15:47:37.03006[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
10-11-2025 15:47:37.03006[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 15:47:37.03007[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 1. element = <star/> 
-----------------------
10-11-2025 15:47:37.03008[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => kenalkan nama saya dannu
    [lookingfor] => KENALKAN NAMA SAYA DANNU
    [category_id] => 1119
    [pattern] => KENALKAN NAMA SAYA *
    [thatpattern] => 
    [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
    [html_template] => 
    [topic] => 
    [score] => 258
    [aiml_id] => 1119
    [stars] => Array
        (
            [1] => dannu
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
10-11-2025 15:47:37.03008[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
10-11-2025 15:47:37.03009[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'dannu' to the response array. 
-----------------------
10-11-2025 15:47:37.03010[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = dannu 
-----------------------
10-11-2025 15:47:37.03010[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03011[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 15:47:37.03011[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03012[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 15:47:37.03012[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is star 
-----------------------
10-11-2025 15:47:37.03013[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03013[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 15:47:37.03014[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03014[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 15:47:37.03015[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'dannu' to the response array. tag name is template. 
-----------------------
10-11-2025 15:47:37.03016[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:47:37.03016[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>!Terima kasih sudah memperkenalkan diri. </text> 
-----------------------
10-11-2025 15:47:37.03017[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 15:47:37.03017[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
10-11-2025 15:47:37.03018[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 15:47:37.03019[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '!Terima kasih sudah memperkenalkan diri. ' to the response array. tag name is text 
-----------------------
10-11-2025 15:47:37.03019[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03020[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => !Terima kasih sudah memperkenalkan diri. 
)

 
-----------------------
10-11-2025 15:47:37.03020[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03021[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '!Terima kasih sudah memperkenalkan diri. ' 
-----------------------
10-11-2025 15:47:37.03021[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '!Terima kasih sudah memperkenalkan diri. ' to the response array. tag name is template. 
-----------------------
10-11-2025 15:47:37.03023[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:47:37.03025[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="nama"><star/></set></think> 
-----------------------
10-11-2025 15:47:37.03026[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
10-11-2025 15:47:37.03026[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
10-11-2025 15:47:37.03027[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
10-11-2025 15:47:37.03027[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
10-11-2025 15:47:37.03028[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:47:37.03029[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="nama"><star/></set> 
-----------------------
10-11-2025 15:47:37.03030[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
10-11-2025 15:47:37.03030[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
10-11-2025 15:47:37.03031[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
10-11-2025 15:47:37.03031[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
10-11-2025 15:47:37.03032[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:47:37.03032[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 3. element XML = <star/> 
-----------------------
10-11-2025 15:47:37.03033[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
10-11-2025 15:47:37.03033[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
10-11-2025 15:47:37.03034[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 15:47:37.03035[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 3. element = <star/> 
-----------------------
10-11-2025 15:47:37.03035[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => kenalkan nama saya dannu
    [lookingfor] => KENALKAN NAMA SAYA DANNU
    [category_id] => 1119
    [pattern] => KENALKAN NAMA SAYA *
    [thatpattern] => 
    [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
    [html_template] => 
    [topic] => 
    [score] => 258
    [aiml_id] => 1119
    [stars] => Array
        (
            [1] => dannu
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
10-11-2025 15:47:37.03036[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
10-11-2025 15:47:37.03036[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'dannu' to the response array. 
-----------------------
10-11-2025 15:47:37.03037[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = dannu 
-----------------------
10-11-2025 15:47:37.03038[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03038[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 15:47:37.03039[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03039[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 15:47:37.03040[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is star 
-----------------------
10-11-2025 15:47:37.03040[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03041[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => dannu
        )

)

 
-----------------------
10-11-2025 15:47:37.03041[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03042[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03042[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 15:47:37.03043[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03043[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 15:47:37.03045[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'nama' to the client properties array. Value is 'dannu' 
-----------------------
10-11-2025 15:47:37.03045[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [nama] => dannu
)
 
-----------------------
10-11-2025 15:47:37.03069[2][4] - Elapsed time: 0.243 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
10-11-2025 15:47:37.03086[4][4] - Elapsed time: 0.170 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is set 
-----------------------
10-11-2025 15:47:37.03087[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03088[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => dannu
        )

)

 
-----------------------
10-11-2025 15:47:37.03088[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03089[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03090[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 15:47:37.03090[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03091[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 15:47:37.03091[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
10-11-2025 15:47:37.03092[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03092[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
10-11-2025 15:47:37.03093[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03094[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
10-11-2025 15:47:37.03094[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
10-11-2025 15:47:37.03095[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:47:37.03095[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Salam kenal, 
    [1] => dannu
    [2] => !Terima kasih sudah memperkenalkan diri. 
    [3] => 
)

 
-----------------------
10-11-2025 15:47:37.03096[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 15:47:37.03096[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Salam kenal, dannu !Terima kasih sudah memperkenalkan diri. ' 
-----------------------
10-11-2025 15:47:37.03097[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Salam kenal, dannu !Terima kasih sudah memperkenalkan diri. 
-----------------------
10-11-2025 15:47:37.03098[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 15:47:37.03099[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
10-11-2025 15:47:37.03099[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.' to the front of the [that_raw] array 
-----------------------
10-11-2025 15:47:37.03100[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 15:47:37.03108[2][4] - Elapsed time: 0.079 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.' to the front of the [that] array 
-----------------------
10-11-2025 15:47:37.03109[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 15:47:37.03110[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Salam kenal, dannu !' 
-----------------------
10-11-2025 15:47:37.03111[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Salam kenal, dannu !' 
-----------------------
10-11-2025 15:47:37.03112[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SALAM KENAL DANNU' 
-----------------------
10-11-2025 15:47:37.03113[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SALAM KENAL DANNU' 
-----------------------
10-11-2025 15:47:37.03113[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Terima kasih sudah memperkenalkan diri.' 
-----------------------
10-11-2025 15:47:37.03114[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Terima kasih sudah memperkenalkan diri.' 
-----------------------
10-11-2025 15:47:37.03115[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TERIMA KASIH SUDAH MEMPERKENALKAN DIRI' 
-----------------------
10-11-2025 15:47:37.03115[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TERIMA KASIH SUDAH MEMPERKENALKAN DIRI' 
-----------------------
10-11-2025 15:47:37.03116[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.' to the front of the [parsed_template] array 
-----------------------
10-11-2025 15:47:37.03117[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 15:47:37.03117[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>' to the front of the [template] array 
-----------------------
10-11-2025 15:47:37.03118[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 15:47:37.03119[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 15:47:37.03120[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'kenalkan nama saya dannu',
      'Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.',
      103,
      '84243f0a003e7e94f0514686e027e2da',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 15:47:37.03372[4][4] - Elapsed time: 2.512 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 15:47:37.03390[3][4] - Elapsed time: 0.182 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
10-11-2025 15:47:37.03413[2][4] - Elapsed time: 0.228 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 15:47:37.03414[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 15:47:37.03414[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 15:47:37.03417[4][4] - Elapsed time: 0.027 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"84243f0a003e7e94f0514686e027e2da","usersay":"kenalkan nama saya dannu","botsay":"Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.","botData":{"convo_id":"84243f0a003e7e94f0514686e027e2da","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"103","totallines":1,"user_name":"Seeker","rawSay":"kenalkan nama saya dannu","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"1119","bot_id":"1","pattern":"KENALKAN NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"Salam kenal, <star\/>!\nTerima kasih sudah memperkenalkan diri. <think><set name=\"nama\"><star\/><\/set><\/think>","score":258,"current_that":"","aiml_id":"1119","track_score":"current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}} 
-----------------------
10-11-2025 15:47:37.03453[2][4] - Elapsed time: 0.357 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 15:47:37.03456[0][4] - Elapsed time: 0.035 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 18.034 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => kenalkan nama saya dannu
    [conversation] => Array
        (
            [convo_id] => 84243f0a003e7e94f0514686e027e2da
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 103
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => kenalkan nama saya dannu
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 1119
                    [bot_id] => 1
                    [pattern] => KENALKAN NAMA SAYA *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
                    [score] => 258
                    [current_that] => 
                    [aiml_id] => 1119
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => kenalkan nama saya dannu
            [lookingfor] => KENALKAN NAMA SAYA DANNU
            [category_id] => 1119
            [pattern] => KENALKAN NAMA SAYA *
            [thatpattern] => 
            [template] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
            [html_template] => 
            [topic] => 
            [score] => 258
            [aiml_id] => 1119
            [stars] => Array
                (
                    [1] => dannu
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.
        )

    [client_properties] => Array
        (
            [ip_address] => 202.10.43.135
            [name] => Seeker
            [nama] => dannu
        )

    [time_start] => 1762764457.0165
    [user_say] => Array
        (
            [1] => KENALKAN NAMA SAYA DANNU
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => kenalkan nama saya dannu
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Terima kasih sudah memperkenalkan diri.
                    [3] => Salam kenal, dannu !
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => TERIMA KASIH SUDAH MEMPERKENALKAN DIRI
                    [2] => SALAM KENAL DANNU
                )

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

    [parsed_template] => Array
        (
            [1] => Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Salam kenal, <star/>!
Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"84243f0a003e7e94f0514686e027e2da","usersay":"kenalkan nama saya dannu","botsay":"Salam kenal, dannu !Terima kasih sudah memperkenalkan diri.","botData":{"convo_id":"84243f0a003e7e94f0514686e027e2da","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"103","totallines":1,"user_name":"Seeker","rawSay":"kenalkan nama saya dannu","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"1119","bot_id":"1","pattern":"KENALKAN NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"Salam kenal, <star\/>!\nTerima kasih sudah memperkenalkan diri. <think><set name=\"nama\"><star\/><\/set><\/think>","score":258,"current_that":"","aiml_id":"1119","track_score":"current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}}
)

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