10-11-2025 15:48:14.48499[0][4] - Elapsed time: 5.014 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:48:14.48528[4][4] - Elapsed time: 0.286 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 15:48:14.48548[4][4] - Elapsed time: 0.197 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 15:48:14.48557[4][4] - Elapsed time: 0.095 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 15:48:14.48596[4][4] - Elapsed time: 0.389 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 15:48:14.48597[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 15:48:14.48610[0][4] - Elapsed time: 0.125 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = a4e78c8254a286f03bf55dcb3448b066 
-----------------------
10-11-2025 15:48:14.48611[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'siapa nama saya'. 
-----------------------
10-11-2025 15:48:14.48612[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 15:48:14.48613[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 15:48:14.48614[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:48:14.48638[1][4] - Elapsed time: 0.233 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: a4e78c8254a286f03bf55dcb3448b066 
-----------------------
10-11-2025 15:48:14.48639[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-11-2025 15:48:14.48640[3][4] - Elapsed time: 0.009 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:48:14.48665[2][4] - Elapsed time: 0.259 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 15:48:14.48667[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 15:48:14.48688[2][4] - Elapsed time: 0.214 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
10-11-2025 15:48:14.48712[3][4] - Elapsed time: 0.240 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #104 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'a4e78c8254a286f03bf55dcb3448b066'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
10-11-2025 15:48:14.48731[3][4] - Elapsed time: 0.193 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` = 104 AND `bot_id` = 1; 
-----------------------
10-11-2025 15:48:14.48755[2][4] - Elapsed time: 0.236 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 15:48:14.48762[2][4] - Elapsed time: 0.071 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siapa. 
-----------------------
10-11-2025 15:48:14.48763[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 15:48:14.48800[2][4] - Elapsed time: 0.373 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 15:48:14.48802[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
10-11-2025 15:48:14.48804[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 15:48:14.48805[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
10-11-2025 15:48:14.48807[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa nama saya' 
-----------------------
10-11-2025 15:48:14.48821[4][4] - Elapsed time: 0.140 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 15:48:14.48822[2][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SIAPA NAMA SAYA
Convo id: a4e78c8254a286f03bf55dcb3448b066
Bot id: 1
Format:  
-----------------------
10-11-2025 15:48:14.48823[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 15:48:14.48824[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 15:48:14.48825[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` = 104 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 15:48:14.48898[4][4] - Elapsed time: 0.734 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
10-11-2025 15:48:14.48943[2][4] - Elapsed time: 0.448 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 15:48:14.48944[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:48:14.48963[4][4] - Elapsed time: 0.190 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 15:48:14.48965[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 15:48:14.48965[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 15:48:14.48966[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = SIAPA NAMA SAYA: raw say = siapa nama saya 
-----------------------
10-11-2025 15:48:14.48966[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 15:48:14.48967[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [user_say] array 
-----------------------
10-11-2025 15:48:14.48970[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 15:48:14.48971[0][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = siapa nama saya, RAW say = siapa nama saya 
-----------------------
10-11-2025 15:48:14.48972[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'siapa nama saya' to the front of the [input] array 
-----------------------
10-11-2025 15:48:14.48973[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 15:48:14.48974[4][4] - Elapsed time: 0.010 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 15:48:14.48974[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 15:48:14.48975[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 15:48:14.48976[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:48:14.48999[4][4] - Elapsed time: 0.232 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 15:48:14.49001[3][4] - Elapsed time: 0.017 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` = 'a4e78c8254a286f03bf55dcb3448b066'
    AND (
        'SIAPA NAMA SAYA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 15:48:14.49021[2][4] - Elapsed time: 0.207 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 15:48:14.49023[4][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-11-2025 15:48:14.49024[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-11-2025 15:48:14.49046[4][4] - Elapsed time: 0.220 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 15:48:14.49047[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 (
        'SIAPA 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 15:48:14.49078[3][4] - Elapsed time: 0.302 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 15:48:14.49078[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
10-11-2025 15:48:14.49102[4][4] - Elapsed time: 0.233 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
10-11-2025 15:48:14.49102[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 15:48:14.49112[4][4] - Elapsed time: 0.092 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 15:48:14.49113[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 15:48:14.49138[4][4] - Elapsed time: 0.252 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1120
            [bot_id] => 1
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <condition name="nama">
        <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li>
      </condition>
            [score] => 264
            [current_that] => 
            [aiml_id] => 1120
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 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:48:14.49139[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1120
            [bot_id] => 1
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <condition name="nama">
        <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li>
      </condition>
            [score] => 264
            [current_that] => 
            [aiml_id] => 1120
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
        )

)

 
-----------------------
10-11-2025 15:48:14.49170[4][4] - Elapsed time: 0.305 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1120
    [bot_id] => 1
    [pattern] => SIAPA NAMA SAYA
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <condition name="nama">
        <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li>
      </condition>
    [score] => 264
    [current_that] => 
    [aiml_id] => 1120
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
)
 
-----------------------
10-11-2025 15:48:14.49171[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
10-11-2025 15:48:14.49173[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1120 (SIAPA NAMA SAYA) 
-----------------------
10-11-2025 15:48:14.49173[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-11-2025 15:48:14.49174[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 15:48:14.49175[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 15:48:14.49175[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 15:48:14.49176[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1120
    [category_id] => 1120
    [html_template] => 
    [lookingfor] => SIAPA NAMA SAYA
    [pattern] => SIAPA NAMA SAYA
    [score] => 264
    [stars] => Array
        (
        )

    [template] => <condition name="nama">
        <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li>
      </condition>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => siapa nama saya
)
 
-----------------------
10-11-2025 15:48:14.49177[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-11-2025 15:48:14.49178[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:48:14.49184[4][4] - Elapsed time: 0.060 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><condition name="nama"><li value="unknown"><text>Maaf, saya belum mengetahui nama Anda.Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.Apakah ada yang salah?</text></li></condition></template> 
-----------------------
10-11-2025 15:48:14.49198[2][4] - Elapsed time: 0.138 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:48:14.49202[4][4] - Elapsed time: 0.049 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="unknown"><text>Maaf, saya belum mengetahui nama Anda.Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.Apakah ada yang salah?</text></li></condition></template>
 
-----------------------
10-11-2025 15:48:14.49203[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:48:14.49205[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:48:14.49207[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element condition at level 1. element XML = <condition name="nama"><li value="unknown"><text>Maaf, saya belum mengetahui nama Anda.Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.Apakah ada yang salah?</text></li></condition> 
-----------------------
10-11-2025 15:48:14.49208[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_condition_tag does exist. Processing now. 
-----------------------
10-11-2025 15:48:14.49209[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element condition to the parse_condition_tag function 
-----------------------
10-11-2025 15:48:14.49210[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][809]
Parsing a CONDITION tag. 
-----------------------
10-11-2025 15:48:14.49211[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][818]
Element attributes:Array
(
    [name] => nama
)
 
-----------------------
10-11-2025 15:48:14.49211[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][820]
Element attribute count = 1 
-----------------------
10-11-2025 15:48:14.49212[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 15:48:14.49213[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][964]
Looking for test value 'undefined' 
-----------------------
10-11-2025 15:48:14.49213[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][967]
search string = li[@value]|li[not(@*)] 
-----------------------
10-11-2025 15:48:14.49220[4][4] - Elapsed time: 0.071 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] => unknown
                        )

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

            [1] => SimpleXMLElement Object
                (
                    [text] => Array
                        (
                            [0] => Nama Anda adalah 
                            [1] => .Apakah ada yang salah?
                        )

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

                        )

                )

        )

)
 
-----------------------
10-11-2025 15:48:14.49221[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][971]
Choices = Array
(
    [0] => SimpleXMLElement Object
        (
            [@attributes] => Array
                (
                    [value] => unknown
                )

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

    [1] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Nama Anda adalah 
                    [1] => .Apakah ada yang salah?
                )

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

                )

        )

)
 
-----------------------
10-11-2025 15:48:14.49224[4][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][976]
parent XML = <condition name="nama"><li value="unknown"><text>Maaf, saya belum mengetahui nama Anda.Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.Apakah ada yang salah?</text></li></condition> 
-----------------------
10-11-2025 15:48:14.49225[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][980]
Current pick = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [value] => unknown
        )

    [text] => Maaf, saya belum mengetahui nama Anda.Boleh saya tahu?
)
 
-----------------------
10-11-2025 15:48:14.49226[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][983]
Current pick attributes = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [value] => unknown
        )

)
 
-----------------------
10-11-2025 15:48:14.49226[4][4] - Elapsed time: 0.007 milliseconds 
[parse_aiml_as_XML.php][parse_condition_tag][986]
Pick Value = 'unknown' 
-----------------------
10-11-2025 15:48:14.49227[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][987]
Checking to see if undefined (Client Property) matches unknown (condition value). 
-----------------------
10-11-2025 15:48:14.49231[4][4] - Elapsed time: 0.038 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][980]
Current pick = SimpleXMLElement Object
(
    [text] => Array
        (
            [0] => Nama Anda adalah 
            [1] => .Apakah ada yang salah?
        )

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

        )

)
 
-----------------------
10-11-2025 15:48:14.49232[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][983]
Current pick attributes = SimpleXMLElement Object
(
)
 
-----------------------
10-11-2025 15:48:14.49233[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][986]
Pick Value = '' 
-----------------------
10-11-2025 15:48:14.49233[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][987]
Checking to see if undefined (Client Property) matches  (condition value). 
-----------------------
10-11-2025 15:48:14.49236[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][995]
Found a match. Pick = SimpleXMLElement Object
(
    [text] => Array
        (
            [0] => Nama Anda adalah 
            [1] => .Apakah ada yang salah?
        )

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

        )

)
 
-----------------------
10-11-2025 15:48:14.49236[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:48:14.49237[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>Nama Anda adalah </text> 
-----------------------
10-11-2025 15:48:14.49238[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 15:48:14.49239[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:48:14.49239[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 15:48:14.49240[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Nama Anda adalah ' to the response array. tag name is text 
-----------------------
10-11-2025 15:48:14.49241[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:48:14.49241[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 2. element XML = <get name="nama"/> 
-----------------------
10-11-2025 15:48:14.49242[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
10-11-2025 15:48:14.49243[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
10-11-2025 15:48:14.49243[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
)
 
-----------------------
10-11-2025 15:48:14.49244[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
10-11-2025 15:48:14.49245[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_client_property][770]
Rummaging through various locations for client property 'nama' 
-----------------------
10-11-2025 15:48:14.49245[2][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_client_property][781]
Client property 'nama' not found in the conversation array. Searching the DB. 
-----------------------
10-11-2025 15:48:14.49246[3][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_client_property][793]
Querying the client_properties table for nama. SQL:
SELECT `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 104 AND `bot_id` = 1 AND `name` = 'nama' limit 1; 
-----------------------
10-11-2025 15:48:14.49272[2][4] - Elapsed time: 0.259 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
)
 
-----------------------
10-11-2025 15:48:14.49273[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'undefined' to the response array. tag name is get 
-----------------------
10-11-2025 15:48:14.49274[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 15:48:14.49275[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>.Apakah ada yang salah?</text> 
-----------------------
10-11-2025 15:48:14.49275[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 15:48:14.49276[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:48:14.49276[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 15:48:14.49277[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '.Apakah ada yang salah?' to the response array. tag name is text 
-----------------------
10-11-2025 15:48:14.49278[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][1023]
Response = Array
(
    [0] => Array
        (
            [0] => Nama Anda adalah 
        )

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

    [2] => Array
        (
            [0] => .Apakah ada yang salah?
        )

)
 
-----------------------
10-11-2025 15:48:14.49278[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:48:14.49279[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => Nama Anda adalah 
        )

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

    [2] => Array
        (
            [0] => .Apakah ada yang salah?
        )

)

 
-----------------------
10-11-2025 15:48:14.49279[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:48:14.49280[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:48:14.49281[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama Anda adalah 
)

 
-----------------------
10-11-2025 15:48:14.49281[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:48:14.49282[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 15:48:14.49282[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => undefined
)

 
-----------------------
10-11-2025 15:48:14.49283[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:48:14.49284[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:48:14.49284[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => .Apakah ada yang salah?
)

 
-----------------------
10-11-2025 15:48:14.49285[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:48:14.49285[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama Anda adalah undefined .Apakah ada yang salah?' 
-----------------------
10-11-2025 15:48:14.49286[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Nama Anda adalah undefined .Apakah ada yang salah?' to the response array. tag name is condition 
-----------------------
10-11-2025 15:48:14.49287[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:48:14.49287[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama Anda adalah undefined .Apakah ada yang salah?
)

 
-----------------------
10-11-2025 15:48:14.49288[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:48:14.49288[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama Anda adalah undefined .Apakah ada yang salah?' 
-----------------------
10-11-2025 15:48:14.49289[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Nama Anda adalah undefined .Apakah ada yang salah?' to the response array. tag name is template. 
-----------------------
10-11-2025 15:48:14.49290[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 15:48:14.49290[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama Anda adalah undefined .Apakah ada yang salah?
)

 
-----------------------
10-11-2025 15:48:14.49291[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:48:14.49291[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama Anda adalah undefined .Apakah ada yang salah?' 
-----------------------
10-11-2025 15:48:14.49292[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: Nama Anda adalah undefined.Apakah ada yang salah? 
-----------------------
10-11-2025 15:48:14.49293[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 15:48:14.49294[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:48:14.49294[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nama Anda adalah undefined.Apakah ada yang salah?' to the front of the [that_raw] array 
-----------------------
10-11-2025 15:48:14.49295[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 15:48:14.49302[2][4] - Elapsed time: 0.070 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nama Anda adalah undefined.Apakah ada yang salah?' to the front of the [that] array 
-----------------------
10-11-2025 15:48:14.49303[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 15:48:14.49304[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama Anda adalah undefined.' 
-----------------------
10-11-2025 15:48:14.49305[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama Anda adalah undefined.' 
-----------------------
10-11-2025 15:48:14.49306[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA ANDA ADALAH UNDEFINED' 
-----------------------
10-11-2025 15:48:14.49306[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA ANDA ADALAH UNDEFINED' 
-----------------------
10-11-2025 15:48:14.49307[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apakah ada yang salah?' 
-----------------------
10-11-2025 15:48:14.49307[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apakah ada yang salah?' 
-----------------------
10-11-2025 15:48:14.49308[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APAKAH ADA YANG SALAH' 
-----------------------
10-11-2025 15:48:14.49309[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APAKAH ADA YANG SALAH' 
-----------------------
10-11-2025 15:48:14.49310[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nama Anda adalah undefined.Apakah ada yang salah?' to the front of the [parsed_template] array 
-----------------------
10-11-2025 15:48:14.49310[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 15:48:14.49311[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<condition name="nama">
        <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li>
      </condition>' to the front of the [template] array 
-----------------------
10-11-2025 15:48:14.49312[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 15:48:14.49313[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 15:48:14.49314[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 ,
      'siapa nama saya',
      'Nama Anda adalah undefined.Apakah ada yang salah?',
      104,
      'a4e78c8254a286f03bf55dcb3448b066',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 15:48:14.49468[4][4] - Elapsed time: 1.543 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 15:48:14.49485[3][4] - Elapsed time: 0.170 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:48:14.49508[2][4] - Elapsed time: 0.225 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 15:48:14.49509[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 15:48:14.49509[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 15:48:14.49512[4][4] - Elapsed time: 0.028 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"a4e78c8254a286f03bf55dcb3448b066","usersay":"siapa nama saya","botsay":"Nama Anda adalah undefined.Apakah ada yang salah?","botData":{"convo_id":"a4e78c8254a286f03bf55dcb3448b066","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"104","totallines":1,"user_name":"Seeker","rawSay":"siapa 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":"1120","bot_id":"1","pattern":"SIAPA NAMA SAYA","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<condition name=\"nama\">\n        <li value=\"unknown\">Maaf, saya belum mengetahui nama Anda.\nBoleh saya tahu?<\/li>\n        <li>Nama Anda adalah <get name=\"nama\"\/>.\nApakah ada yang salah?<\/li>\n      <\/condition>","score":264,"current_that":"","aiml_id":"1120","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}} 
-----------------------
10-11-2025 15:48:14.49538[2][4] - Elapsed time: 0.259 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 15:48:14.49542[0][4] - Elapsed time: 0.037 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 15.413 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => siapa nama saya
    [conversation] => Array
        (
            [convo_id] => a4e78c8254a286f03bf55dcb3448b066
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 104
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => siapa 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] => 1120
                    [bot_id] => 1
                    [pattern] => SIAPA NAMA SAYA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <condition name="nama">
        <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li>
      </condition>
                    [score] => 264
                    [current_that] => 
                    [aiml_id] => 1120
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => siapa nama saya
            [lookingfor] => SIAPA NAMA SAYA
            [category_id] => 1120
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [template] => <condition name="nama">
        <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li>
      </condition>
            [html_template] => 
            [topic] => 
            [score] => 264
            [aiml_id] => 1120
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Nama Anda adalah undefined.Apakah ada yang salah?
        )

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

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

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Apakah ada yang salah?
                    [3] => Nama Anda adalah undefined.
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => APAKAH ADA YANG SALAH
                    [2] => NAMA ANDA ADALAH UNDEFINED
                )

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

    [parsed_template] => Array
        (
            [1] => Nama Anda adalah undefined.Apakah ada yang salah?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <condition name="nama"> <li value="unknown">Maaf, saya belum mengetahui nama Anda.
Boleh saya tahu?</li> <li>Nama Anda adalah <get name="nama"/>.
Apakah ada yang salah?</li> </condition>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"a4e78c8254a286f03bf55dcb3448b066","usersay":"siapa nama saya","botsay":"Nama Anda adalah undefined.Apakah ada yang salah?","botData":{"convo_id":"a4e78c8254a286f03bf55dcb3448b066","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"104","totallines":1,"user_name":"Seeker","rawSay":"siapa 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":"1120","bot_id":"1","pattern":"SIAPA NAMA SAYA","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<condition name=\"nama\">\n        <li value=\"unknown\">Maaf, saya belum mengetahui nama Anda.\nBoleh saya tahu?<\/li>\n        <li>Nama Anda adalah <get name=\"nama\"\/>.\nApakah ada yang salah?<\/li>\n      <\/condition>","score":264,"current_that":"","aiml_id":"1120","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}}
)

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