Difference between revisions of "Code Changes"

From TwistedMUCK
Jump to: navigation, search
(07/19/2014)
(Code Changes)
Line 1: Line 1:
 
==Code Changes==
 
==Code Changes==
 
<div class="mw-collapsible mw-collapsed">
 
<div class="mw-collapsible mw-collapsed">
 +
<div class="mw-collapsible-content">==07/26/2014==
 +
With this new ComSystem comes a few new changes.
 +
 +
Listed Below are the commands, and what each does.
 +
 +
add
 +
 +
  @chan/add <alias>=<channel>
 +
  <alias> #add <newalias>
 +
  Add a prompt for a channel.
 +
  Will join the channel if not already on it.
 +
  The <alias> you define is the command you use for using the channel.
 +
 +
delete
 +
 +
  @chan/delete <alias>
 +
  <alias> #delete
 +
  Deletes an alias.
 +
  If all aliases are deleted, you will leave the channel.
 +
 +
on
 +
 +
  @chan/on <channel>
 +
  <alias> #on
 +
  Turns a channel on if it was 'off' or 'gagged'.
 +
  Does nothing if you are not on the channel already.
 +
 +
off
 +
 +
  @chan/off <channel>
 +
  <alias> #off
 +
  Tune out of a channel. This does not take you off the channel, but you cannot hear the channel again until you use 'on'.
 +
 +
gag
 +
 +
  @chan/gag <channel>
 +
  <alias> #gag
 +
  Tune out of a channel. When you log completely out, you will automatically ungag any gagged channels.
 +
 +
ungag
 +
 +
  @chan/ungag <channel>
 +
  <alias> #ungag
 +
  Ungag a channel you have previously gagged.
 +
 +
filter
 +
 +
  @chan/filter <channel>=<filter>
 +
  <alias> #filter <filter>
 +
  Set text that you want used to filter lines you see coming from the channel. If you want more than 1 word or phrase, use | marks to seperate them.
 +
  Set the filter to 'clear' to clear it.
 +
 +
