Recent Topics

Ads

Finding Id #s

Let's talk about... everything else
Lordcrist
Posts: 10

Finding Id #s

Post#1 » Wed Oct 17, 2018 3:24 pm

I know how to [Link Your Guild], but I want to make a Macro with [Link Your Guild] and someone said I needed the Guild Id. How do I find that?

Ads
User avatar
Luuca
Posts: 1204

Re: Finding Id #s

Post#2 » Thu Oct 18, 2018 5:21 pm

I'm not sure. Maybe ask on the forums?

User avatar
sullemunk
Addon Developer
Posts: 1213

Re: Finding Id #s

Post#3 » Thu Oct 18, 2018 6:26 pm

Luuca wrote: Thu Oct 18, 2018 5:21 pm I'm not sure. Maybe ask on the forums?
Isn't this the forums?
Image
Image Ethreal   Image Corque   Image Urgiz   Image Loxley   Image Chilli   Image Maduza

User avatar
Luuca
Posts: 1204

Re: Finding Id #s

Post#4 » Thu Oct 18, 2018 7:21 pm

sullemunk wrote: Thu Oct 18, 2018 6:26 pm
Luuca wrote: Thu Oct 18, 2018 5:21 pm I'm not sure. Maybe ask on the forums?
Isn't this the forums?
Image

User avatar
sullemunk
Addon Developer
Posts: 1213

Re: Finding Id #s

Post#5 » Thu Oct 18, 2018 7:54 pm

well, back to topic:
Copy and paste this into your chat:

Code: Select all

/script TextLogAddEntry("Chat", 0,towstring(GameData.Guild.m_GuildName)..L": "..towstring(GameData.Guild.m_GuildID))
and it will print out your guild ID in the Chatbox
Image
Image Ethreal   Image Corque   Image Urgiz   Image Loxley   Image Chilli   Image Maduza

User avatar
kauyon1
Posts: 103

Re: Finding Id #s

Post#6 » Sun Oct 21, 2018 4:08 pm

sullemunk wrote: Thu Oct 18, 2018 7:54 pm well, back to topic:
Copy and paste this into your chat:

Code: Select all

/script TextLogAddEntry("Chat", 0,towstring(GameData.Guild.m_GuildName)..L": "..towstring(GameData.Guild.m_GuildID))
and it will print out your guild ID in the Chatbox
What would the script be to have your [Link to Guild] work in a macro then?

User avatar
sullemunk
Addon Developer
Posts: 1213

Re: Finding Id #s

Post#7 » Sun Oct 21, 2018 4:53 pm

Short quick version (sends it to the current chat textline)

Code: Select all

/script  EA_ChatWindow.InsertGuildLink(GetDatabaseGuildData( GameData.Guild.m_GuildID))
Longer, more custimazion options version (sends it directly to the chat window)

Code: Select all

/script SendChatText(L"/say <LINK data=\"GUILD:"..towstring(GameData.Guild.m_GuildID)..L"\" text=\""..L"["..towstring(GameData.Guild.m_GuildName)..L"]"..L"\" color=\"0,255,0\">", L"")
Image
Image Ethreal   Image Corque   Image Urgiz   Image Loxley   Image Chilli   Image Maduza

User avatar
kauyon1
Posts: 103

Re: Finding Id #s

Post#8 » Sun Oct 21, 2018 7:21 pm

THANK YOU!

Ads

Who is online

Users browsing this forum: Seastian and 191 guests