Skip to content

takilara/cpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPC

Mudlet Cross Profile Communication package

Description

This package allows you to control several profiles from one profile. It currently supports the following commands:

Command API (commands to use in an alias/trigger) Description
#HELP cpc:showHelp() Show Helpfile(s)
#VERSION cpc:showVersion() Show version(s)
#ALL <arguments> cpc:handleCommand("all","say hi") Send command to all profiles
#DO <arguments> cpc:handleCommand("do","bow") send command to all other profiles
#BID <profile> <arguments> cpc:handleCommand("bid","gandalf cast light at demon") send command to one character (immediate execution)
#ECHO <text> cpc:handleCommand("echo","Im Dying!!!") show something in all terminals
#TELL <profile> cpc:handleCommand("tell","boromir DIE!!") show something in one particular terminal

The #<COMMAND> commands are meant to be used from within the game. To use these mechanics in scripts or aliases, use the API commands

Installation

The package can be installed in multiple ways. Use your preferred method.

Standard install

The preferred method for most people

  • Download the cpc.mpackage from releases
  • In your Mudlet profile, click Toolbox -> Package manager
  • Click the 'Install' button, and browse to the downloaded cpc.mpackage

Module install for code changes

If you want to contribute with code changes back to the repository, or make code changes that you will be using in multiple profiles, then this is the preferred method. Note! when installed like this, the scripts and aliases will be organized under 'cpc' rather than 'Cross Profile Communications'

  • Git clone this repository
  • In your Mudlet profile, click Toolbox -> Module manager
  • Click the 'Install' button, and browse to the git clone of the repository
  • Select the file cpc.xml
  • Check the 'Sync' checkbox if you want your changes to be stored back to the checkout folder (e.g. for commits back to the repository, or for use on multiple profiles)

References