Apologies. Newbie here.
I downloaded the latest version of ChatScript 6.3a running on Ubuntu and managed to successfully get Harry running using ~/chatscript/BINARIES/LinuxChatScript64 local
I’m following the tutorial provided in the DOCUMENTATION/ChatScript Tutorial.pdf but seem to have fallen at the first hurdle and would appreciate any help.
I have a ~/chatscript/RAWDATA/files2.txt containing:
RAWDATA/HARRY/simplecontrol.top
RAWDATA/TEST/tutorial.top # tutorial bot data
and a ~/chatscript/RAWDATA/tutorial.top file containing:
topic: ~introductions []
t: ^keep() [Hello] [Hi] [Hey], [talk] [speak] [say something] to me!
When I execute
>:build 2
I get the error
ray: > :build 2
ChatScript Version 6.3a compiled Apr 16 2016 18:47:08
----Reading file simplecontrol.top
Reading outputmacro: ^harry
*** Error- line 2 of simplecontrol.top:
in simplecontrol.top at 2: outputmacro: harry() # you get harry by default
MACRO-3 macro ^harry already definedReading table tbl:defaultbot
Reading topic ~control
Reading topic ~xpostprocess
----Reading file tutorial.top
Reading topic ~introductions
*** Warning- Undefined set or topic ~main_control line 13 in control.top
*** Warning- Undefined set or topic ~tallyraw line 50 in control.top
*** Warning- Undefined set or topic ~tallybase line 51 in control.top
*** Warning- Undefined set or topic ~tallybasepos line 52 in control.top
*** Warning- Undefined set or topic ~sentiment line 53 in control.top
*** Warning- line 0 of missingLabel.txt: At least one duplicate topic name, i.e., ~control, which may intended if bot restrictions differ.
ERROR SUMMARY:
line 2 of simplecontrol.top: MACRO-3 macro ^harry already defined
r
1 errors - press Enter to quit. Then fix and try again.
The first lines of ~chatscript/RAWDATA/HARRY/simplecontrol.top and the ones it seems to complain about are :
# this function is executed once for every new user chatting with harry^M
outputmacro: harry() # you get harry by default^M
$cs_token = #DO_INTERJECTION_SPLITTING | #DO_SUBSTITUTE_SYSTEM | #DO_NUMBER_MERGE | #DO_DATE_MERGE | #DO_P....