chat channels in hud

cactusdan

New member
Joined
Jul 11, 2006
Messages
94
Reaction score
0
Points
0
Location
Oregon
I was able to get the chat channels in hud with this.

Code:
// Chatchanels			      
												
Chat1= 3,580,180,25,255,0,Chat Channels ${MacroQuest.ChatChannels}
Chat2= 3,580,190,25,255,0,${If[${MacroQuest.ChatChannels}>=1,1: ${MacroQuest.ChatChannel[1]},]}
Chat3= 3,580,200,25,255,0,${If[${MacroQuest.ChatChannels}>=2,2: ${MacroQuest.ChatChannel[2]},]}
Chat4= 3,580,210,25,255,0,${If[${MacroQuest.ChatChannels}>=3,3: ${MacroQuest.ChatChannel[3]},]}
Chat5= 3,580,220,25,255,0,${If[${MacroQuest.ChatChannels}>=4,4: ${MacroQuest.ChatChannel[4]},]}
Chat6= 3,580,230,25,255,0,${If[${MacroQuest.ChatChannels}>=5,5: ${MacroQuest.ChatChannel[5]},]}
Chat7= 3,580,240,25,255,0,${If[${MacroQuest.ChatChannels}>=6,6: ${MacroQuest.ChatChannel[6]},]}
Chat8= 3,580,250,25,255,0,${If[${MacroQuest.ChatChannels}>=7,7: ${MacroQuest.ChatChannel[7]},]}
Chat9= 3,580,260,25,255,0,${If[${MacroQuest.ChatChannels}>=8,8: ${MacroQuest.ChatChannel[8]},]}
Chat10=3,580,270,25,255,0,${If[${MacroQuest.ChatChannels}>=9,9: ${MacroQuest.ChatChannel[9]},]}
Chat11=3,580,280,25,255,0,${If[${MacroQuest.ChatChannels}>=10,10: ${MacroQuest.ChatChannel[10]},]}

what I would like to do is get the number in each channel on it also. so far i have not been able to find and info on this. been to wiki pages from here and mq2 site and still not have found anything.

thanks
cactusdan
 
If you mean that you are looking for some way to list the number of people in a chat channel next to it, I don't think that that would be possible. That information is stored on the server -- it's sent to the client in response to a request. To have it in your HUD, you'd have to execute the request command every time the HUD updates, along with some tricky string parsing to get the information out of the server-generated data.
 
thanks for the info i thought it might be server side but was not sure.