Find
You are looking at a command called search
search for {object}
Search anywhere in cow for an object
eg
search for an apple
if you want to search for an apple.
Remember when searching that players are actually 'a player called ...' so this is the most accurate way of finding players.
search for a player called wolis
Created by
wolis
, last updated 17 Dec 2010
Code
get $text,$target;
var $click_cmd to "examine";
if $target > 0 then chkpose else fail;
##chkpose:
if $target's pose like "hid" then fail else itshere;
##itshere:
var $dest to $target's loc;
if $cmd_text > 0 then describeit1 else describeit2;
##describeit1:
say 'msg',"[$actor] locates [$target] in [$dest]";
##describeit2:
say 'msg',"[$actor] searchs '$cmd_text' and finds [$target] in [$dest]";
rem look $loc;
##fail:
var $target to 0;
rem $obj_name;
var $click_cmd to "examine";
if $counter > 0 then saysome else saynone;
##saysome:
say 'msg',"[$actor] searches for '$cmd_text' and realises there are $counter of them";
##saynone:
say 'msg',"[$actor] wonders where something is but has no idea";