Axe Software Forums
  Quest Developer Forum
  QDK- commands that colored in red


Author Topic:   QDK- commands that colored in red
gamer1962 posted 15-07-2002 06:34 BST     
The below command was created in QDK. It's purpose was intended to eliminate the need to "buy" something using a seperate command other than take. It will check if the item taken is for sale and has not been bought, It also checks to see if there is and action "take" defined so you can override the typical take command for items that can be gained (not bought). The command works fine but the code is in red when I view it in QDK. What does the red font indicate?

command <Take #@takeobj#> if here #takeobj#> then {
if type <#takeobj#; forsale> and is <$objectproperty(#takeobj#;bought)$; =; 0> then do <forsale> else
{
if action <#takeobj#; take> doaction <#takeobj#; take> else do <objtake>
}}
else msg <I dont see that here>