Find
You are looking at a command called hide
hide {object|all}
Hide an object in your current location if you own it or its it not locked.
If you use the word 'all' all objects you would normaly have control to hide are hidden in one go.
NOTE: you may want to unhide or
push
the exit if that gets hidden too!
This command simply poses the object as hidden.
All objects posed as hiding or hidden are invisible to searches and can only be seen when your in the same location as it.
To make something completly dissapear you firsy hide it then put it on itself. Im sure someone will find a use for this.
here is an example:
create a rabbit
hide it
find the rabbit
when your not in the same room as it and it wont show.
To un-hide something, you mush push or zap it.. this removes any pose an object had.
Created by
wolis
, last updated 10 Jan 2008
Code
get $target in $loc;
if $target > 0 then chklock else tryall;
##tryall:
get $text;
if $text eq 'all' then hideall else end;
##hideall:
say 'msg',"[$actor] wants to hide everything inthe room";
foreach in $loc do hideall2;
##hideall2:
var $target to $for_id;
runsub chklock;
##chklock:
if $pw like $target's pwd then hideit else itslocked;
##hideit:
set $target's pose to "hidden";
say 'hid',"[$actor] does something mysterious and [$target] dissapears";
msg $loc,$actor,0,0,'force',"force:look $loc";
##itslocked:
say 'hidfail',"[$actor] tried to hide [$target] but discovers it is locked";