Changes

Jump to navigation Jump to search
60 bytes added ,  15:14, 25 October 2018
m
Text replacement - "</source>" to "</syntaxhighlight>"
__NOTOC__
 
{{AGIWiki}}
{{AGIWiki/Test commands}}
The '''said''' command is used to evaluate the input entered by the player. It returns TRUE if the player entered text that matches the pattern specified by the argument values.
== Syntax ==
<syntax typesyntaxhighlight lang="C++cpp">
said(WORDGRPNUM1, WORDGRPNUM2, ...)
said("word1", "word2", ...)
</syntaxsyntaxhighlight>
== Description ==
== Example ==
<syntax typesyntaxhighlight lang="C++cpp">
if (said(2124)) { //assume word number 2124 = "look")
print("You look around.");
print("Ignore that.");
}
</syntaxsyntaxhighlight>
== Technical Information ==
TrustedUser
2,000

edits

Navigation menu