--- deliantra/server/ext/NPC_Dialogue.pm 2007/06/16 23:22:59 1.5 +++ deliantra/server/ext/NPC_Dialogue.pm 2007/08/08 07:55:57 1.6 @@ -109,6 +109,22 @@ The environment is that standard "map scripting environment", which is limited in the type of constructs allowed (no loops, for example). +Here is a example: + +=over 4 + +=item B + + @match hi + @cond grep $_->name =~ /royalty/, $who->inv + You got royalties there! Wanna have! + +You may want to change the C method there to something like C, +C<slaying> or any other method that is allowed to be called on a +C<cf::object> here. + +=back + =item @eval perl Like C<@cond>, but proceed regardless of the outcome.