1. #1

    can roll or random be put into a text string

    I was messing with some guildies and using this on my rogue.
    [me=sparks]pickpockets %t for 3g4s6c.[/me]

    Well I stealthed after doing it and said....did you see me that time

    2 of them freaked and I just said yep its a new hack...don't turn me in.

    I got a tell from a couple of them that knew it was a joke and they went along with me.

    IT WAS FUN but I ran into a problem

    is there a way to do something like /me pickpockets %t for rand(X)g or some way to get different outputs in a simple text string?


  2. #2

    Re: can roll or random be put into a text string

    /run SendChatMessage("pickpockets %t for " ..random(1,99).."g"..random(1,99).."s" ..random(1,99).."c","EMOTE");

    Should work

  3. #3

    Re: can roll or random be put into a text string

    Quote Originally Posted by Eevan
    /run SendChatMessage("pickpockets %t for " ..random(1,99).."g"..random(1,99).."s" ..random(1,99).."c","EMOTE");

    Should work
    Nope, %t doesn't work in that context.
    Code:
    /run SendChatMessage("pickpockets "..UnitName("target").." for "..random(1,99).."g"..random(1,99).."s"..random(1,99).."c","EMOTE")
    Even though, I'd personally suggest the following:
    Code:
    /run SendChatMessage("pickpockets you for "..random(1,99).."g"..random(1,99).."s"..random(1,99).."c","EMOTE")
    Makes it even more believable.
    UI & AddOns expert | Interface & Macros moderator - My work

  4. #4

    Re: can roll or random be put into a text string

    Thanks big time I will try it tonight.

    It was soooo funny when one of them was convinced that he was down about 50 gold ROFL

    of course the mage. who knew it was a joke didn't help when he started screaming he was down over 200

  5. #5

    Re: can roll or random be put into a text string

    Nice macro

  6. #6

    Re: can roll or random be put into a text string

    Haha, nice one ;D

    I used to have a macro that looked like this

    /use Shadow Jade Focusing Crystal
    /in 2 /e drains 2 gold from %t.
    /in 4 /e drains 4 gold from %t.
    /in 6 /e drains 6 gold from %t.

    People would get so freaked seeing that.

    Quote Originally Posted by smrund View Post
    Possibly, but you're the one calling a man a unicorn because he's got a cone taped to his head.

  7. #7

    Re: can roll or random be put into a text string

    Very nice, I will so have to try those out.
    Quote Originally Posted by DeadmanWalking View Post
    I don't understand why we don't have flying so they tell us we will have convenient flight points. Immersion and danger? Here take some coins and fly me there while I read facebook or go take a poop.
    Quote Originally Posted by Reinaerd View Post
    T'is good to see there are still people valiantly putting the "Ass" in assumption.

Posting Permissions

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