How to make a macro with an Item Link menu

User Tag List

Results 1 to 6 of 6
  1. #1
    NightUndead's Avatar Sergeant
    Reputation
    13
    Join Date
    Sep 2008
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make a macro with an Item Link

    So I've been tinkering with how to add an item link into a macro so I didn't have to Shift-Click the item every time I wanted to spam the exact same text. And I found the answer (o'rly?)

    First you get the link from WoWhead (or any other website that provides them):
    It comes out looking something like this (depending on website and item):
    Code:
    /script DEFAULT_CHAT_FRAME:AddMessage("Shift-click this to place a link into a chat message: \124cffffffff\124Hitem:42780:0:0:0:0:0:0:0:0\124h[Relic of Ulduar]\124h\124r");
    Now what you need from this is:
    Code:
    \124cffffffff\124Hitem:42780:0:0:0:0:0:0:0:0\124h[Relic of Ulduar]\124h\124r
    That you add into:
    Code:
    /run SendChatMessage("MESSAGE + ITEMLINK","CHANNEL",nil,2)
    All of it inside the quotes and no extra quotes, and voila you got yourself a macro with item link
    P.S.: "CHANNEL" MUST NOT BE CHANGED! (unless you want to post in Party, Raid, Guilde etc.

    A little example:
    Code:
    /run SendChatMessage("WTS 180x\124cffffffff\124Hitem:42780:0:0:0:0:0:0:0:0\124h[Relic of Ulduar]\124h\124r 2g each","CHANNEL",nil,2)
    Would become:
    "WTS 180x[Relic of Ulduar] 2g each" and be posted in trade chat

    The last number "2" can be changed with any channel you'd want, and "CHANNEL" can be replaced with "PARTY", "RAID", "GUILD" and a lot of others (in which case you remove ",nil,2")

    You can read more about "/run SendChatMessage" on WoWwiki

    Sorry if its a repost, I searched in "UI & Macro Discussions" for "Item link" and found nothing (but I've always sucked at searching so what the heck :P)

    These ads disappear when you log in.

  2. #2
    nothinglol's Avatar Contributor
    Reputation
    166
    Join Date
    Mar 2009
    Posts
    770
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice! I was always looking for a way to do this, so I just ended up using an addon which auto does it when you put an item in brackets. Thanks for finally getting an answer.

  3. #3
    NightUndead's Avatar Sergeant
    Reputation
    13
    Join Date
    Sep 2008
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    np ^^

    I've had the same thoughts, but I just didn't want to get yet another addon into the already overfilled folder of addons I currently have :P

  4. #4
    Pwntzyou's Avatar Contributor
    Reputation
    264
    Join Date
    Dec 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +Rep x3 ^_^

    <3 MysterioussouL for the sig

  5. #5
    NightUndead's Avatar Sergeant
    Reputation
    13
    Join Date
    Sep 2008
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wooow.. Thanks

  6. #6
    nothinglol's Avatar Contributor
    Reputation
    166
    Join Date
    Mar 2009
    Posts
    770
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by NightUndead View Post
    np ^^

    I've had the same thoughts, but I just didn't want to get yet another addon into the already overfilled folder of addons I currently have :P
    Ive got so many addons it takes about 2-3 whole minutes for my UI to load.....it hurts so good...

Similar Threads

  1. [ArcEmu] How do i make people spawn with a item?
    By Kapperjoe in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 04-09-2014, 01:52 PM
  2. [Question] How to make players start with gear/money/items?
    By hukabuka in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-23-2008, 08:13 PM
  3. How to make a sig with photoshop cs2
    By Condor in forum Art & Graphic Design
    Replies: 1
    Last Post: 11-01-2007, 11:21 AM
  4. How to Make a Character with Cool Letters
    By Cyboi in forum World of Warcraft Guides
    Replies: 62
    Last Post: 08-21-2007, 01:52 PM
  5. How to make a trainer with CHEATENGINE
    By Midnight_killa in forum World of Warcraft Bots and Programs
    Replies: 28
    Last Post: 02-25-2007, 04:52 AM
All times are GMT -5. The time now is 11:37 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search