sclass AI_DomainsBot > AttractorBot { concept Domain { S globalID = aGlobalIDUnlessLoading(); S address; } Concepts concepts; *(Concepts *concepts) { standardAttractors( MatchAttractor("nice", r { say("Was that a compliment?"); tempAttractor(YesAttractor(r { ai_saveCompliment(line); say("Thanks, saved"); })); }) ); } // FLOW START public void run { say("I know " + n(countConcepts(concepts, Domain.class), "domain") + "."); } }
Began life as a copy of #1022819
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022826 |
Snippet name: | AI_DomainsBot [dev.] |
Eternal ID of this version: | #1022826/7 |
Text MD5: | 76e1fa28ebfcb38ab021fea28520b277 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-09 21:14:10 |
Source code size: | 556 bytes / 26 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 343 / 773 |
Version history: | 6 change(s) |
Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |