[macro tutorial request]

Discussion in 'Basic Tutorials' started by bARely_TrYx_HI, Oct 23, 2013.

  1. bARely_TrYx_HI

    bARely_TrYx_HI Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Jul 9, 2013
    Messages:
    115
    Trophy Points:
    25,570
    Gender:
    Male
    Ratings:
    +23
    Hey guys i'm wondering if it its possible to have a gui screen that shows if party chat is on or not. I find that i always forget if it is or not and i couldn't get it to work with my knowledge of macro mod. If anyone could help me or make a tutorial it would be highly appreciated! Thanks! jakeyray18 sorry for tagging you, i know you're busy but if you could help me out it would be awesome! thanks!
     
  2. GungnirIncarnate

    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 18, 2012
    Messages:
    3,226
    Trophy Points:
    47,340
    Gender:
    Male
    Ratings:
    +481
    Did you want it to display all the chat channels you are in or just party chat, cause I have one that shows you if you are in any chat like global or such and if you have party chat enabled it would say 'Channel: Party', would you prefer this or one that just says 'Party Chat: True/False'?
     
  3. bARely_TrYx_HI

    bARely_TrYx_HI Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Jul 9, 2013
    Messages:
    115
    Trophy Points:
    25,570
    Gender:
    Male
    Ratings:
    +23
    i think having the one showing all the channels would better
     
  4. Lee1104

    Lee1104 Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Oct 5, 2012
    Messages:
    1,913
    Trophy Points:
    31,940
    Gender:
    Male
    Ratings:
    +322
    Rockboy has a tutorial on this. I put the label near my chat bar so its easy to see when I'm typing.
     
  5. bARely_TrYx_HI

    bARely_TrYx_HI Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Jul 9, 2013
    Messages:
    115
    Trophy Points:
    25,570
    Gender:
    Male
    Ratings:
    +23
    i have his one atm but im looking for one to include party chat or just have a separate pary chat True,False guy
     
  6. GungnirIncarnate

    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 18, 2012
    Messages:
    3,226
    Trophy Points:
    47,340
    Gender:
    Male
    Ratings:
    +481
    Sorry totally forgot about this, set this to the onChat event and create a label with the Control name as 'channels'
    Code:
    $${
    STRIP(&chat,%CHAT%)
    IFMATCHES(%&chat%,Now chatting (in|with) (.*)\.)
        MATCH(%&chat%,Now chatting (in|with) (.*)\.,{&chpm,&chname})
        IFMATCHES(%&chpm%,with)
            IF(party)
                SET(&mem,"&eChatting with &d%&chname%)
                STOP
            ENDIF
            SETLABEL(channels,&eChatting with &d%&chname%)
        ELSE
            IFMATCHES(%&chpm%,in)
                IF(party)
                    SET(&mem,"&eChatting in %&color%%&chname%)
                    STOP
                ENDIF
                IF(%&chname% = "Global")
                    &color = &f
                ELSEIF(%&chname% = "Auction")
                    &color = &b
                ELSEIF(%&chname% = "Trade")
                    &color = &7
                ELSEIF(%&chname% = "Nether")
                    &color = &d
                ELSEIF(%&chname% = "Mining")
                    &color = &e
                ELSEIF(%&chname% = "Aether")
                    &color = &e
                ELSEIF(%&chname% = "Local")
                    &color = &e
                ELSEIF(%&chname% = "Donator")
                    &color = &a
                ELSEIF(%&chname% = "Pvp")
                    &color = &5
                ELSEIF(%&chname% = "hg")
                    &color = &e
                ENDIF
            SETLABEL(channels,&eChatting in %&color%%&chname%)
            ENDIF
        ENDIF
    ENDIF
    IFMATCHES(%&chat%,Party Chat only On)
        SET(&mem,"&eChatting %&chpm% %&color%%&chname%)
        SET(party)
        SETLABEL(channels,&eChatting in &aParty Chat)
    ENDIF
    IFMATCHES(%&chat%,Party Chat only Off)
        UNSET(party)
        SETLABEL(channels,%&mem%)
    ENDIF
    }$$
    Thats the one you want, sorry I totally blanked about this thread, This has party chat capability and will remember if you can channels while it part chat and will still say you are in party cat in this case, but will remember the channel you changed to when you leave party chat.
    Again if you get any bugs or anything, give me a shout and I will see what I can do.

    ~Jakey
     
    #6 GungnirIncarnate, Oct 29, 2013
    Last edited: Oct 29, 2013
  7. bARely_TrYx_HI

    bARely_TrYx_HI Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Jul 9, 2013
    Messages:
    115
    Trophy Points:
    25,570
    Gender:
    Male
    Ratings:
    +23
    Thank you so much!
     
  8. GungnirIncarnate

    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jul 18, 2012
    Messages:
    3,226
    Trophy Points:
    47,340
    Gender:
    Male
    Ratings:
    +481