L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 10:16:46 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.4.x Custom/Unofficial Modules > Topic: minor modification to Logon_GUILD.php (colorize faction)
Pages: [1]   Go Down
« previous next »
Print
Author Topic: minor modification to Logon_GUILD.php (colorize faction)  (Read 204 times)
0 Members and 1 Guest are viewing this topic.
Hyde
Rookie
**
Offline Offline

Posts: 46


minor modification to Logon_GUILD.php (colorize faction)
« on: August 25, 2007, 02: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) ...

`diff _Logon_GUILD.php-revision912 Logon_GUILD.php`
Code:
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"];
Logged

Doctorhyde/Jexyll/Goraud@RK2
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: minor modification to Logon_GUILD.php (colorize faction)
« Reply #1 on: August 25, 2007, 07:40:06 PM »

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.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Hyde
Rookie
**
Offline Offline

Posts: 46


Re: minor modification to Logon_GUILD.php (colorize faction)
« Reply #2 on: August 25, 2007, 09:56:40 PM »

quite true, though some of us do use !notify for more than just orgmates Smiley
Logged

Doctorhyde/Jexyll/Goraud@RK2
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.4.x Custom/Unofficial Modules > Topic: minor modification to Logon_GUILD.php (colorize faction)
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[Today at 04:41:09 PM]

Shared DB online list
by Temar
[Today at 01:55:47 AM]

relay colors
by Temar
[Today at 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 0
Guests: 14
Total: 14

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.196 seconds with 28 queries. (Pretty URLs adds 0.034s, 4q)
Loading...