12.02.2013 Views

Community Building with ChatSpace Server Manual

Community Building with ChatSpace Server Manual

Community Building with ChatSpace Server Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Prefix commands<br />

The following variables must be used in the first column of a new line and<br />

only apply to the remainder of the line.<br />

Variable Explanation<br />

%ifchannel% The rest of the line is ignored if there are no rooms.<br />

%channels% The rest of the line is repeated for each room <strong>with</strong> the<br />

%channel%, %room%, %topic%, and %users% for that<br />

room<br />

%channel[name]% For the rest of the line, any use of the %channel%,<br />

%room%, %topic%, and %users% uses the named room<br />

as a context. If the named room is not found then the<br />

line is ignored.<br />

Example: channel[#support]% There are currently<br />

%users% in the %room% room, which is dedicated to<br />

%topic%<br />

%room[name]% For the rest of the line, any use of the<br />

%room%,%topic%, and %users% uses the named room<br />

as a context. If the named room is not found, then the<br />

line is ignored.<br />

Example:room[support]% There are currently %users%<br />

in the %room% room, which is dedicated to %topic%<br />

%regusers% The rest of the line is repeated for each member <strong>with</strong><br />

the %nick%, %name%, %info%, %ison%, %authority%,<br />

%rooms%, %url%, %email%, %laston% for that member<br />

%reguser[name]% For the rest of the line, any use of %nick%, %name%,<br />

%info%, %ison%, %authority%,%rooms%, %url%,<br />

%email%, and %laston% uses the named member as a<br />

context. If the named user is not found, then the line is<br />

ignored<br />

Example: %reguser[barney]% Barney is currently<br />

%ison% and is in %rooms%. You can view his<br />

homepage at %url% and E-mail him at %email%<br />

%Members[roomName]% The rest of the line is repeated for each member <strong>with</strong><br />

the %nick%, %nickonly%, and %ismoderator% for that<br />

member<br />

69

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!