10-11-2025 14:45:45.01888[0][4] - Elapsed time: 4.967 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 14:45:45.01913[4][4] - Elapsed time: 0.248 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 14:45:45.01934[4][4] - Elapsed time: 0.208 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 14:45:45.01943[4][4] - Elapsed time: 0.095 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 14:45:45.01981[4][4] - Elapsed time: 0.377 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 14:45:45.01982[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 14:45:45.01996[0][4] - Elapsed time: 0.134 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = c651fd61eed89399b4c40df9958f03cd 
-----------------------
10-11-2025 14:45:45.01997[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'kamu ingat nama saya'. 
-----------------------
10-11-2025 14:45:45.01998[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 14:45:45.01999[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 14:45:45.02000[3][4] - Elapsed time: 0.009 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 14:45:45.02031[1][4] - Elapsed time: 0.310 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: c651fd61eed89399b4c40df9958f03cd 
-----------------------
10-11-2025 14:45:45.02032[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-11-2025 14:45:45.02033[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 14:45:45.02067[2][4] - Elapsed time: 0.338 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 14:45:45.02068[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
10-11-2025 14:45:45.02098[2][4] - Elapsed time: 0.299 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
10-11-2025 14:45:45.02132[3][4] - Elapsed time: 0.335 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #85 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'c651fd61eed89399b4c40df9958f03cd'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
10-11-2025 14:45:45.02156[3][4] - Elapsed time: 0.245 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` = 85 AND `bot_id` = 1; 
-----------------------
10-11-2025 14:45:45.02189[2][4] - Elapsed time: 0.327 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 14:45:45.02195[2][4] - Elapsed time: 0.063 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kamu. 
-----------------------
10-11-2025 14:45:45.02196[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 14:45:45.02246[2][4] - Elapsed time: 0.501 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:45:45.02249[2][4] - Elapsed time: 0.028 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ingat. 
-----------------------
10-11-2025 14:45:45.02252[2][4] - Elapsed time: 0.028 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:45:45.02254[2][4] - Elapsed time: 0.020 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
10-11-2025 14:45:45.02257[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:45:45.02259[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
10-11-2025 14:45:45.02262[4][4] - Elapsed time: 0.029 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu ingat nama saya' 
-----------------------
10-11-2025 14:45:45.02280[4][4] - Elapsed time: 0.182 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU INGAT NAMA SAYA' 
-----------------------
10-11-2025 14:45:45.02282[2][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: KAMU INGAT NAMA SAYA
Convo id: c651fd61eed89399b4c40df9958f03cd
Bot id: 1
Format:  
-----------------------
10-11-2025 14:45:45.02283[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 14:45:45.02283[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 14:45:45.02284[3][4] - Elapsed time: 0.010 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` = 85 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 14:45:45.02389[4][4] - Elapsed time: 1.044 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
10-11-2025 14:45:45.02456[2][4] - Elapsed time: 0.672 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 14:45:45.02458[3][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
10-11-2025 14:45:45.02490[4][4] - Elapsed time: 0.321 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 14:45:45.02493[0][4] - Elapsed time: 0.026 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 14:45:45.02494[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 14:45:45.02495[0][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][235]
Say = KAMU INGAT NAMA SAYA: raw say = kamu ingat nama saya 
-----------------------
10-11-2025 14:45:45.02497[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 14:45:45.02498[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU INGAT NAMA SAYA' to the front of the [user_say] array 
-----------------------
10-11-2025 14:45:45.02503[4][4] - Elapsed time: 0.052 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 14:45:45.02505[0][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = kamu ingat nama saya, RAW say = kamu ingat nama saya 
-----------------------
10-11-2025 14:45:45.02505[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'kamu ingat nama saya' to the front of the [input] array 
-----------------------
10-11-2025 14:45:45.02506[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 14:45:45.02507[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 14:45:45.02508[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KAMU INGAT NAMA SAYA' 
-----------------------
10-11-2025 14:45:45.02509[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU INGAT NAMA SAYA' 
-----------------------
10-11-2025 14:45:45.02510[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
10-11-2025 14:45:45.02553[4][4] - Elapsed time: 0.429 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 14:45:45.02556[3][4] - Elapsed time: 0.032 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` = 'c651fd61eed89399b4c40df9958f03cd'
    AND (
        'KAMU INGAT NAMA SAYA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:45:45.02590[2][4] - Elapsed time: 0.334 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 14:45:45.02592[4][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-11-2025 14:45:45.02593[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-11-2025 14:45:45.02631[4][4] - Elapsed time: 0.385 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 14:45:45.02634[3][4] - Elapsed time: 0.031 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 (
        'KAMU INGAT NAMA SAYA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:45:45.02689[3][4] - Elapsed time: 0.547 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 14:45:45.02691[2][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
10-11-2025 14:45:45.02730[4][4] - Elapsed time: 0.393 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
10-11-2025 14:45:45.02732[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'KAMU INGAT NAMA SAYA' 
-----------------------
10-11-2025 14:45:45.02746[4][4] - Elapsed time: 0.139 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 14:45:45.02747[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 14:45:45.02786[4][4] - Elapsed time: 0.389 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 634
            [bot_id] => 1
            [pattern] => KAMU INGAT NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li>
        <li>
          <random>
            <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li>
            <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li>
            <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li>
            <li>Masih ingat kok! <get name="nama"/>, benar kan?</li>
          </random>
        </li>
      </condition>
            [score] => 266
            [current_that] => 
            [aiml_id] => 634
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: kamu (2 points), direct word match: ingat (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
        )

    [1] => Array
        (
            [id] => 773
            [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] => 773
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
10-11-2025 14:45:45.02789[2][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 634
            [bot_id] => 1
            [pattern] => KAMU INGAT NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li>
        <li>
          <random>
            <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li>
            <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li>
            <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li>
            <li>Masih ingat kok! <get name="nama"/>, benar kan?</li>
          </random>
        </li>
      </condition>
            [score] => 266
            [current_that] => 
            [aiml_id] => 634
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: kamu (2 points), direct word match: ingat (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
        )

)

 
-----------------------
10-11-2025 14:45:45.02819[4][4] - Elapsed time: 0.303 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 634
    [bot_id] => 1
    [pattern] => KAMU INGAT NAMA SAYA
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li>
        <li>
          <random>
            <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li>
            <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li>
            <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li>
            <li>Masih ingat kok! <get name="nama"/>, benar kan?</li>
          </random>
        </li>
      </condition>
    [score] => 266
    [current_that] => 
    [aiml_id] => 634
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: kamu (2 points), direct word match: ingat (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
)
 
-----------------------
10-11-2025 14:45:45.02820[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 14:45:45.02821[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:634 (KAMU INGAT NAMA SAYA) 
-----------------------
10-11-2025 14:45:45.02823[3][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-11-2025 14:45:45.02824[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'KAMU INGAT NAMA SAYA' 
-----------------------
10-11-2025 14:45:45.02825[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 14:45:45.02825[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 14:45:45.02826[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 634
    [category_id] => 634
    [html_template] => 
    [lookingfor] => KAMU INGAT NAMA SAYA
    [pattern] => KAMU INGAT NAMA SAYA
    [score] => 266
    [stars] => Array
        (
        )

    [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li>
        <li>
          <random>
            <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li>
            <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li>
            <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li>
            <li>Masih ingat kok! <get name="nama"/>, benar kan?</li>
          </random>
        </li>
      </condition>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => kamu ingat nama saya
)
 
-----------------------
10-11-2025 14:45:45.02827[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-11-2025 14:45:45.02828[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
10-11-2025 14:45:45.02835[4][4] - Elapsed time: 0.074 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><condition name="nama"><li value="undefined"><text>Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</text></li><li><random><li><text>Tentu saya ingat! Nama Anda </text><get name="nama"/><text>. Bagaimana bisa saya lupa?</text></li><li><text>Jelas ingat dong! Anda </text><get name="nama"/><text>. Saya selalu ingat orang yang mengobrol dengan saya.</text></li><li><text>Pasti ingat! Nama Anda </text><get name="nama"/><text>, bukan?</text></li><li><text>Masih ingat kok! </text><get name="nama"/><text>, benar kan?</text></li></random></li></condition></template> 
-----------------------
10-11-2025 14:45:45.02851[2][4] - Elapsed time: 0.150 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:45:45.02858[4][4] - Elapsed time: 0.072 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><condition name="nama"><li value="undefined"><text>Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</text></li><li><random><li><text>Tentu saya ingat! Nama Anda </text><get name="nama"/><text>. Bagaimana bisa saya lupa?</text></li><li><text>Jelas ingat dong! Anda </text><get name="nama"/><text>. Saya selalu ingat orang yang mengobrol dengan saya.</text></li><li><text>Pasti ingat! Nama Anda </text><get name="nama"/><text>, bukan?</text></li><li><text>Masih ingat kok! </text><get name="nama"/><text>, benar kan?</text></li></random></li></condition></template>
 
-----------------------
10-11-2025 14:45:45.02859[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. 
-----------------------
10-11-2025 14:45:45.02861[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:45:45.02864[4][4] - Elapsed time: 0.034 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element condition at level 1. element XML = <condition name="nama"><li value="undefined"><text>Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</text></li><li><random><li><text>Tentu saya ingat! Nama Anda </text><get name="nama"/><text>. Bagaimana bisa saya lupa?</text></li><li><text>Jelas ingat dong! Anda </text><get name="nama"/><text>. Saya selalu ingat orang yang mengobrol dengan saya.</text></li><li><text>Pasti ingat! Nama Anda </text><get name="nama"/><text>, bukan?</text></li><li><text>Masih ingat kok! </text><get name="nama"/><text>, benar kan?</text></li></random></li></condition> 
-----------------------
10-11-2025 14:45:45.02865[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_condition_tag does exist. Processing now. 
-----------------------
10-11-2025 14:45:45.02866[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element condition to the parse_condition_tag function 
-----------------------
10-11-2025 14:45:45.02867[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][809]
Parsing a CONDITION tag. 
-----------------------
10-11-2025 14:45:45.02868[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][818]
Element attributes:Array
(
    [name] => nama
)
 
-----------------------
10-11-2025 14:45:45.02868[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][820]
Element attribute count = 1 
-----------------------
10-11-2025 14:45:45.02869[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][951]
Parsing a CONDITION tag with only the NAME attribute 
-----------------------
10-11-2025 14:45:45.02870[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][964]
Looking for test value 'undefined' 
-----------------------
10-11-2025 14:45:45.02870[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][967]
search string = li[@value]|li[not(@*)] 
-----------------------
10-11-2025 14:45:45.02879[4][4] - Elapsed time: 0.086 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][970]
element = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [name] => nama
        )

    [li] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [value] => undefined
                        )

                    [text] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
                )

            [1] => SimpleXMLElement Object
                (
                    [random] => SimpleXMLElement Object
                        (
                            [li] => Array
                                (
                                    [0] => SimpleXMLElement Object
                                        (
                                            [text] => Array
                                                (
                                                    [0] => Tentu saya ingat! Nama Anda 
                                                    [1] => . Bagaimana bisa saya lupa?
                                                )

                                            [get] => SimpleXMLElement Object
                                                (
                                                    [@attributes] => Array
                                                        (
                                                            [name] => nama
                                                        )

                                                )

                                        )

                                    [1] => SimpleXMLElement Object
                                        (
                                            [text] => Array
                                                (
                                                    [0] => Jelas ingat dong! Anda 
                                                    [1] => . Saya selalu ingat orang yang mengobrol dengan saya.
                                                )

                                            [get] => SimpleXMLElement Object
                                                (
                                                    [@attributes] => Array
                                                        (
                                                            [name] => nama
                                                        )

                                                )

                                        )

                                    [2] => SimpleXMLElement Object
                                        (
                                            [text] => Array
                                                (
                                                    [0] => Pasti ingat! Nama Anda 
                                                    [1] => , bukan?
                                                )

                                            [get] => SimpleXMLElement Object
                                                (
                                                    [@attributes] => Array
                                                        (
                                                            [name] => nama
                                                        )

                                                )

                                        )

                                    [3] => SimpleXMLElement Object
                                        (
                                            [text] => Array
                                                (
                                                    [0] => Masih ingat kok! 
                                                    [1] => , benar kan?
                                                )

                                            [get] => SimpleXMLElement Object
                                                (
                                                    [@attributes] => Array
                                                        (
                                                            [name] => nama
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

)
 
-----------------------
10-11-2025 14:45:45.02881[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][971]
Choices = Array
(
    [0] => SimpleXMLElement Object
        (
            [@attributes] => Array
                (
                    [value] => undefined
                )

            [text] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
        )

    [1] => SimpleXMLElement Object
        (
            [random] => SimpleXMLElement Object
                (
                    [li] => Array
                        (
                            [0] => SimpleXMLElement Object
                                (
                                    [text] => Array
                                        (
                                            [0] => Tentu saya ingat! Nama Anda 
                                            [1] => . Bagaimana bisa saya lupa?
                                        )

                                    [get] => SimpleXMLElement Object
                                        (
                                            [@attributes] => Array
                                                (
                                                    [name] => nama
                                                )

                                        )

                                )

                            [1] => SimpleXMLElement Object
                                (
                                    [text] => Array
                                        (
                                            [0] => Jelas ingat dong! Anda 
                                            [1] => . Saya selalu ingat orang yang mengobrol dengan saya.
                                        )

                                    [get] => SimpleXMLElement Object
                                        (
                                            [@attributes] => Array
                                                (
                                                    [name] => nama
                                                )

                                        )

                                )

                            [2] => SimpleXMLElement Object
                                (
                                    [text] => Array
                                        (
                                            [0] => Pasti ingat! Nama Anda 
                                            [1] => , bukan?
                                        )

                                    [get] => SimpleXMLElement Object
                                        (
                                            [@attributes] => Array
                                                (
                                                    [name] => nama
                                                )

                                        )

                                )

                            [3] => SimpleXMLElement Object
                                (
                                    [text] => Array
                                        (
                                            [0] => Masih ingat kok! 
                                            [1] => , benar kan?
                                        )

                                    [get] => SimpleXMLElement Object
                                        (
                                            [@attributes] => Array
                                                (
                                                    [name] => nama
                                                )

                                        )

                                )

                        )

                )

        )

)
 
-----------------------
10-11-2025 14:45:45.02883[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][976]
parent XML = <condition name="nama"><li value="undefined"><text>Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</text></li><li><random><li><text>Tentu saya ingat! Nama Anda </text><get name="nama"/><text>. Bagaimana bisa saya lupa?</text></li><li><text>Jelas ingat dong! Anda </text><get name="nama"/><text>. Saya selalu ingat orang yang mengobrol dengan saya.</text></li><li><text>Pasti ingat! Nama Anda </text><get name="nama"/><text>, bukan?</text></li><li><text>Masih ingat kok! </text><get name="nama"/><text>, benar kan?</text></li></random></li></condition> 
-----------------------
10-11-2025 14:45:45.02884[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][980]
Current pick = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [value] => undefined
        )

    [text] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
)
 
-----------------------
10-11-2025 14:45:45.02885[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][983]
Current pick attributes = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [value] => undefined
        )

)
 
-----------------------
10-11-2025 14:45:45.02885[4][4] - Elapsed time: 0.007 milliseconds 
[parse_aiml_as_XML.php][parse_condition_tag][986]
Pick Value = 'undefined' 
-----------------------
10-11-2025 14:45:45.02886[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][987]
Checking to see if undefined (Client Property) matches undefined (condition value). 
-----------------------
10-11-2025 14:45:45.02890[4][4] - Elapsed time: 0.041 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][991]
Pick XML = <li value="undefined"><text>Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</text></li> 
-----------------------
10-11-2025 14:45:45.02891[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][995]
Found a match. Pick = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [value] => undefined
        )

    [text] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
)
 
-----------------------
10-11-2025 14:45:45.02892[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:45:45.02893[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</text> 
-----------------------
10-11-2025 14:45:45.02893[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 14:45:45.02894[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 14:45:45.02894[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 14:45:45.02895[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' to the response array. tag name is text 
-----------------------
10-11-2025 14:45:45.02896[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][1023]
Response = Array
(
    [0] => Array
        (
            [0] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
        )

)
 
-----------------------
10-11-2025 14:45:45.02896[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 14:45:45.02897[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
        )

)

 
-----------------------
10-11-2025 14:45:45.02898[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 14:45:45.02898[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 14:45:45.02899[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
)

 
-----------------------
10-11-2025 14:45:45.02899[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 14:45:45.02900[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' 
-----------------------
10-11-2025 14:45:45.02901[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' to the response array. tag name is condition 
-----------------------
10-11-2025 14:45:45.02901[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 14:45:45.02902[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
)

 
-----------------------
10-11-2025 14:45:45.02902[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 14:45:45.02903[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' 
-----------------------
10-11-2025 14:45:45.02903[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' to the response array. tag name is template. 
-----------------------
10-11-2025 14:45:45.02904[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:45:45.02905[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
)

 
-----------------------
10-11-2025 14:45:45.02905[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 14:45:45.02906[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' 
-----------------------
10-11-2025 14:45:45.02907[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: Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri? 
-----------------------
10-11-2025 14:45:45.02908[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 14:45:45.02908[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 14:45:45.02909[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' to the front of the [that_raw] array 
-----------------------
10-11-2025 14:45:45.02910[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 14:45:45.02918[2][4] - Elapsed time: 0.077 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' to the front of the [that] array 
-----------------------
10-11-2025 14:45:45.02919[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 14:45:45.02920[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf, saya belum tahu nama Anda.' 
-----------------------
10-11-2025 14:45:45.02921[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf, saya belum tahu nama Anda.' 
-----------------------
10-11-2025 14:45:45.02924[4][4] - Elapsed time: 0.030 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA BELUM TAHU NAMA ANDA' 
-----------------------
10-11-2025 14:45:45.02924[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA BELUM TAHU NAMA ANDA' 
-----------------------
10-11-2025 14:45:45.02925[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Boleh perkenalkan diri?' 
-----------------------
10-11-2025 14:45:45.02925[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Boleh perkenalkan diri?' 
-----------------------
10-11-2025 14:45:45.02926[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOLEH PERKENALKAN DIRI' 
-----------------------
10-11-2025 14:45:45.02927[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOLEH PERKENALKAN DIRI' 
-----------------------
10-11-2025 14:45:45.02928[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?' to the front of the [parsed_template] array 
-----------------------
10-11-2025 14:45:45.02928[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 14:45:45.02929[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<condition name="nama">
        <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li>
        <li>
          <random>
            <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li>
            <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li>
            <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li>
            <li>Masih ingat kok! <get name="nama"/>, benar kan?</li>
          </random>
        </li>
      </condition>' to the front of the [template] array 
-----------------------
10-11-2025 14:45:45.02930[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 14:45:45.02931[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 14:45:45.02932[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 ,
      'kamu ingat nama saya',
      'Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?',
      85,
      'c651fd61eed89399b4c40df9958f03cd',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 14:45:45.03157[4][4] - Elapsed time: 2.253 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 14:45:45.03184[3][4] - Elapsed time: 0.266 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 14:45:45.03218[2][4] - Elapsed time: 0.338 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 14:45:45.03219[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 14:45:45.03220[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 14:45:45.03224[4][4] - Elapsed time: 0.045 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"c651fd61eed89399b4c40df9958f03cd","usersay":"kamu ingat nama saya","botsay":"Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?","botData":{"convo_id":"c651fd61eed89399b4c40df9958f03cd","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"85","totallines":1,"user_name":"Seeker","rawSay":"kamu ingat nama saya","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":"634","bot_id":"1","pattern":"KAMU INGAT NAMA SAYA","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<condition name=\"nama\">\n        <li value=\"undefined\">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?<\/li>\n        <li>\n          <random>\n            <li>Tentu saya ingat! Nama Anda <get name=\"nama\"\/>. Bagaimana bisa saya lupa?<\/li>\n            <li>Jelas ingat dong! Anda <get name=\"nama\"\/>. Saya selalu ingat orang yang mengobrol dengan saya.<\/li>\n            <li>Pasti ingat! Nama Anda <get name=\"nama\"\/>, bukan?<\/li>\n            <li>Masih ingat kok! <get name=\"nama\"\/>, benar kan?<\/li>\n          <\/random>\n        <\/li>\n      <\/condition>","score":266,"current_that":"","aiml_id":"634","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: kamu (2 points), direct word match: ingat (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}} 
-----------------------
10-11-2025 14:45:45.03258[2][4] - Elapsed time: 0.343 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 14:45:45.03262[0][4] - Elapsed time: 0.041 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 18.677 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => kamu ingat nama saya
    [conversation] => Array
        (
            [convo_id] => c651fd61eed89399b4c40df9958f03cd
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 85
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => kamu ingat nama saya
            [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] => 634
                    [bot_id] => 1
                    [pattern] => KAMU INGAT NAMA SAYA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li>
        <li>
          <random>
            <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li>
            <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li>
            <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li>
            <li>Masih ingat kok! <get name="nama"/>, benar kan?</li>
          </random>
        </li>
      </condition>
                    [score] => 266
                    [current_that] => 
                    [aiml_id] => 634
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: kamu (2 points), direct word match: ingat (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => kamu ingat nama saya
            [lookingfor] => KAMU INGAT NAMA SAYA
            [category_id] => 634
            [pattern] => KAMU INGAT NAMA SAYA
            [thatpattern] => 
            [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li>
        <li>
          <random>
            <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li>
            <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li>
            <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li>
            <li>Masih ingat kok! <get name="nama"/>, benar kan?</li>
          </random>
        </li>
      </condition>
            [html_template] => 
            [topic] => 
            [score] => 266
            [aiml_id] => 634
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
        )

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

    [time_start] => 1762760745.0139
    [user_say] => Array
        (
            [1] => KAMU INGAT NAMA SAYA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Boleh perkenalkan diri?
                    [3] => Maaf, saya belum tahu nama Anda.
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => BOLEH PERKENALKAN DIRI
                    [2] => MAAF SAYA BELUM TAHU NAMA ANDA
                )

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

    [parsed_template] => Array
        (
            [1] => Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <condition name="nama"> <li value="undefined">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?</li> <li> <random> <li>Tentu saya ingat! Nama Anda <get name="nama"/>. Bagaimana bisa saya lupa?</li> <li>Jelas ingat dong! Anda <get name="nama"/>. Saya selalu ingat orang yang mengobrol dengan saya.</li> <li>Pasti ingat! Nama Anda <get name="nama"/>, bukan?</li> <li>Masih ingat kok! <get name="nama"/>, benar kan?</li> </random> </li> </condition>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"c651fd61eed89399b4c40df9958f03cd","usersay":"kamu ingat nama saya","botsay":"Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?","botData":{"convo_id":"c651fd61eed89399b4c40df9958f03cd","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"85","totallines":1,"user_name":"Seeker","rawSay":"kamu ingat nama saya","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":"634","bot_id":"1","pattern":"KAMU INGAT NAMA SAYA","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<condition name=\"nama\">\n        <li value=\"undefined\">Maaf, saya belum tahu nama Anda. Boleh perkenalkan diri?<\/li>\n        <li>\n          <random>\n            <li>Tentu saya ingat! Nama Anda <get name=\"nama\"\/>. Bagaimana bisa saya lupa?<\/li>\n            <li>Jelas ingat dong! Anda <get name=\"nama\"\/>. Saya selalu ingat orang yang mengobrol dengan saya.<\/li>\n            <li>Pasti ingat! Nama Anda <get name=\"nama\"\/>, bukan?<\/li>\n            <li>Masih ingat kok! <get name=\"nama\"\/>, benar kan?<\/li>\n          <\/random>\n        <\/li>\n      <\/condition>","score":266,"current_that":"","aiml_id":"634","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: kamu (2 points), direct word match: ingat (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}}
)

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