Alice
view release on metacpan or search on metacpan
lib/Alice/Readme.pod view on Meta::CPAN
'user' => 'lee',
'pass' => 'mypassword',
},
=head1 COMMANDS
=over 4
=item /j[oin] [-network] $channel
Takes a channel name as an argument, and an optional network flag.
If no network flag is provided, it will use the network of the
current tab.
=item /close
Closes the current tab. If used in a channel it will also part the
channel.
B</wc> and B</part> are aliases for /close
=item /clear
This will clear the current tab's messages from your browser. It
will also clear the tab's message buffer so when you refresh your
browser the messages won't re-appear.
=item /msg [-network] <nick> [<msg>]
Takes a nick as an argument and an optional network flag. If no
network flag is provided, it will use the network of the current
tab. A third argument may be used for the message text. If no message
text is provided, a blank tab will be opened.
B</query> is an alias for /msg
=item /whois [-force] <nick>
Takes a nick as an argument and an optional force flag. This will
print some information about the supplied user. If the force flag
is provided, the information will be refreshed from the server.
=item /quote <command>
Sends a string as a raw message to the server.
B</raw> is an alias for /quote
=item /t[opic] [<topic>]
Takes an optional topic string. This will display the topic for the
current tab. If a string is supplied, it will attempt to update
the channel's topic. Only works in a channel.
=item /n[ames] [-avatars]
This will print a table of all of the nicks in the current tab. An
optional avatars flag can be provided to include avatars.
=item /me <action>
Sends a string as an action to the channel.
e.g. * lee hits clint with a large trout
=item /w[indow] <number>
Focus the provided tab number. Also accepts "next" or "prev". The
share/static/alice.js view on Meta::CPAN
else if (value === '') {
f = function(element, attribute) {
attribute = element.getAttribute(attribute);
if (!attribute) return null;
return attribute.strip();
};
}
el = null;
return f;
})(),
_flag: function(element, attribute) {
return $(element).hasAttribute(attribute) ? attribute : null;
},
style: function(element) {
return element.style.cssText.toLowerCase();
},
title: function(element) {
return element.title;
}
}
}
share/static/alice.js view on Meta::CPAN
Element._attributeTranslations.write.names[attr.toLowerCase()] = attr;
Element._attributeTranslations.has[attr.toLowerCase()] = attr;
});
(function(v) {
Object.extend(v, {
href: v._getAttr2,
src: v._getAttr2,
type: v._getAttr,
action: v._getAttrNode,
disabled: v._flag,
checked: v._flag,
readonly: v._flag,
multiple: v._flag,
onload: v._getEv,
onunload: v._getEv,
onclick: v._getEv,
ondblclick: v._getEv,
onmousedown: v._getEv,
onmouseup: v._getEv,
onmouseover: v._getEv,
onmousemove: v._getEv,
onmouseout: v._getEv,
onfocus: v._getEv,
( run in 0.566 second using v1.01-cache-2.11-cpan-94b05bcf43c )