Manual:Verbot Editor CSharp
From VerbotWiki
C# example: Give a value to a variable. Ex:
-input:[something] is [hairy]
-output:Ok. I'll remember that.<mem.set is_[hairy] <?csharp
string str = vars["is_[hairy]"];
if(str == null)
str = "";
Console.Write(str + vars["something"] + ",");
?>>
-input: is [something] [hairy]
-First output: Yes, [something] is [hairy].
condition:vars["hairy"] != null && vars["hairy"].IndexOf(vars["something"]) != -1
-Second output: No
Condition:vars["hairy"] != null && vars["hairy"].IndexOf(vars["something"]) == -1
-Third output: I don't know what [hairy] is.
Condition: vars["hairy"] == null

