View Single Post
Old 05-21-2011, 03:13 PM   #52
cephasjames
Hall Of Famer
 
Join Date: Jun 2004
Posts: 8,736
Quote:
Originally Posted by thevaliantx View Post
Layton, in the case of those who want randomly selected logos for say, 'pirates', would you the first instance of each letter (ie, pirates being in the 'p' section of the list) do this?

if first letter of word is 'p' then create array
for each following word that starts with 'p' add to array
if following word does not start with 'p' then
get length of array
range of random numbers starts from 0 to (length of array - 1)
random 'pirate' logo is equal to array 'pirate' [random number]

or something like that. It has been a LONG time since I took a programming course.
I'm not sure how much Layton is My Homeboy reads this thread. If you're trying to reach him quickly I'd either PM him or start another thread addressed to him (PING: Layton is my homeboy).
__________________
5000+ Generic Logos Free for the Taking
FREE: Uniforms and logos for 500+ teams spanning 1871-present
Great Lakes League: 10 Conferences, 100 Teams
Pre-OOTP 23 Custom Cap & Jersey Template v3.0 by Deft and NoPepper (with layers from other various artists) that I use: Caps, Jerseys
cephasjames is offline   Reply With Quote