Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function widget:GetInfo()
- return {
- name= "EasyGive",
- desc = "Simplifys unit names for the /give cheat",
- author = "[TL]Beamer",
- date = "6/10/2016",
- license = "PD",
- layer = 0,
- enabled = true
- }
- end
- local dic = {}
- dic["Conjurer"] = "armrectr"
- dic["Glaive"] = "armpw"
- dic["Scythe"] = "spherepole"
- dic["Rocko"] = "armrock"
- dic["Warrior"] = "armwar"
- dic["Zeus"] = "armzeus"
- dic["Hammer"] = "armham"
- dic["Spectre"] = "armsnipe"
- dic["Gremlin"] = "armjeth"
- dic["Tick"] = "armtick"
- dic["Eraser"] = "spherecloaker"
- dic["Convict"] = "cornecro"
- dic["Dirtbag"] = "corclog"
- dic["Bandit"] = "corak"
- dic["Rogue"] = "corstorm"
- dic["Thug"] = "corthud"
- dic["Outlaw"] = "cormak"
- dic["Felon"] = "shieldfelon"
- dic["Racketeer"] = "shieldarty"
- dic["Vandal"] = "corcrash"
- dic["Roach"] = "corroach"
- dic["Aspis"] = "core_spectre"
- dic["Freaker"] = "corfast"
- dic["Puppy"] = "puppy"
- dic["Pyro"] = "corpyro"
- dic["Placeholder"] = "jumpblackhole"
- dic["Moderator"] = "slowmort"
- dic["Jack"] = "corcan"
- dic["Sumo"] = "corsumo"
- dic["Firewalker"] = "firewalker"
- dic["Archangel"] = "armaak"
- dic["Skuttle"] = "corsktl"
- dic["Weaver"] = "arm_spider"
- dic["Flea"] = "armflea"
- dic["Hermit"] = "spiderassault"
- dic["Venom"] = "arm_venom"
- dic["Redback"] = "spiderriot"
- dic["Recluse"] = "armsptk"
- dic["Crabe"] = "armcrabe"
- dic["Tarantula"] = "spideraa"
- dic["Infiltrator"] = "armspy"
- dic["Mason"] = "corned"
- dic["Dart"] = "corfav"
- dic["Scorcher"] = "corgator"
- dic["Slasher"] = "cormist"
- dic["Leveler"] = "corlevlr"
- dic["Ravager"] = "corraid"
- dic["Dominatrix"] = "capturecar"
- dic["Wolverine"] = "corgarp"
- dic["Impaler"] = "armmerl"
- dic["Crasher"] = "vehaa"
- dic["Welder"] = "coracv"
- dic["Kodachi"] = "logkoda"
- dic["Panther"] = "panther"
- dic["Banisher"] = "tawf114"
- dic["Reaper"] = "correap"
- dic["Goliath"] = "corgol"
- dic["Pillager"] = "cormart"
- dic["Tremor"] = "trem"
- dic["Copperhead"] = "corsent"
- dic["Quill"] = "corch"
- dic["Dagger"] = "corsh"
- dic["Scalpel"] = "nsaclash"
- dic["Halberd"] = "hoverassault"
- dic["Claymore"] = "hoverdepthcharge"
- dic["Mace"] = "hoverriot"
- dic["Penetrator"] = "armmanni"
- dic["Flail"] = "hoveraa"
- dic["Conch"] = "amphcon"
- dic["Duck"] = "amphraider3"
- dic["Archer"] = "amphraider2"
- dic["Buoy"] = "amphfloater"
- dic["Scallop"] = "amphriot"
- dic["Grizzly"] = "amphassault"
- dic["Angler"] = "amphaa"
- dic["Djinn"] = "amphtele"
- dic["Crane"] = "armca"
- dic["Swift"] = "fighter"
- dic["Hawk"] = "corvamp"
- dic["Raven"] = "corshad"
- dic["Phoenix"] = "corhurc2"
- dic["Thunderbird"] = "armstiletto_laser"
- dic["Wyvern"] = "armcybr"
- dic["Vulture"] = "corawac"
- dic["Crane"] = "armca"
- dic["Blastwing"] = "blastwing"
- dic["Gnat"] = "bladew"
- dic["Banshee"] = "armkam"
- dic["Rapier"] = "corape"
- dic["Brawler"] = "armbrawl"
- dic["Black Dawn"] = "blackdawn"
- dic["Krow"] = "corcrw"
- dic["Trident"] = "gunshipaa"
- dic["Valkyrie"] = "corvalk"
- dic["Vindicator"] = "corbtrans"
- dic["Mariner"] = "shipcon"
- dic["Skeeter"] = "armpt"
- dic["Snake"] = "corsub"
- dic["Typhoon"] = "coresupp"
- dic["Hunter"] = "dclship"
- dic["Enforcer"] = "corroy"
- dic["Crusader"] = "armroy"
- dic["Sepent"] = "serpent"
- dic["Shredder"] = "corarch"
- dic["Surfboard"] = "armtboat"
- dic["Eos"] = "tacnuke"
- dic["Quake"] = "seismic"
- dic["Shockley"] = "empmissile"
- dic["Inferno"] = "napalmmissile"
- dic["Ultimatum"] = "armcomdgun"
- dic["Scorpion"] = "scorpion"
- dic["Dante"] = "dante"
- dic["Catapult"] = "armraven"
- dic["Funnelweb"] = "funnelweb"
- dic["Bantha"] = "armbanth"
- dic["Detriment"] = "armorco"
- dic["Leviathan"] = "cornukesub"
- dic["Reef"] = "reef"
- dic["Warlord"] = "corbats"
- dic["Aegis"] = "corjamt"
- dic["Defender"] = "corrl"
- dic["Lotus"] = "corllt"
- dic["Newton"] = "corgrav"
- dic["Faraday"] = "armartic"
- dic["Stardust"] = "armdeva"
- dic["Stinger"] = "corhlt"
- dic["Gauss"] = "armpb"
- dic["Annihilator"] = "armanni"
- dic["Doomsday Machine"] = "cordoom"
- dic["Urchin"] = "cortl"
- dic["Razor"] = "corrazor"
- dic["Hacksaw"] = "missiletower"
- dic["Chainsaw"] = "armcir"
- dic["Cobra"] = "corflak"
- dic["Screamer"] = "screamer"
- dic["Protector"] = "armamd"
- dic["Behemoth"] = "corbhmth"
- dic["Big Bertha"] = "armbrtha"
- dic["Silencer"] = "corsilo"
- dic["Starlight"] = "mahlazer"
- dic["Disco Rave Party"] = "raveparty"
- dic["Zenith"] = "zenith"
- dic["Cloaky Bot Factory"] = "factorycloak"
- dic["Shield Bot Factory"] = "factoryshield"
- dic["Jump/Specialist Plant"] = "factoryjump"
- dic["Spider Factory"] = "factoryspider"
- dic["Light Vehicle Factory"] = "factoryveh"
- dic["Heavy Tank Factory"] = "factorytank"
- dic["Hovercraft Platform"] = "factoryhover"
- dic["Amphibious Bot Plant"] = "factoryamph"
- dic["Airplane Plant"] = "factoryplane"
- dic["Gunship Plant"] = "factorygunship"
- dic["Shipyard"] = "factoryship"
- dic["Athena"] = "armcsa"
- dic["Missile Silo"] = "missilesilo"
- dic["Strider Hub"] = "striderhub"
- dic["Metal Extractor"] = "cormex"
- dic["Solar Collector"] = "armsolar"
- dic["Fusion Reactor"] = "armfus"
- dic["Singularity Reactor"] = "cafus"
- dic["Wind/Tidal Generator"] = "armwin"
- dic["Geothermal Generator"] = "geo"
- dic["Storage"] = "armmstor"
- dic["Energy Pylon"] = "armestor"
- dic["Caretaker"] = "armnanotc"
- dic["Air Repair/Rearm Pad"] = "armasp"
- dic["Radar Tower"] = "corrad"
- dic["Advanced Radar"] = "armarad"
- dic["Sonar Station"] = "armsonar"
- dic["Sneaky Pete"] = "armjamt"
- function widget:TextInput(msg)
- local input = {}
- for i in string.gmatch(msg, "%S+") do
- input[#input + 1] = i
- end
- if #input == 4 and string.lower(input[1]) == "/easygive" then
- for i, j in pairs(dic) do
- if string.lower(input[3]) == i then
- Spring.SendCommands("Say /give " .. input[2] .. " " .. j .. " " .. input[4])
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment