1. #1
    Deleted

    If an item has a comma in it, how do we put it in a command that takes commas?

    e.g. /castrandom item 1, item 2

  2. #2

  3. #3
    Deleted
    I'm going to guess: /castrandom blabla\, blablabla1, blabla2

  4. #4
    Deleted
    Ah cool, there is item id method.

    No, quotations of " or ' do not work. And there doesn't seem to be an escape char like \.

  5. #5
    find the item number and use that, instead of the name?

  6. #6
    The Patient Goldpaw's Avatar
    10+ Year Old Account
    Join Date
    Dec 2010
    Location
    Kristiansand, Norway
    Posts
    346
    http://www.wowpedia.org/Making_a_macro

    /userandom itemID1, itemID2

    If you don't know how to find the item ID, you can find the item on WowHead, and see its itemID from its link.

    Example:
    Battlemaster's Accuracy
    http://www.wowhead.com/item=42129

    The itemID of this item, is 42129.
    Last edited by Goldpaw; 2011-11-26 at 05:18 PM.

  7. #7
    Deleted
    ok I think there is a problem with the ids since they do work with items but not with spell and I want it to have both items and spells in it.

    ---------- Post added 2011-11-26 at 05:17 PM ----------

    also you have to do item: there, not just the num.

  8. #8
    The Patient Goldpaw's Avatar
    10+ Year Old Account
    Join Date
    Dec 2010
    Location
    Kristiansand, Norway
    Posts
    346
    Quote Originally Posted by tobindax View Post
    ok I think there is a problem with the ids since they do work with items but not with spell and I want it to have both items and spells in it.

    ---------- Post added 2011-11-26 at 05:17 PM ----------

    also you have to do item: there, not just the num.
    You can't mix up items and spells in a random sequence like that. You have to choose.

  9. #9
    Deleted
    Then it's impossible to mount randomly on a regular mount and an item mount. (which is the purpose of the endevour)

  10. #10
    Deleted
    If its a trinket you can just do /use 13 and/or /use 14. If its a spell or an item, you can just shift click the item/spell and it puts it into the macro for you...

  11. #11
    Deleted
    ^There's no problem with typing it.

    Now I'm trying to 'hack it' so that if there is a last line in the random one that fails (by using gibberish) then the next one to succeed.

    But it appears there is no 'nocasting' command to do that, it goes immediately to the new line and casts it.

  12. #12
    What's the macro you're trying to make?

    If it's seriously another random mount macro just use an addon.

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

  13. #13
    Deleted
    ^ The Random Mount addon at curse has the exact same question at the first page and the author responds it's impossible because spell id's can't be called from lua.

    ---------- Post added 2011-11-26 at 05:57 PM ----------

    I realized I could random an item:id with an item:gibberish id but it doesn't work either, it only casts the non-gibberish.

    The idea would be to try to cast the item and if it fails to do the random ones since there is no 'nocasting' condition.

    ---------- Post added 2011-11-26 at 06:00 PM ----------

    in fact if you put 2 items that exist it always does the latter. hrm.

  14. #14

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •