📄 main.txt
字号:
#
# main.dict -- the main lookup and response dictionary
#
#
# main.dict has the following format:
# each entry seperated by one blank line
# each entry consists of a key template on line 1 (up to 400 characters)
# a priority from 1-9 (9=highest) on line 2
# responses, one to a line, starting with "*"'s
#
# the key templates consist of words or word phrases seperated by ":"'s
# special character flags can prefix any word group. These codes are:
# '&' logical AND (The key will be true ONLY if the marked phrase is present)
# '!' logical NOT (The key will be true ONLY if the marked phrase is NOT there)
# '+' NAME flag (The key will be true ONLY if the robots name is mentioned)
# No special character is treated as a logical OR
#
# example: bye:goodbye:see you later:!say:!tell:+
# would match for "bye" "goodbye" or "see you later" provided that the name
# of the robot (maintained within the program) was also included (the + code)
# The template would NOT match for "tell joe goodbye, robot" because tell is
# a prefixed with a '!'.
#
# Templates can also contain a special "wild card" character, the '%'.
# a '%' stand for any group of words up to a punctuation mark, and the words
# that the '%' stands for can then be used in your responses.
# This is best illustrated by an example:
# example: Do you have any % for me?
# would match "Do you have any cheese for me?" or "Do you have any old fruit
# for me?" And then you could have responses like "No, I have no % for you"
# which would return "No, I have no cheese for you"
#
# response may also contain references to more data files with the '@' char.
# the '@' must prefaces a filename that ends in '.w' and names a file of
# responses or words located in the "words" subdirectory of the program from
# the directory in whcih it was run. This is a good way to build even more
# randomness into the responses. For instance:
# example: *My favorite color is @color.w. What's yours?
# would pull a random line out of the file "words/color.w" and insert it in
# the response string. The format for the word file is just one response per
# line (no '*' is needed). The first line of a word file is the number
# of entries contained in the word file. (This makes for fast lookups) If
# the number is listed as 0, the program will count all the responses and
# insert a correct count. Note that responses in word files can contain
# recursive references to other word files!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -