I just recently posted a blog article about this sort of thing. Check it out http://biventure.blogspot.com/2011/09/wild-thing-ill-map-your-pattern-strings.html
You can use your pattern string arguments all in one call of wildmatch like this
WildMatch(AccountCodeFull,'*500140*', '*211340*', '*231402*', '*211440*', '*500240*', '*127427*', '*124166*', '*147119*', '*127146*')
Having done that you'll be left with a number so you can use an inline table or whatever to generate a map.
There are more specific details in the blog so please take a look.