World of Warcraft Scripts/Macros

DataMine
by DataMine · 7 posts
11 years ago in Other
Posted 11 years ago · Author
Since I've started playing WoW again and I love anything that helps me automate tasks or make things easier or less time consuming, I have started getting into scripts/Macros (and addons but those aren't for this topic). As far as I know, all scripts are written in LUA.

Here are some good resources for learning to write scripts/Macros:

http://www.wowwiki.com/User_defined_functions
http://www.wowwiki.com/World_of_Warcraft_API
http://www.wowwiki.com/Lua_functions
http://www.wowwiki.com/Making_a_macro
http://www.wowwiki.com/UI_Beginners_Guide#Macros
http://macro-wow.com/guide/how-to-make- ... ua-script/

I haven't written any scripts yet as I do not understand the language yet but I do have some scripts that I've used that I will share.

This script will sell all of the junk in your inventory to a vendor. It only works on Items that are gray. To use it, open the macros menu from the options dialog and create a new macro, then select your icon and name and paste this into the code box. Then just drag that new macro you made to any free spot in your bars. From there, just go to any vendor and click the icon you made to run the script. I'd like to modify this script to also sell white items but as of yet, I do not know how, yet and i no longer need it since I have an addon for it now.
Code
/script for bag = 0,4,1 do for slot = 1, GetContainerNumSlots(bag), 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name,"ff9d9d9d") then DEFAULT_CHAT_FRAME:AddMessage("Selling "..name); UseContainerItem(bag,slot) end; end; end



This next macro allows you to whisper the person you have targeted. This is useful for repeating the same message without having to type it over and over. I use this when I fly around Elwyn Forest giving away free items to low levels. I like to ask before trading them and lots don't answer, say no or are afk so I have to ask around a bit. To use this macro, do the same thing as the first one but before finishing it, replace "MESSAGE" with what you want to say.
Code
/run if UnitExists"target"then SendChatMessage("MESSAGE","WHISPER",nil,UnitName"target")end



Here are some places that have complete macros for you to use:

http://worldofmacros.com/
http://macro-wow.com/
http://wowlazymacros.com/
http://www.wowmacros.info/
http://elitewowmacros.com/
http://www.nextlevelpvp.com/world-of-wa ... s-for-pvp/
http://wowprogramming.com/docs/scripts
Posted 7 years ago
Hey D.M Do you think IMVUMAFIAS can make anything for Runescape? It's good to attract as much users to the site as possible as there is a lot of runescape players and hardly any programs existing for it or tricks or codes and such. :) :kat_emoji18:
Posted 7 years ago · Author
@Hokage


Don't know. I don't play Runescape and have no interest in getting into it enough to learn how to make scripts for it.

Back when I did play it I used to be heavy into the bots scene and from what I remember it took a lot of effort to keep them up.
Posted 7 years ago
Damn alright im going to send you a pm with some questions.
Posted 4 years ago
Anyone here plays wacraft 3? I Know its a old game. But I also know that most of the WoW players played warcraft III. I have post a new post of the new update of the game. Take a look, pls
Posted 4 years ago
@Zirolty


I have not played since 2015. The private server I used to play on (Molten Wow) got wiped after their staff suffered some internal fighting ... and one of their staff members vindictively deleted everyone's characters or some shit like that. The official servers never could keep my interest ... too much grinding. 4X private servers were more my style, so I spent 1/4th the time leveling and earning gold ... thus allowing me to keep up with friends in the game and have a real life at the same time. Play 2 win options were also better ... I'd rather drop $50 on a set of armor that levels with my character than spend endless nights grinding my corpse into battlegrounds where everyone else can kill my squishy priest in 2 seconds.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT