&channel_class

$root_class | $room | $player | $builder | $prog | $admin | $mail_recipient | $note | $generic_utils

Name channel class
Number #3618
Reference &channel_class
Owners
Visual
channel class
This object has no visual representation.
Help on Object

		Channel Class <&channel_class>
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To allow people/objects to use your channel through the &channel_feature:
@trust &channel_feature to manage <OBJ your_channel>

To allow people/objects to announce (talk) on your channel:
@trust <class> to announce <OBJ your_channel>

To allow people/objects to listen to your channel:
@trust <class> to listen <OBJ your_channel>

Example:
a) to make a public channel named my_public_channel, 3 steps:
   1) @trust &channel_feature to manage my_public_channel
   2) @trust $everything to announce my_public_channel
   3) @trust $everything to listen my_public_channel

b) to make a channel, named my_semi_public_channel, where all players can listen, but where guests
 can't talk (though guests can listen),  steps:
   1) @trust &channel_feature to manage my_semi_public_channel
   2) @trust players to announce my_semi_public_channel
   3) @distrust $guest to announce my_semi_public_channel
   4) @trust players to listen my_semi_public_channel


There is a few parameters you can customize:
@channel_prefix &channel_class is "[$perm][$title] "
@channel_title &channel_class isn't set.
@channel_color &channel_class is "%green%bold"

The channel prefix is (as its name suggest it) the prefix that is put at the beginning of every
 line of text displayed by the channel to its listeners. The permissions of the listeners will be
 displayed instead of $perms and the title of the channel (or its name if no channel title is set)
 will be displayed instead of $title.
The listeners perms are:
+ if the channel is the one the listeners is also currently talking on.
- if the listeners is just listening and not talking on the channel.

So if you see: [-][Public] <some text>
You know that if you want to say something on Public you will have to switch to the channel first
 or to make a comment to that channel (with x>>public <test> or x//public <test>,
 see help &channel_feature for more information.)

The channel color is not currently used.
Ancestors
Children
Commands
This object defines no commands.
Methods
Names Owner Perms Arguments
1 :announce*_all_but chtell announce_to Eval rxd util
2 :add_listener Eval rxd util
3 :remove_listener remove_talker remove_tmp_talker Eval rxd util
4 :add_talker Eval rxd util
5 :get_info Eval rxd util
6 :title Eval rxd util
7 :say Eval rxd any any any
8 :emote Eval rxd any any any
9 :to Eval rxd any any any
10 :transmit_announce*_all*_but transmit_announce_to transmit_chtell Eval rxd util
11 :confunc Eval rxd util
12 :disfunc Mother rxd util
13 :acceptable Eval rxd util
14 :listeners talkers tmp_talkers Eval rxd util
15 :add_tmp_talker Eval rxd util
16 :who_listing_data who_all_listing_data Eval rxd util
17 :contents Hacker rxd util
Properties
Name Owner Perms Value
1 .channel_talkers     E_PERM
2 .hidden Eval r 0
3 .noisy Eval r 0
4 .channel_title_msg Eval rc ""
5 .channel_color_msg Eval rc ""
6 .channel_prefix_msg Eval rc "%<color=magenta>[$perm][$title] "
7 .channel_listeners     E_PERM
8 .channel_tmp_talkers     E_PERM
.htext
none


TecfaMOO
-- telnet://tecfamoo.unige.ch:7777 -- Mail us -- http://tecfamoo.unige.ch:7778/ --
-- One user connected --