Note: The following is not useful to 99% of you.
So, I'm super lazy you see (is this a quality of a good programmer?). I am tired of copying the teams from the Challenge Board and taking out the spaces and special characters so .randomteam will work correctly. Instead, I'll use a Python script to do it. The script takes the wiki code (easier to work with) from a file and outputs the .randomteam argument to the same file. The only work left to do is to check the number of seeds and put them in order. Of course, there is still no way to get around putting the spaces and special characters back into the teams once on the bracket, but whatever, it's
than before.
I'm thinking of writing it in PHP for my Ladle Tools page if anyone thinks this is useful.
And here is a quick example: Copy the wiki code into a file, avoiding spaces at the start of a line (something I haven't fixed yet)...
Code: Select all
{{LadleTeamExternal|RoadRunnerZ|Zero, Vinny|0000@forums, [email protected]|Chop, Misny, Nub, Rotc, Siege, Soar, Vital|http://roadrunnerz.net}}
{{LadleTeamExternal|Wild West|Ratchet, tRonPaul|Ratchet@forums, bisasoner@forums|Destiny, Capone, Kira, Wa3yri, Negative (Punish), Neal, PldN, Prestige, Aero, Nitrous, Ghostly, Kidblast, Cookie, Aqua/Magi|http://lagtest.net}}
{{LadleTeamExternal|00ps|6ead|AshitakA@forums|zion, I<alle, Xine, N0Brain,...|http://forums3.armagetronad.net}}
{{LadleTeamExternal|\\Meet Your Maker|Vogue|liz@forums|Appleseed, Gazelle, Koala, Mister, Nuby, Vein|http://www.mymclan.com}}
{{LadleTeamExternal|Meet Your Maker\\|Rugkei, Weed|rugkei@forums, .W33D@forums|Devicat, Fippmam, Kite, Pyrrhic, Spin, Taz|http://www.mymclan.com}}
{{LadleTeamExternal|<P)hoenix|Venijn, Metal|[email protected], [email protected]|[][4mlc0][], åpå, bilbo, hawk, Icé, modis, Nagi, Sixteen, S0ska, tux.|http://phoenix-clan.org}}
{{LadleTeamExternal|Redemption/%|Soul, CuRbSidE|Soul@forums, CuRbSidE@forums|Elmo, Slick, Sine.wav, subfocus, Roter, Orion, Kivic, kronkleberry, Boxed, Illusion, Brok3n|http://rdclan.org}}
{{LadleTeamExternal|Matrix|Lowkey, Hallucination|Lowkey@forums, Hallucination@forums|Space, Plop, Swiss, Az95, Opara, Rage|http://www.Matrixclan.smfnew.com}}
{{LadleTeamExternal|<P)hoenix Wings|Fenith, Badzilla|[email protected], [email protected]|Astra, Barney, Cyanide, Fire Storm, GT350, Jamaica, karas, L00$er, mano, Nate, SpinAce, what|http://phoenix-clan.org}}
{{LadleTeamExternal|Speeders|ogopogo, insanity|[email protected], -*inS*-@forums|nubilous, mkay, teen, syre, ai, 3b, fofo, kult, viper, free, cyclo, akizo|http://speedersclan.org/forums/index.php}}
{{LadleTeamExternal|Revolver|dreadlord, free kill|dreadlord@forums, [email protected]|Concord, Durka, freako, Hoax, Olive, Xyron, 1200|http://revolverarma.tk/}}
{{LadleTeamExternal|Crazy Tronners|MB53, Pike|matchbox53@forums, Pike@forums|Animal, Gonzap, Wap, Voodoo, Jdwag, Sunny, BTD, Safari, ItzAcid, Emphasis, Beer, Zig, Owned|http://crazy-tronners.com/}}
{{LadleTeamExternal|Rogue Tronners|Poke' Master, Overrated|PokeMaster@forums, Overrated@forums| Tobe, Monkey D. Luffy, Animuson, Lackadaisical, Red, Force, DGM, Titanoboa|http://r.jumpingness.com}}
{{LadleTeamExternal|uNk|House, ppotter|DrHouse@forums, ppotter@forums| fingerbib, slash, akira, tls, Pr3, Wildcat, Hi, Jip|http://unk.me}}
And you get this...
What a great tool.