Find
You are looking at a command called talk
talk to {object}
You can talk to objects, and some might respond.
talk to the receptionist
This is like
use
,
feed
,
throw
or
pat
which allow you to interact with objects can and if they are coded to respond they will.
read the command called use
read the command called feed
read the command called throw
read the command called pat
Scripting notes:
This sends out a trigger word of 'talk'
Created by
wolis
, last updated 13 Feb 2007
Code
get $text,$target in $loc;
if $target > 0 then continue else try2;
##try2:
get $target in $loc;
if $target > 0 then continue else listall;
##continue:
say 'talk',"[$actor] talks to [$target]";
rem look $loc;
##listall:
var $click_cmd to 'talk to';
var $desc_intro to '
Click on the object you want to talk to:
';
look $loc,list;
msg $loc,$actor,$actor,0,'force',"force:look $loc,list";