collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: minor modification to Logon_GUILD.php (colorize faction)  (Read 5321 times)

0 Members and 2 Guests are viewing this topic.

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
minor modification to Logon_GUILD.php (colorize faction)
« 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) ...

`diff _Logon_GUILD.php-revision912 Logon_GUILD.php`
Code: [Select]
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"];
Doctorhyde/Jexyll/Goraud@RK2

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: minor modification to Logon_GUILD.php (colorize faction)
« Reply #1 on: August 26, 2007, 02:40:06 am »
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.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
Re: minor modification to Logon_GUILD.php (colorize faction)
« Reply #2 on: August 26, 2007, 04:56:40 am »
quite true, though some of us do use !notify for more than just orgmates :)
Doctorhyde/Jexyll/Goraud@RK2

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 435
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal