  | 
	
	
	
		outlawevy Newbie
 
  Joined: 31 May 2021 Posts: 5
 
  | 
		
		  
			
			   Posted: Sat Dec 11, 2021 12:27 am   
  Making a group List Window   | 
			 
			
				Can anyone help me with making a Group list that appears in real time? I am using cmud 3.34.
 
 
 
 
614H 131V 878160X 59.26% 2585C T:35 Exits:W> group
 
Your group of 2 members consists of:
 
  Member              Hits      Move      Position  Fly Inv Water iMT Here Light Mem
 
------------------------------------------------------------------------------------
 
  BA Drono            perfect   rested    standing   Y   N    Y    Y   Y     0    0
 
  DR Denyo            perfect   rested    standing   Y   N    Y    Y   Y     1    0
 
 
614H 131V 878160X 59.26% 2585C T:15 Exits:W>
 
 
I would like it to pop up in another window and update in real time so I can watch the party's health and moves. | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		shalimar GURU
  
  Joined: 04 Aug 2002 Posts: 4774 Location: Pensacola, FL, USA
  | 
		
		  
			
			   Posted: Sat Dec 11, 2021 1:56 am      | 
			 
			
				You want a stated trigger like this:
 
 
	  | Code: | 
	 
	
	  #TR {Your group of %d members consists of:} {#EXECWIN Group {#CLR}}
 
#COND {------------------------------------------------------------------------------------} {}
 
#COND {*} {
 
  #IF (%len(%line)>3) {
 
    #STATE 2
 
    #CAP Group
 
    }
 
  } {within|param=1} | 
	 
 
 | 
			 
		  | 
	
	
	  
		  
		    
			  _________________ Discord: Shalimarwildcat | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		outlawevy Newbie
 
  Joined: 31 May 2021 Posts: 5
 
  | 
		
		  
			
			   Posted: Sat Dec 11, 2021 2:58 am      | 
			 
			
				That worked!! thanks!! Is there a way to make it refresh like were I don't have to type group?
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		shalimar GURU
  
  Joined: 04 Aug 2002 Posts: 4774 Location: Pensacola, FL, USA
  | 
		
		  
			
			   Posted: Sun Dec 12, 2021 2:41 am      | 
			 
			
				Unless there is another way to get the group data, no, however, you can #GAG the output so you don't see it in the main window.
 
You can also set an #ALARM to fire at regular intervals and send the group command for you. Depends on the level of automation you are comfortable with. | 
			 
		  | 
	
	
	  
		  
		    
			  _________________ Discord: Shalimarwildcat | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		outlawevy Newbie
 
  Joined: 31 May 2021 Posts: 5
 
  | 
		
		  
			
			   Posted: Sun Dec 12, 2021 3:28 pm      | 
			 
			
				What would that look like? I have made 3 new triggers, its GAGing now but I cant figure out the #alarm.
 
Also is there a way to pull the header info to the new Group window?
 
 
This : 
 
Member Hits Move Position Fly Inv Water iMT Here Light Mem
 
 
Basically I am trying to see a real time view of the group for healing/rescue. I figured it would be better to use the Group menu because it has their Hp and Moves displayed all in one area. | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		shalimar GURU
  
  Joined: 04 Aug 2002 Posts: 4774 Location: Pensacola, FL, USA
  | 
		
		  
			
			   Posted: Sun Dec 12, 2021 8:31 pm      | 
			 
			
				We can simplify the original trigger to this:
 
 
	  | Code: | 
	 
	
	  #TR {Your group of %d members consists of:} {
 
  #EXECWIN Group {#CLR}
 
  #GAGON
 
  #C+ Group
 
  }
 
#COND {*} {#IF (%len(%line)>3) {#STATE 1} {
 
  #GAGOFF
 
  #C- Group
 
  }} {within|param=1} | 
	 
 
 
 
And the alarm would be like:
 
 
 
	  | Code: | 
	 
	
	  | #ALARM "groupUpdater" {-30} {group} | 
	 
 
 
 
Which would fire twice a minute. | 
			 
		  | 
	
	
	  
		  
		    
			  _________________ Discord: Shalimarwildcat | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		outlawevy Newbie
 
  Joined: 31 May 2021 Posts: 5
 
  | 
		
		  
			
			   Posted: Sun Dec 12, 2021 10:35 pm      | 
			 
			
				Got this error:
 
 
Illegal character: C- | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		shalimar GURU
  
  Joined: 04 Aug 2002 Posts: 4774 Location: Pensacola, FL, USA
  | 
		
		  
			
			   Posted: Mon Dec 13, 2021 12:34 pm      | 
			 
			
				Oh right, #C- works by itself, don't need to specify the window name.
  | 
			 
		  | 
	
	
	  
		  
		    
			  _________________ Discord: Shalimarwildcat | 
			       | 
			 
		   
		 | 
	
	
		  | 
	
	
		outlawevy Newbie
 
  Joined: 31 May 2021 Posts: 5
 
  | 
		
		  
			
			   Posted: Tue Dec 14, 2021 2:16 am      | 
			 
			
				Thanks so much! works perfect!
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		| 
		
		 | 
	
	
		 |