gaim/www

update tags
default tip
2019-09-10, convert-repo
7d915c997ccd
update tags
<!--#include virtual="/header.shtml"-->
<h1>Cool Gaim Tricks</h1>
<blockquote>
There's a couple neat things you can do with Gaim if you're not afraid to modify
the source. Most of these tricks are for oscar since that's the protocol that I
know the best. Don't ask me about any of this stuff, you won't get help from me.
<h3>Sending buddy icons</h3>
<p>OK, so you used to be able to set user->iconfile in multi.c, but you can't do
that anymore. Now just set it in your .gaimrc. For each user, you should see:
<P><pre> user {
ident { EWarmenhoven } { mynameisfred }
user_info {
C:)
}
user_opts { 6 } { 1 }
proto_opts { login.oscar.aol.com } { 5190 } { } { } { } { } { }
}
</pre>
<P>If you're using a newer cvs you should also see:
<P><pre> iconfile { }
</pre>
<P>Just put in there the file you want, e.g. { /home/eric/peng.gif }.
<h3>Reversing the conversation colors</h3>
<P>If you're used to WinAIM and want the color of the name on incoming messages
to be blue instead of red, here's how you change them. In conversation.c, in the
function write_to_conv around line 1400, is a set of statements:
<P><pre>if (flags & WFLAG_RECV)
strcpy(colour, "#ff0000");
else if (flags & WFLAG_SEND)
strcpy(colour, "#0000ff");
</pre>
<P>Just switch the two strcpy lines.
<h3>Hiding MemberSince</h3>
<P>In Oscar, you can hide how long you've been a member since by removing one
flag. In src/protocols/oscar/oscar.c, in gaim_rateresp, is a call to
aim_bos_setprivacyflags. Just remove the AIM_PRIVFLAGS_ALLOWMEMBERSINCE from
there. You can also hide idle time at a protocol level that way (there's an
AIM_PRIVFLAGS_ALLOWIDLE flag).
<h3>Blocking AOL Users</h3>
<P>If you want to make it so only people using AOL can't see you (again, only if
you're using Oscar), in gaim_rateresp, there's a call to aim_bos_setgroupperm.
Change it from AIM_FLAG_ALLUSERS to AIM_FLAG_ALLUSERS ^ AIM_FLAG_AOL. Similarly,
to block everyone who isn't an AOL user, change it to just AIM_FLAG_AOL.
<h3>Control your limits</h3>
<P>You can specify the largest message you can receive, and how often you can
receive them. In src/protocols/oscar/oscar.c, in gaim_icbm_param_info, change
params->maxmsglen to the largest message you want to be able to receive.
params->minmsginterval is the minimum number of milliseconds between messages.
That is, if you don't want large messages and you don't want to get flooded,
change these to 2000 and 2000. You'll only be able to receive messages 2000
characters long, once every two seconds. (Incidentally, this is most likely
what the TOC server does to limit messages to TOC users to 4k chars.)
</blockquote>
<!--#include virtual="/footer.shtml"-->