BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.5.x Custom/Unofficial Modules => Topic started by: Temar on September 10, 2007, 09:57:17 pm

Title: Whois.php Fix
Post by: Temar on September 10, 2007, 09:57:17 pm
Problem doing !whois with colors or stuff like highlight
reason: ##color##nick##end## (##nick##) changeing to color
fix - Moved a few bits so the nickname is no longer the only thing in the middle of the color
the prob is prob caused by it doing a check for ##color## before ##whois_name##
Title: Re: Whois.php Fix
Post by: Ebag333 on September 11, 2007, 10:45:19 am
Can you give an example of the problem you were seeing?
Title: Re: Whois.php Fix
Post by: Alreadythere on September 11, 2007, 01:07:40 pm
##color1##color2##end## creates a problem, as you can't guarantee if color1 or color2 gets replaced first. I should have picked different opening and closing tags I guess.

There still is time to correct that, even if it requires a complete modifying of all color tags in all modules.
Title: Re: Whois.php Fix
Post by: Temar on September 11, 2007, 04:13:40 pm
the broblem in this case is like what alreadythere wrote only color2 was the charname
SimplePortal 2.3.7 © 2008-2024, SimplePortal