Find
You are looking at a command called whisper
whisper {text} [to {object}]
Whisper something to everyone in your current location or whisper something to another player even if they are not in your current location.
whisper what is this place?
whisper quick come here to wolis
read the command called say
read the command called shout
Created by
wolis
, last updated 19 Dec 2010
Code
get $text,$rel,$target;
if $text eq "" then fail else chktarget;
##chktarget:
if $target > 0 then whisper else whisperit;
##whisper:
msg 0,$actor,$target,$second,'wispers',"
( [$actor] whispers '$text' just to [$target] )
",$actor;
##whisperit:
get $text;
if $text eq "" then fail else loudwhisper;
##loudwhisper:
say 'whispers',"[$actor] whispers
'$text'
";
##fail:
msg 0,$actor,$actor,$actor,'whisperfail',"
( You must
whisper
a message
to
a player )
",$actor;