Manual:Verbot Editor Verbot Tags

From VerbotWiki

Read! Run! Send! Verbot Tags add functionality.

The Verbot engine utilizes custom tags used for interacting with the Verbot engine. Tags include reading text files, running programs, and adding dynamic Rule creation abilities.

Note: All Verbot tags are inserted into Output/Response fields. For example, to make a Verbot shut down the Verbot Interface, simply insert the following: "See ya later! <exit>"

Verbot Tags:

Verbot Command Tags

There are a number of commands for interacting with the Verbot Engine and Verbot Player Interface

Verbot Tags
Tag Name Tag Description Example
quit Exits the verbot player (same as exit) <quit>
exit Exits the verbot player (same as quit) <exit>
run Runs a program (same as putting the argument in the command box in an output) <run command>
read Loads a .txt or .rtf file and reads it back. Note: If the argument passed is a URL the Verbot will attempt to load the url as the source of the text. <read filename>
readprint Loads a .txt or .rtf file from your local drive and reads it back, also outputs the contents to the screen. Note: If the argument passed is a URL the Verbot will attempt to load the url as the source of the text. <readprint filename>
print Loads a .txt or .rtf file and outputs the contents to the screen. <print filename> (* Not Implemented)
printtext Outputs the text to the screen without reading it. <printtext text to print> (* Not Implemented)
link Inserts a link into the output, links may be external (url) links or internal (engine) links. <link name url> or <link name "text to send to engine">
linkonly Just like the link command, except it doesn't have the agent speak the link text. <linkonly name url> or <linkonly name "text to send to engine">
send Sends the text to the engine as if the user typed it. <send text to send>
load Loads a KnowledgeBase file (.ckb or .vkb) or Skin (.vsk) file. <load filename>
unload Removes a KnowledgeBase off the used KB list. <unload filename>
learn Adds a new rule to a KnowledgeBase. <learn

#file:filename.vkb (optional) #name:rule name (optional) #input:keywords #condition: c# condition for input (optional) #output:verbot response #command:command text (optional) #condition: c# condition for output (optional) #childof: rulename (optional) #vchildof: rulename (optional) #vparentof: rulename (optional) >

unlearn Removes a rule from a KnowledgeBase.

<unlearn #file: filename.vkb #name: rule name >

mem.del Remove the variable itself. <mem.del varName> Equivalent to: <?csharp vars["variable"] = null; ?>
mem.get The mem.get function allows you to get the value of variable and display it in a response. Note: <mem.get variableName> behaves like [variableName] within Outputs and can be used interchangeably. <mem.get variable> Equivalent to: <?csharp Console.Write(vars["variable"]); ?>
mem.set The mem.set function allows you to set a variable to a string, a captured variable, or an existing variable value. <mem.set variable value> Equivalent to: <?csharp vars["variable"] = "value"; ?>