10-11-2025 10:02:04.41906[0][4] - Elapsed time: 4.978 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 10:02:04.41933[4][4] - Elapsed time: 0.268 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 10:02:04.41952[4][4] - Elapsed time: 0.193 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 10:02:04.41962[4][4] - Elapsed time: 0.097 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 10:02:04.42000[4][4] - Elapsed time: 0.379 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 10:02:04.42001[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 10:02:04.42014[0][4] - Elapsed time: 0.127 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = d0e575a63ba557c01c153e88b341ab59 
-----------------------
10-11-2025 10:02:04.42015[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'aku mau tanya soal siega'. 
-----------------------
10-11-2025 10:02:04.42016[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 10:02:04.42017[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 10:02:04.42018[3][4] - Elapsed time: 0.008 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 10:02:04.42056[1][4] - Elapsed time: 0.380 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: d0e575a63ba557c01c153e88b341ab59 
-----------------------
10-11-2025 10:02:04.42057[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-11-2025 10:02:04.42058[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 10:02:04.42093[2][4] - Elapsed time: 0.348 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 10:02:04.42094[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
10-11-2025 10:02:04.42130[2][4] - Elapsed time: 0.368 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
10-11-2025 10:02:04.42155[3][4] - Elapsed time: 0.244 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #59 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'd0e575a63ba557c01c153e88b341ab59'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
10-11-2025 10:02:04.42181[3][4] - Elapsed time: 0.259 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` = 59 AND `bot_id` = 1; 
-----------------------
10-11-2025 10:02:04.42202[2][4] - Elapsed time: 0.213 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 10:02:04.42208[2][4] - Elapsed time: 0.060 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
10-11-2025 10:02:04.42209[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 10:02:04.42273[2][4] - Elapsed time: 0.640 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 10:02:04.42277[2][4] - Elapsed time: 0.032 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on mau. 
-----------------------
10-11-2025 10:02:04.42279[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 10:02:04.42281[2][4] - Elapsed time: 0.022 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on tanya. 
-----------------------
10-11-2025 10:02:04.42284[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 10:02:04.42286[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on soal. 
-----------------------
10-11-2025 10:02:04.42289[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 10:02:04.42291[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siega. 
-----------------------
10-11-2025 10:02:04.42294[4][4] - Elapsed time: 0.029 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku mau tanya soal siega' 
-----------------------
10-11-2025 10:02:04.42318[4][4] - Elapsed time: 0.245 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
10-11-2025 10:02:04.42321[2][4] - Elapsed time: 0.029 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: AKU MAU TANYA SOAL SIEGA
Convo id: d0e575a63ba557c01c153e88b341ab59
Bot id: 1
Format:  
-----------------------
10-11-2025 10:02:04.42323[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 10:02:04.42325[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 10:02:04.42326[3][4] - Elapsed time: 0.015 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` = 59 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 10:02:04.42407[4][4] - Elapsed time: 0.812 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
10-11-2025 10:02:04.42482[2][4] - Elapsed time: 0.744 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 10:02:04.42484[3][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
10-11-2025 10:02:04.42509[4][4] - Elapsed time: 0.248 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 10:02:04.42512[0][4] - Elapsed time: 0.025 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 10:02:04.42513[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 10:02:04.42514[0][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][235]
Say = AKU MAU TANYA SOAL SIEGA: raw say = aku mau tanya soal siega 
-----------------------
10-11-2025 10:02:04.42515[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 10:02:04.42516[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MAU TANYA SOAL SIEGA' to the front of the [user_say] array 
-----------------------
10-11-2025 10:02:04.42521[4][4] - Elapsed time: 0.049 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 10:02:04.42525[0][4] - Elapsed time: 0.039 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = aku mau tanya soal siega, RAW say = aku mau tanya soal siega 
-----------------------
10-11-2025 10:02:04.42526[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku mau tanya soal siega' to the front of the [input] array 
-----------------------
10-11-2025 10:02:04.42528[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 10:02:04.42529[4][4] - Elapsed time: 0.017 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 10:02:04.42530[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
10-11-2025 10:02:04.42532[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
10-11-2025 10:02:04.42533[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
10-11-2025 10:02:04.42558[4][4] - Elapsed time: 0.248 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 10:02:04.42561[3][4] - Elapsed time: 0.030 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` = 'd0e575a63ba557c01c153e88b341ab59'
    AND (
        'AKU MAU TANYA SOAL SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 10:02:04.42612[2][4] - Elapsed time: 0.510 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 10:02:04.42614[4][4] - Elapsed time: 0.022 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-11-2025 10:02:04.42616[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-11-2025 10:02:04.42651[4][4] - Elapsed time: 0.352 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 10:02:04.42654[3][4] - Elapsed time: 0.030 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 (
        'AKU MAU TANYA SOAL SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 10:02:04.42716[3][4] - Elapsed time: 0.621 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 10:02:04.42718[2][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
10-11-2025 10:02:04.42755[4][4] - Elapsed time: 0.368 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
10-11-2025 10:02:04.42757[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 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
10-11-2025 10:02:04.42785[4][4] - Elapsed time: 0.280 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 10:02:04.42787[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 10:02:04.42826[4][4] - Elapsed time: 0.398 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 354
            [bot_id] => 1
            [pattern] => AKU MAU TANYA SOAL SIEGA
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [score] => 268
            [current_that] => 
            [aiml_id] => 354
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
        )

    [1] => Array
        (
            [id] => 366
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [score] => 252
            [current_that] => 
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
10-11-2025 10:02:04.42829[2][4] - Elapsed time: 0.030 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 354
            [bot_id] => 1
            [pattern] => AKU MAU TANYA SOAL SIEGA
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [score] => 268
            [current_that] => 
            [aiml_id] => 354
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
        )

)

 
-----------------------
10-11-2025 10:02:04.42871[4][4] - Elapsed time: 0.417 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 354
    [bot_id] => 1
    [pattern] => AKU MAU TANYA SOAL SIEGA
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
    [score] => 268
    [current_that] => 
    [aiml_id] => 354
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
)
 
-----------------------
10-11-2025 10:02:04.42873[2][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
10-11-2025 10:02:04.42876[4][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:354 (AKU MAU TANYA SOAL SIEGA) 
-----------------------
10-11-2025 10:02:04.42877[3][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-11-2025 10:02:04.42879[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
10-11-2025 10:02:04.42880[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 10:02:04.42881[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 10:02:04.42882[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 354
    [category_id] => 354
    [html_template] => 
    [lookingfor] => AKU MAU TANYA SOAL SIEGA
    [pattern] => AKU MAU TANYA SOAL SIEGA
    [score] => 268
    [stars] => Array
        (
        )

    [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => aku mau tanya soal siega
)
 
-----------------------
10-11-2025 10:02:04.42884[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-11-2025 10:02:04.42885[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
10-11-2025 10:02:04.42895[4][4] - Elapsed time: 0.096 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><think><set name="topic"><text>SIEGA</text></set></think><text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text></template> 
-----------------------
10-11-2025 10:02:04.42915[2][4] - Elapsed time: 0.197 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 10:02:04.42923[4][4] - Elapsed time: 0.084 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><think><set name="topic"><text>SIEGA</text></set></think><text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text></template>
 
-----------------------
10-11-2025 10:02:04.42924[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
10-11-2025 10:02:04.42926[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 10:02:04.42928[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="topic"><text>SIEGA</text></set></think> 
-----------------------
10-11-2025 10:02:04.42930[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
10-11-2025 10:02:04.42930[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
10-11-2025 10:02:04.42931[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
10-11-2025 10:02:04.42931[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
10-11-2025 10:02:04.42932[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 10:02:04.42933[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="topic"><text>SIEGA</text></set> 
-----------------------
10-11-2025 10:02:04.42934[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
10-11-2025 10:02:04.42934[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
10-11-2025 10:02:04.42935[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
10-11-2025 10:02:04.42935[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
10-11-2025 10:02:04.42936[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 10:02:04.42937[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>SIEGA</text> 
-----------------------
10-11-2025 10:02:04.42937[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 10:02:04.42938[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 10:02:04.42938[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 10:02:04.42939[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'SIEGA' to the response array. tag name is text 
-----------------------
10-11-2025 10:02:04.42940[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 10:02:04.42941[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => SIEGA
        )

)

 
-----------------------
10-11-2025 10:02:04.42941[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 10:02:04.42942[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 10:02:04.42943[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => SIEGA
)

 
-----------------------
10-11-2025 10:02:04.42943[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 10:02:04.42944[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'SIEGA' 
-----------------------
10-11-2025 10:02:04.42945[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is 'SIEGA' 
-----------------------
10-11-2025 10:02:04.42946[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [topic] => SIEGA
)
 
-----------------------
10-11-2025 10:02:04.42971[2][4] - Elapsed time: 0.250 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
10-11-2025 10:02:04.42991[4][4] - Elapsed time: 0.202 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'SIEGA' to the response array. tag name is set 
-----------------------
10-11-2025 10:02:04.42992[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 10:02:04.42992[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => SIEGA
        )

)

 
-----------------------
10-11-2025 10:02:04.42993[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 10:02:04.42993[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 10:02:04.42994[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => SIEGA
)

 
-----------------------
10-11-2025 10:02:04.42994[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 10:02:04.42995[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'SIEGA' 
-----------------------
10-11-2025 10:02:04.42996[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
10-11-2025 10:02:04.42996[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 10:02:04.42997[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
10-11-2025 10:02:04.42997[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 10:02:04.42998[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
10-11-2025 10:02:04.42998[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
10-11-2025 10:02:04.42999[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 10:02:04.43000[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text> 
-----------------------
10-11-2025 10:02:04.43001[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 10:02:04.43001[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 10:02:04.43002[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 10:02:04.43002[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is text 
-----------------------
10-11-2025 10:02:04.43003[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 10:02:04.43003[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>         Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
10-11-2025 10:02:04.43004[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 10:02:04.43005[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '    Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
10-11-2025 10:02:04.43005[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is template. 
-----------------------
10-11-2025 10:02:04.43006[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 10:02:04.43006[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
10-11-2025 10:02:04.43007[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 10:02:04.43007[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning ' Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
10-11-2025 10:02:04.43008[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu? 
-----------------------
10-11-2025 10:02:04.43009[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 10:02:04.43010[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 10:02:04.43010[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [that_raw] array 
-----------------------
10-11-2025 10:02:04.43011[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 10:02:04.43020[2][4] - Elapsed time: 0.086 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [that] array 
-----------------------
10-11-2025 10:02:04.43021[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 10:02:04.43023[4][4] - Elapsed time: 0.025 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke, siap!' 
-----------------------
10-11-2025 10:02:04.43024[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke, siap!' 
-----------------------
10-11-2025 10:02:04.43025[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE SIAP' 
-----------------------
10-11-2025 10:02:04.43026[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE SIAP' 
-----------------------
10-11-2025 10:02:04.43026[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.' 
-----------------------
10-11-2025 10:02:04.43027[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.' 
-----------------------
10-11-2025 10:02:04.43028[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA' 
-----------------------
10-11-2025 10:02:04.43028[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA' 
-----------------------
10-11-2025 10:02:04.43029[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mau tanya apa dulu?' 
-----------------------
10-11-2025 10:02:04.43029[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mau tanya apa dulu?' 
-----------------------
10-11-2025 10:02:04.43030[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAU TANYA APA DULU' 
-----------------------
10-11-2025 10:02:04.43030[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAU TANYA APA DULU' 
-----------------------
10-11-2025 10:02:04.43031[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [parsed_template] array 
-----------------------
10-11-2025 10:02:04.43032[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 10:02:04.43033[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [template] array 
-----------------------
10-11-2025 10:02:04.43034[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 10:02:04.43035[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 10:02:04.43036[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 ,
      'aku mau tanya soal siega',
      'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?',
      59,
      'd0e575a63ba557c01c153e88b341ab59',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 10:02:04.43231[4][4] - Elapsed time: 1.956 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 10:02:04.43249[3][4] - Elapsed time: 0.180 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 10:02:04.43272[2][4] - Elapsed time: 0.223 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 10:02:04.43273[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 10:02:04.43273[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 10:02:04.43276[4][4] - Elapsed time: 0.029 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d0e575a63ba557c01c153e88b341ab59","usersay":"aku mau tanya soal siega","botsay":"Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","botData":{"convo_id":"d0e575a63ba557c01c153e88b341ab59","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"59","totallines":1,"user_name":"Seeker","rawSay":"aku mau tanya soal siega","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":"354","bot_id":"1","pattern":"AKU MAU TANYA SOAL SIEGA","thatpattern":"","topic":"","filename":"bot.aiml","template":"<think><set name=\"topic\">SIEGA<\/set><\/think>\n        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","score":268,"current_that":"","aiml_id":"354","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)"}}} 
-----------------------
10-11-2025 10:02:04.43311[2][4] - Elapsed time: 0.353 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 10:02:04.43315[0][4] - Elapsed time: 0.040 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 19.040 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => aku mau tanya soal siega
    [conversation] => Array
        (
            [convo_id] => d0e575a63ba557c01c153e88b341ab59
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 59
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => aku mau tanya soal siega
            [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] => 354
                    [bot_id] => 1
                    [pattern] => AKU MAU TANYA SOAL SIEGA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
                    [score] => 268
                    [current_that] => 
                    [aiml_id] => 354
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => aku mau tanya soal siega
            [lookingfor] => AKU MAU TANYA SOAL SIEGA
            [category_id] => 354
            [pattern] => AKU MAU TANYA SOAL SIEGA
            [thatpattern] => 
            [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [html_template] => 
            [topic] => 
            [score] => 268
            [aiml_id] => 354
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
        )

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

    [time_start] => 1762743724.4141
    [user_say] => Array
        (
            [1] => AKU MAU TANYA SOAL SIEGA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => aku mau tanya soal siega
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Mau tanya apa dulu?
                    [3] => Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.
                    [4] => Oke, siap!
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => MAU TANYA APA DULU
                    [2] => AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA
                    [3] => OKE SIAP
                )

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

    [parsed_template] => Array
        (
            [1] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <think><set name="topic">SIEGA</set></think> Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d0e575a63ba557c01c153e88b341ab59","usersay":"aku mau tanya soal siega","botsay":"Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","botData":{"convo_id":"d0e575a63ba557c01c153e88b341ab59","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"59","totallines":1,"user_name":"Seeker","rawSay":"aku mau tanya soal siega","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":"354","bot_id":"1","pattern":"AKU MAU TANYA SOAL SIEGA","thatpattern":"","topic":"","filename":"bot.aiml","template":"<think><set name=\"topic\">SIEGA<\/set><\/think>\n        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","score":268,"current_that":"","aiml_id":"354","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)"}}}
)

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