[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OpenVerse] /me
On Wed, 23 Feb 2000 17:40:12 -0500, Cruise <cruise@openverse.org> wrote:
> I still think it's silly and not nessecary.
Me too.
> Anyone who feels this feature is really not as silly as I think it is is
> more than welcomed to write it and i'll include it in the code base. it's
> not like it's a platform issue or tcl core issue.
For people who are so used to using irc that they just can't stop trying to
use /me, I've made the following plugin. It does nothing but turn your
"/me blah blah" into standard "yournick blah blah" in chat.
If you want it to do something else, change the SendToServer line. For
example, if you wanted it to show up as an idea, change it to "SCHAT IDEA
$MV(nick) $rest". If you don't want it to shove your nick in, delete the
$MV(nick) part.
Create the directory ~/.OpenVerse/plugins/SlashMe (or whatever it's called
under other operating systems) and dump the following text, between but not
including the "---cut here---" lines, into a file called PlugInit.tcl. Or
download it from
http://justice.loyola.edu/~elange/openverse/SlashMe-PlugInit.tcl, and
rename it to PlugInit.tcl.
---cut here---
#
# simple /me plugin
# by KaosBeetl, 02/24/2000
#
RegisterPlugin SlashMe ProcessCommand SlashMe
proc SlashMe {what cmd parms rest} {
global MV
# DebugIt "SlashMe: '$what' '$cmd' '$parms' '$rest'"
if {![string compare [string tolower $cmd] "/me"]} {
SendToServer "CHAT $MV(nick) $rest"
return 0
}
return 1
}
---cut here---
KaosBeetl - /me is a duck
-----------------------------------------------------------------
To unsubscribe to the OpenVerse mailing list send a message
to openverse-request@openverse.org with the following word
in the BODY of the message.
UNSUBSCRIBE
If you need assistance from a human, email cruise@openverse.org
-----------------------------------------------------------------