/***
USAGE:
IRC(ROOM)
embed an IRC chat room linked to given chat room
***/
var channel = $0 ?? $channel ?? "mindtouch";
<p> "The chat window below will automatically connect you to IRC at irc.freenode.net in the #mindtouch channel. Or try this link: "; <a class="external" title=("irc://irc.freenode.net/" .. channel) href=("irc://irc.freenode.net/" .. channel)> "irc://irc.freenode.net/" .. channel </a></p>
if(user.anonymous) {
<iframe width="700" scrolling="no" height="480" style="border: 0pt none ;" src=("http://webchat.freenode.net/" & { channels: channel })/>
} else {
<iframe width="700" scrolling="no" height="480" style="border: 0pt none ;" src=("http://webchat.freenode.net/" & { channels: channel, nick: user.name })/>
}| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by