ChatScript question. Connected a Linux server running forked CS with success within AWS, connected to a separate H.A. MySql database server. It writes the TOPIC files to the MYSQl server, and this works great! Very exciting. I plan to publish an image copy of this, so other people can reuse this setup.
Anyway, I am trying to setup a simple database call from CS. Basically, before quibbles are executed, CS will check if a word in within a concept list, which will have 180k individual words. If it is in the list, query mysql for a response.
I have the database loaded and ready. I am trying to fire the database call from CS.
Here is what I have and I am not able to build because of the t: line.
it hangs on this line “in introductions.top at 14:”
Any thoughts on what my syntax issue is? I appreciate your help!
outputmacro: ^myfunc2(^db)
preprint(^db )
t: ($onetest?~dbase_quibble_01)
if (^dbexecute(^“SELECT response FROM quibble where quibble.word = ‘$onetest’;” ‘^myfunc2))
else {dbexecute failed tables - $$db_error}