TrustedUser
2,147
edits
(Fix syntax highlighting) |
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=") |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="cpp"> | ||
said(WORDGRPNUM1, WORDGRPNUM2, ...) | said(WORDGRPNUM1, WORDGRPNUM2, ...) | ||
said("word1", "word2", ...) | said("word1", "word2", ...) | ||
Line 51: | Line 51: | ||
== Example == | == Example == | ||
< | <syntaxhighlight lang="cpp"> | ||
if (said(2124)) { //assume word number 2124 = "look") | if (said(2124)) { //assume word number 2124 = "look") | ||
print("You look around."); | print("You look around."); |