BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => 0.4.x Custom/Unofficial Modules => Topic started by: Hyde on August 25, 2007, 09:42:10 pm
-
Minor change, just colorizes the faction name on logon.
Diff to run against 0.4.1's Logon_GUILD.php (download original version to patch against (http://svn.shadow-realm.org/index.py/BeBot/tags/0.4.1/modules/Logon_GUILD.php?view=co)) ...
`diff _Logon_GUILD.php-revision912 Logon_GUILD.php`
33,34c33,34
< * File last changed at $LastChangedDate$
< * Revision: $Id$
---
> * File last changed at $LastChangedDate: 2007-07-25 21:09:30 +0200 (Wed, 25 Jul 2007) $
> * Revision: $Id: Logon_GUILD.php 818 2007-07-25 19:09:30Z shadowmaster $
148c148
< $res .= "##logon_ailevel##" . $result["at_id"] . "##end## " . $result["faction"] . " " . $result["profession"];
---
> $res .= "##logon_ailevel##" . $result["at_id"] . "##end## ##" . strtolower($result["faction"]) . "##" . $result["faction"] . "##end## " . $result["profession"];
-
Seeing as all members of the guild will be of the same faction I thought it redundant to add this. However for a raidbot or guest channel output colorizing the output would be a good idea.
-
quite true, though some of us do use !notify for more than just orgmates :)