Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Cmd-remotespoof

From Tapestries MUCK

Revision as of 02:47, 30 April 2007 by WhiteWizard (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

cmd-remotespoof(#174FLM3) is a MUF program to allow you to spoof messages into another room. It is designed for use to control remote NPCs and other such activities.

This is commonly used with lst-broadcast to see what is going on in the room you are spoofing into.

Usage

Once setup, simply type the command that was created followed by the text you wish to spoof.

Setup

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:

@action rspoof=here,#174

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 rspoof=_room1:1234

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:

@set here=_rspoof_ok?:yes

Credits

Copyright 1992 Peter "WhiteFire" Torkelson - Version 1.0.0, Aug 14, 1992
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox