I am Bored Posted March 14, 2015 Report Posted March 14, 2015 Currently, entering "CTC" into the chat transforms it into "Creature Transfer Code: CTC". This is way overly optimistic, and will trigger on phrases such as "CTC sent". The transform should instead check that CTC is followed by "[0-9]+[A-Z]{5}[0-9]{2}" (in the form of a regex) The reason I do not suggest that it check for the presence of "MDC" is because a partial CTC, such as what is used to check information about the creature via clickables, should still be transformed. The ITC (Item Transfer Code) and ATC (Avatar Transfer Code) transforms also suffer from the same problem, and can be solved with the same regex solution. Muratus del Mur 1 Quote
Root Admin Chewett Posted March 20, 2015 Root Admin Report Posted March 20, 2015 CTC's do not fit the pattern you have suggested. Quote
I am Bored Posted March 20, 2015 Author Report Posted March 20, 2015 The full CTC does not, yes, but the initial part, before MDC does. I believe that partial CTCs, such as is used for checking information on the creature via clickables, should still be highlighted, which is why I suggested that pattern. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.