last
 +
 +
  @chan/last <channel>[=<# lines>]
 +
  <alias> #last
 +
  Without specifying the lines, will echo back any activity on the
 +
  channel in the last 10 real minutes. If the # of lines is specified
 +
  it will echo back the # of lines specified if possible.
 +
 +
who
 +
 +
  @chan/who <channel>
 +
  <alias> #who
 +
  List who is online who is on the channel. '@' marks channel admin.
 +
  (*) marks the channel owner or staff.
 +
 +
info
 +
 +
  @chan/info <channel>
 +
  <alias> #info
 +
  Print out various settings, stats, and other information about a channel.
 +
 +
title
 +
 +
  @chan/title <channel>=<title>
 +
  <alias> #title <title>
 +
  Set your channel title if the channel is set to allow them.
 +
 +
comtitle
 +
 +
  comtitle <alias>=<title>
 +
  Set your channel title if the channel is set to allow them.
 +
 +
list
 +
 +
  @chan/list
 +
  List out the various channels you can join along with other info.
 +
 +
comlist
 +
 +
  comlist
 +
  List out the various channels you can join along with other info.
 +
 +
alias
 +
 +
  @chan/alias
 +
  Print out the aliases you are using to access the various channels.
 +
 +
invite
 +
 +
  @chan/invite <channel>
 +
  @chan/invite <channel>=<player>
 +
  <alias> #invite <player>
 +
  Invite a player into a private channel.
 +
  If no player is specified, lists the players that are invited into the channel currently.
 +
 +
uninvite
 +
 +
  @chan/uninvite <channel>=<player>
 +
  <alias> #uninvite <player>
 +
    Uninvite a player into a private channel.
 +
 +
ban
 +
 +
  @chan/ban <channel>=<player>
 +
  <alias> #ban <player>
 +
  Removes a player from a channel and prevents them from rejoining until they are unbanned.
 +
  If no player is specified, lists all of the banned players.
 +
 +
unban
 +
 +
  @chan/unban <channel>=<player>
 +
  <alias> #unban <player>
 +
  Allows a banned player back onto a channel.
 +
 +
allowspoof
 +
 +
  @chan/allowspoof <channel>
 +
  Toggles whether users are allowed to spoof on a channel.
 +
  Admin are always allowed to spoof.
 +
 +
allowtitle
 +
 +
  @chan/allowtitle <channel>
 +
  Toggles whether or not users are allowed to set channel titles.
 +
  If set to disabled, titles will stop showing up.
 +
 +
kick
 +
 +
  @chan/kick <channel>=<player>
 +
  <alias> #kick <player>
 +
  Kick a player from a channel. They are not banned from rejoining.
 +
 +
 +
 +
 +
Admin only
 +
 +
create
 +
 +
  @chan/create <channel>
 +
  Create a channel with the <channel> name. You will be the channel
 +
  owner.
 +
 +
destroy
 +
 +
  @chan/destroy <channel>
 +
  Destroy a channel. You must be the channel owner.
 +
 +
admin
 +
 +
@chan/admin <channel>
 +
  @chan/admin <channel>=<player>
 +
  <alias> #admin <player>
 +
  Promote a channel user up to admin status.
 +
  If no player is specified, prints out a list of the channel admin.
 +
 +
unadmin
 +
 +
  @chan/unadmin <channel>
 +
  <alias> #unadmin <player>
 +
  Demote an admin down from being an admin.
 +
 +
public
 +
 +
  @chan/public <channel>
 +
  Set a channel as public. When a channel is public, any nonbanned player can join it without needing to be invited.
 +
 +
private
 +
 +
  @chan/private <channel>
 +
  Set a channel as private. When a channel is private, players must be invited to join or must have the joinprop set on them.
 +
 +
announcejoin
 +
 +
  @chan/announcejoin <channel>
 +
  Toggles whether joins and leaves are announced on the channel.
 +
 +
announceconnect
 +
 +
  @chan/announceconnect <channel>
 +
  Toggles whether connects and disconnects are announced on the channel.
 +
 +
desc
 +
 +
  @chan/desc <channel>=<desc>
 +
  Set the descriptionf or the channel that will show up in the 'info' output for that channel.
 +
 +
prompt
 +
 +
  @chan/prompt <channel>=<prompt>
 +
  Set an override to the default <channelname> prompt to be seen.
 +
 +
joinprop
 +
 +
  @chan/joinprop <channel>=<joinprop>
 +
  Set the propery that players must have set on them in order to join the channel.
 +
 +
log
 +
 +
  @chan/log <channel>
 +
  Toggles whether or not the channel gets written out to log.
 +
 +
sethistory
 +
 +
  @chan/sethistory <channel>=<#>
 +
  Sets the # of lines that are kept in memory as a buffer for that
 +
  channel.
 +
 +
timeout
 +
 +
  @chan/timeout <channel>
 +
  Toggles whether or not a channel will timeout.
 +
 +
nospeak
 +
 +
  @chan/nospeak <channel>
 +
  Toggles whether or not the channel can be used to speak on. If
 +
  a channel is set nospeak, no one can speak directly onto it.
 +
 +
Channel Spoofing
 +
 +
  To initiate this, please type <channel alias> sp <text>
 +
 +
  This will intiate the channel spoofing.</div>
  
 
==07/19/2014==
 
==07/19/2014==

Revision as of 19:34, 26 July 2014

Code Changes

==07/26/2014==

With this new ComSystem comes a few new changes.

Listed Below are the commands, and what each does.

add

  @chan/add <alias>=<channel>
  <alias> #add <newalias>
  Add a prompt for a channel.
  Will join the channel if not already on it.
  The <alias> you define is the command you use for using the channel. 

delete

  @chan/delete <alias>
  <alias> #delete
  Deletes an alias.
  If all aliases are deleted, you will leave the channel.

on

  @chan/on <channel>
  <alias> #on
  Turns a channel on if it was 'off' or 'gagged'.
  Does nothing if you are not on the channel already. 

off

  @chan/off <channel>
  <alias> #off
  Tune out of a channel. This does not take you off the channel, but you cannot hear the channel again until you use 'on'.

gag

  @chan/gag <channel>
  <alias> #gag 
  Tune out of a channel. When you log completely out, you will automatically ungag any gagged channels. 

ungag

  @chan/ungag <channel>
  <alias> #ungag
  Ungag a channel you have previously gagged. 

filter

  @chan/filter <channel>=<filter>
  <alias> #filter <filter> 
  Set text that you want used to filter lines you see coming from the channel. If you want more than 1 word or phrase, use | marks to seperate them. 
  Set the filter to 'clear' to clear it.

last

  @chan/last <channel>[=<# lines>]
  <alias> #last
  Without specifying the lines, will echo back any activity on the
  channel in the last 10 real minutes. If the # of lines is specified
  it will echo back the # of lines specified if possible.

who

  @chan/who <channel>
  <alias> #who
  List who is online who is on the channel. '@' marks channel admin.
  (*) marks the channel owner or staff. 

info

  @chan/info <channel>
  <alias> #info
  Print out various settings, stats, and other information about a channel.

title

  @chan/title <channel>=<title>
  <alias> #title <title>
  Set your channel title if the channel is set to allow them. 

comtitle

  comtitle <alias>=<title>
  Set your channel title if the channel is set to allow them.

list

  @chan/list
  List out the various channels you can join along with other info.

comlist

  comlist
  List out the various channels you can join along with other info.

alias

  @chan/alias
  Print out the aliases you are using to access the various channels.

invite

  @chan/invite <channel> 
  @chan/invite <channel>=<player>
  <alias> #invite <player>
  Invite a player into a private channel.
  If no player is specified, lists the players that are invited into the channel currently. 

uninvite

  @chan/uninvite <channel>=<player>
  <alias> #uninvite <player>
   Uninvite a player into a private channel. 

ban

  @chan/ban <channel>=<player>
  <alias> #ban <player>
  Removes a player from a channel and prevents them from rejoining until they are unbanned. 
  If no player is specified, lists all of the banned players. 

unban

  @chan/unban <channel>=<player>
  <alias> #unban <player>
  Allows a banned player back onto a channel. 

allowspoof

  @chan/allowspoof <channel>
  Toggles whether users are allowed to spoof on a channel. 
  Admin are always allowed to spoof. 

allowtitle

  @chan/allowtitle <channel>
  Toggles whether or not users are allowed to set channel titles.
  If set to disabled, titles will stop showing up. 

kick

  @chan/kick <channel>=<player>
  <alias> #kick <player>
  Kick a player from a channel. They are not banned from rejoining.



Admin only

create

  @chan/create <channel>
  Create a channel with the <channel> name. You will be the channel
  owner.

destroy

  @chan/destroy <channel>
  Destroy a channel. You must be the channel owner. 

admin

@chan/admin <channel>

  @chan/admin <channel>=<player> 
  <alias> #admin <player>
  Promote a channel user up to admin status. 
  If no player is specified, prints out a list of the channel admin.

unadmin

  @chan/unadmin <channel>
  <alias> #unadmin <player>
  Demote an admin down from being an admin. 

public

  @chan/public <channel> 
  Set a channel as public. When a channel is public, any nonbanned player can join it without needing to be invited. 

private

  @chan/private <channel> 
  Set a channel as private. When a channel is private, players must be invited to join or must have the joinprop set on them.

announcejoin

  @chan/announcejoin <channel>
  Toggles whether joins and leaves are announced on the channel.

announceconnect

  @chan/announceconnect <channel>
  Toggles whether connects and disconnects are announced on the channel. 

desc

  @chan/desc <channel>=<desc>
  Set the descriptionf or the channel that will show up in the 'info' output for that channel. 

prompt

  @chan/prompt <channel>=<prompt>
  Set an override to the default <channelname> prompt to be seen.

joinprop

  @chan/joinprop <channel>=<joinprop>
  Set the propery that players must have set on them in order to join the channel.

log

  @chan/log <channel>
  Toggles whether or not the channel gets written out to log.

sethistory

  @chan/sethistory <channel>=<#>
  Sets the # of lines that are kept in memory as a buffer for that
  channel.

timeout

  @chan/timeout <channel>
  Toggles whether or not a channel will timeout.

nospeak

  @chan/nospeak <channel>
  Toggles whether or not the channel can be used to speak on. If
  a channel is set nospeak, no one can speak directly onto it.

Channel Spoofing

  To initiate this, please type <channel alias> sp <text>
This will intiate the channel spoofing.

07/19/2014

Updated the Game's primary code to use ZetaMUCK.

Re-Enabled the Pueblo Port.

Repaired general errors with the Look system.
Personal tools