From Tapestries MUCK
This is commonly used with lst-broadcast to see what is going on in the room you are spoofing into.
Once setup, simply type the command that was created followed by the text you wish to spoof.
To setup cmd-remotespoof you need to know the dbref of your destination room(s). In this example we will use #1234 to represent our mythical destination and rspoof as the name of our exit.
Create the Exit
In the room where you want to be doing the spoofing from, create the action and link it to the program:
Set the Destination
Destinations are controlled by properties named _roomn, starting at 1. So the first room would be property _room1. The dbref is set with out the pound sign (#).
Set the Format
The spoof may be formatted to include extra characters around the "message" that is sent. The default format is: [ %m ] So by default the behavior you get is:
rspoof This is my test message! [ This is my test message! ]
To change the format, you need set the _messagen property. You need to use the same number as the room you want to set the message for, so to change the message for the room listed in _room1 you set the property _message1. For example, to specify an unrestricted format:
@set rspoof=_message1:%m rspoof This is my test message! This is my test message!
Destination Room Setup
If you own the destination room, you do not have to do anything further. If you do not, you need to get the owner of the destination room to set a property that allows remote spoofs. Inside that room, they must enter the command:
This is an example of how to use cmd-remotespoof to implement an NPC. Again we will use #1234 as our example room, and our NPC will be named Bob. We will be creating two exits, bsay and bpose, so that you can pose and say as Bob. Start in the source room and use these commands:
@action bsay=here,#174 @action bpose=here,#174 @set bsay=_room1:1234 @set bsay=_message1:Bob says, "%m" @set bpose=_room1:1234 @set bpose=_message1:Bob %m
This will give output like:
bsay Hihi, I'm bob! Bob says, "Hihi, I'm bob!" bpose waves his hand. Bob waves his hand. bpose 's name is Bob. Bob 's name is Bob.
Note the last example which shows a deficiency of this command: it has no logic for handling poses that start with single quotes like the standard pose command does.
Copyright 1992 Peter "WhiteFire" Torkelson - Version 1.0.0, Aug 14, 1992