Great Plugin, one of the best hot potatoes out there, and it's free! Minecraft: CASINO MOD (SLOT MACHINES, PRIZES, DIAMONDS, & EMERALDS) Mod Showcase. It's simple: the players are in an arena; one of them is the potato.
Context::
I play on an MC server called Mineplex and they had a game (not sure if they have it now) called Draw My Thing but it's not that popular / fun anymore. Can't find a game or competition most of the time on there. Now it's basically Pictionary but you can see hints (such as letters, word length)
I found a website that had a cheat, and that works great but I wanted to see if I can make it more efficient.
How it works::
You put in a number in the edit-box on the top-left which is the word length
You put in the hint letters in the edit-boxes on the bottom which are the slots / letters in the word you are guessing.
The script sees which words it could be and they appear in the box on the top-right.
My script is very wild and all over the place and it will take quite a long time to write out the rest of it.
How can I make it easier to write and read?
2letter := ["cd","tv"] ;All words that have 2 letters with no spaces 3letter := ["ant", "arm", "axe", "bag", "bat", "bed", "bow", "box", "boy", "bug", "bus", "cap", "car", "cat", "cow", "cup", "dog", "ear", "egg", "elf", "eye", "fat", "fly", "gun", "hat", "ice", "jam", "jar", "key", "owl", "pen", "pie", "pig", "rug", "sea", "ski", "sun", "usb", "zoo"] ;^ 4letter := ["ants", "baby", "ball", "bank", "barn", "base", "bear", "beer", "bell", "bike", "bird", "boar", "boat", "bomb", "bone", "book", "bowl", "burn", "cage", "cake", "cape", "card", "cave", "chef", "chin", "coal", "coat", "cold", "cone", "cork", "corn", "cort", "crab", "crib", "desk", "dice", "doll", "door", "drum", "duck", "ears", "eggs", "eyes", "face", "fall", "farm", "fire", "fist", "flag", "food", "frog", "gate", "gift", "girl", "gold", "hair", "hand", "hang", "head", "hill", "hobo", "hook", "horn", "ipod", "jump", "keys", "king", "kiss", "kite", "knot", "lake", "lamb", "lamp", "lava", "leaf", "lion", "lips", "love", "mail", "math", "milk", "moon", "nail", "neck", "nose", "park", "pool", "poop", "pull", "push", "rain", "rice", "ring", "road", "roll", "roof", "rope", "rose", "shoe", "sled", "soap", "sock", "soda", "song", "soup", "star", "taco", "tail", "tank", "tape", "taxi", "tent", "time", "tiny", "toys", "tree", "vest", "wind", "wolf", "worm", "xbox", "yawn"] 5letter := ["acorn", "alien", "angel", "ankle", "anvil", "apple", "armor", "bacon", "bagel", "beach", "beans", "beard", "bells", "bench", "berry", "boots", "booty", "brain", "bread", "brush", "bunny", "cabin", "camel", "candy", "chair", "chalk", "chard", "cheek", "chess", "chest", "cigar", "clock", "cloud", "clown", "comet", "couch", "crack", "crowd", "crown", "dance", "darts", "diary", "disco", "donut", "dream", "dress", "drill", "drink", "drool", "drums", "eagle", "earth", "elbow", "erupt", "flint", "flute", "fries", "ghast", "ghost", "giant", "golem", "grass", "grave", "guard", "heart", "hippo", "horse", "house", "igloo", "joker", "kirby", "lance", "leash", "light", "llama", "luigi", "magic", "mario", "melon", "miner", "money", "moose", "mouse", "mouth", "movie", "music", "night", "ninja", "ocean", "paint", "panda", "pants", "paper", "party", "peach", "pepsi", "phone", "photo", "piano", "pizza", "plane", "plant", "plate", "prize", "punch", "puppy", "purse", "queen", "quick", "radar", "radio", "rifle", "river", "robot", "round", "royal", "ruins", "ruler", "salad", "salsa", "santa", "scale", "scarf", "screw", "shark", "sheep", "shell", "shirt", "shout", "skate", "skirt", "skull", "skunk", "skype", "slide", "slime", "sloth", "smile", "snail", "snake", "socks", "spoon", "spray", "squid", "stage", "stain", "stamp", "stars", "state", "stool", "storm", "stump", "sugar", "sushi", "swing", "syrup", "table", "tears", "teddy", "thief", "thorn", "thumb", "tiger", "toast", "tooth", "torch", "towel", "tower", "trash", "trick", "truck", "vomit", "wagon", "waist", "watch", "water", "whale", "wheat", "whisk", "witch", "yo-yo", "yoshi", "zebra"] 6letter := ["anchor", "archer", "autumn", "bamboo", "banana", "barbie", "batman", "beaver", "bikini", "blocks", "booger", "bottle", "bowtie", "branch", "bridge", "bubble", "bucket", "burger", "button", "cactus", "camera", "canada", "candle", "carrot", "castle", "cereal", "cheese", "cherry", "cinema", "circle", "circus", "coffee", "cookie", "crayon", "crying", "cyclop", "desert", "domino", "dragon", "eggnog", "eraser", "family", "father", "filing", "finger", "flower", "forest", "fridge", "frozen", "galaxy", "garden", "grapes", "grinch", "grocer", "guitar", "hammer", "helmet", "hockey", "hotdog", "icicle", "jacket", "juggle", "jungle", "kitten", "laptop", "letter", "lizard", "magnet", "mickey", "monkey", "mother", "mudkip", "muffin", "nether", "orange", "palace", "peanut", "pencil", "person", "pickle", "picnic", "pillow", "pirate", "pistol", "piston", "planet", "police", "portal", "potato", "prince", "prison", "puppet", "rabbit", "remote", "rocket", "saddle", "school", "seesaw", "shield", "shorts", "shovel", "skiing", "skinny", "sleigh", "spider", "spikes", "sponge", "spring", "sprout", "stable", "stairs", "statue", "summer", "sunset", "teapot", "temple", "tennis", "tetris", "throne", "toilet", "tomato", "turtle", "violin", "wallet", "window", "winter", "wither", "wizard", "wrench", "zipper", "zombie"] 7letter := ["alcohol", "america", "baggage", "balloon", "battery", "beehive", "bicycle", "blanket", "capture", "chicken", "chimney", "coconut", "compass", "cookies", "creeper", "cupcake", "cyclops", "diamond", "dolphin", "doormat", "emerald", "fishing", "flowers", "frisbee", "gapples", "garbage", "giraffe", "glacier", "glasses", "hamster", "iceberg", "kitchen", "ladybug", "lasagna", "lobster", "mailman", "mansion", "mittens", "monitor", "muscles", "noodles", "octagon", "pajamas", "pancake", "peasant", "penguin", "pikachu", "plumber", "pokemon", "popcorn", "present", "pretzel", "pumpkin", "pyramid", "racecar", "rainbow", "rubbish", "scrooge", "shotgun", "snorlax", "snowman", "speaker", "stomach", "sunrise", "sweater", "toaster", "tornado", "trumpet", "twitter", "unicorn", "volcano", "whistle", "yelling", "youtube"] 8letter := ["airplane", "balloons", "baseball", "bathroom", "bookcase", "bracelet", "building", "campfire", "cannibal", "cauldron", "chestnut", "children", "computer", "confused", "diamonds", "dinosaur", "dominoes", "elephant", "elevator", "emeralds", "eyepatch", "facebook", "fighting", "flamingo", "football", "fountain", "godzilla", "goldfish", "hedgehog", "hospital", "icecream", "kangaroo", "keyboard", "lipstick", "lollipop", "mattress", "minecart", "mineplex", "mosquito", "mountain", "mushroom", "necklace", "nintendo", "notebook", "obsidian", "ornament", "painting", "pinecone", "pinwheel", "pokeball", "popsicle", "pregnant", "princess", "puncture", "redstone", "reindeer", "sailboat", "sandwich", "scissors", "seahorse", "seashell", "sidewalk", "skeleton", "sleeping", "slippers", "snowball", "squirrel", "stingray", "stocking", "suitcase", "superman", "swimming", "t-series", "treasure", "umbrella", "uppercut", "villager", "windmill"] 9letter := ["alligator", "astronaut", "australia", "bookstore", "bumblebee", "butterfly", "chocolate", "christmas", "explosion", "fireplace", "graveyard", "halloween", "handcuffs", "hopscotch", "jellyfish", "lawnmower", "letterbox", "lightbulb", "lightning", "microsoft", "minecraft", "mistletoe", "motorbike", "newspaper", "nightmare", "pewdiepie", "pineapple", "presenter", "raspberry", "sideburns", "snowboard", "snowflake", "spaceship", "spaghetti", "speedboat", "staircase", "stoplight", "sunflower", "swordfish", "telephone", "telescope", "treehouse", "waterfall"] 10letter := ["basketball", "battleship", "binoculars", "broomstick", "calculator", "charmander", "chestplate", "flashlight", "gravestone", "headphones", "helicopter", "lighthouse", "lightsaber", "motorcycle", "nutcracker", "photograph", "restaurant", "rhinoceros", "skateboard", "strawberry", "sunglasses", "technology", "television", "toothbrush", "watermelon"] 11letter := ["decorations", "electricity", "frenchfries", "gingerbread", "playstation"] 12letter :=["cheeseburger", "construction", "refrigerator"] space := ["top hat", "iron ore", "camp fire", "door knob", "golf club", "hula hoop", "ice cream", "ping pong", "santa hat", "shoe lace", "snow fort", "stop sign", "water gun", "candy cane", "hair dryer", "ice hockey", "james bond", "night time", "north pole", "pool party", "scooby doo", "snow fight", "troll face", "video game", "alarm clock", "fishing rod", "grim reaper", "ice skating", "pot of gold", "pumpkin pie", "belly button", "ender dragon", "fishing pole", "harry potter", "horse riding", "jingle bells", "watering can", "birthday cake", "draw my thing", "holding hands", "hot chocolate", "jungle kitten", "mountain bike", "nether portal", "rocking chair", "shopping cart", "swimming pool", "tennis racket", "united states", "zombie pigman", "arcade machine", "christmas tree", "snowball fight", "traffic lights", "trick or treat", "gingerbread man", "hot air balloon", "salt and pepper", "washing machine", "basketball court"] Gui, Margin, 20, 20 Gui, Font, s10, Arial Gui, Add, Edit, r1 vvLengthChoice x20 y10 w90 limit2 Number ;What length is the word you are guessing Gui, Font, s25, Arial Gui, Add, Edit, r1 vvSlot1 ggSlot1 w30 limit1 x20 y152,b Gui, Add, Edit, r1 vvSlot2 ggSlot2 w30 limit1 x60 y152,a Gui, Add, Edit, r1 vvSlot3 ggSlot3 w30 limit1 x100 y152,s Gui, Add, Edit, r1 vvSlot4 ggSlot4 w30 limit1 x140 y152,k Gui, Add, Edit, r1 vvSlot5 ggSlot5 w30 limit1 x180 y152,e Gui, Add, Edit, r1 vvSlot6 ggSlot6 w30 limit1 x220 y152,t Gui, Add, Edit, r1 vvSlot7 ggSlot7 w30 limit1 x260 y152,b Gui, Add, Edit, r1 vvSlot8 ggSlot8 w30 limit1 x300 y152,a Gui, Add, Edit, r1 vvSlot9 ggSlot9 w30 limit1 x340 y152,l Gui, Add, Edit, r1 vvSlot10 ggSlot10 w30 limit1 x380 y152,l Gui, Add, Edit, r1 vvSlot11 ggSlot11 w30 limit1 x420 y152,. Gui, Add, Edit, r1 vvSlot12 ggSlot12 w30 limit1 x460 y152,c Gui, Add, Edit, r1 vvSlot13 ggSlot13 w30 limit1 x500 y152,o Gui, Add, Edit, r1 vvSlot14 ggSlot14 w30 limit1 x540 y152,u Gui, Add, Edit, r1 vvSlot15 ggSlot15 w30 limit1 x580 y152,r Gui, Add, Edit, r1 vvSlot16 ggSlot16 w30 limit1 x620 y152,t Gui, Font, s10, Arial Gui, Add, Button, Default w530 x120 y5 ggClearLetters, Clear Letters ( Home ) ;Clear Letters Gui, Font, s10, Arial Gui, Add, Edit, r4 vvPossibleWords w530 x120 y40 ReadOnly ;Box on the top right displaying possible words Gui, Show, AutoSize, InputBox GUI return Home:: Loop, 16 { GuiControl,, vSlot%A_Index%, % "" } Return gClearLetters: Loop, 16 { GuiControl,, vSlot%A_Index%, % "" } return gSlot1: if vLengthChoice = 2 ;If you typed 2 in the lengthchoice editbox, it will { Loop, 2 ;Loop twice because there are 2 words with 2 letters { Haystack := 2letter[A_Index] ;Make a haystack that contains the word If InStr(Haystack, vSlot1) { Match := SubStr(Haystack, 1, 1) ;If the letter you typed is matching the first letter in the haystack if vSlot1 = Match { vPossibleWords .= 2letter[A_Index] "`n" ;Add it to possible words } } } } if vLengthChoice = 3 ;Repeat { Loop, 39 { Haystack := 3letter[A_Index] if InStr(Haystack, vSlot1) { Match := SubStr(Haystack, 1, 1) If vSlot1 = Match { vPossibleWords .= 3letter[A_Index] "`n" } } } } ;etc etc up to vLengthChoice = 16 Return gSlot2: Return gSlot3: Return gSlot4: Return gSlot5: Return gSlot6: Return gSlot7: Return gSlot8: Return gSlot9: Return gSlot10: Return gSlot11: Return gSlot12: Return gSlot13: Return gSlot14: Return gSlot15: Return gSlot16: Return ;Yes this is very long, and it isn't even finished :I
Not only will this help me make my scripts easier to write/read in the long run, it will also benefit me knowledge that I might not know now.
Any help is REALLY appreciated, I'm so confused, thanks!