|  | 
	
	
		| harley Apprentice
 
 
 Joined: 05 Apr 2008
 Posts: 121
 
 
 | 
			
			  |  Posted: Wed Sep 17, 2008 1:14 am 
 Help with a trigger :)
 
 |  
				| Well, what i'm wanting to do is turn 
 
 
	  | Quote: |  
	  | You stretch out your weapon and begin to spin violently!
 Your spiralling force <-==-><-==-> SHATTERS <-==-><-==-> a griffon child! [308]
 Your spiralling force <*><*><*><*> ANNIHILATES <*><*><*><*> a griffon child! [257]
 Your spiralling force <->*<=> WASTES <=>*<-> a griffon child! [207]
 Your spiralling force <*><*><*> EVAPORATES <*><*><*> a griffon child! [175]
 Your spiralling force <>*<> FISSURES <>*<> a griffon child! [151]
 Your spiralling force <-:-> ASPHYXIATES <-:-> a griffon child! [132]
 Your spiralling force -=- VAPORIZES -=- a griffon child! [113]
 
 |  Into
 
 
	  | Quote: |  
	  | Your spiralling force <-==-><-==-> SHATTERS <-==-><-==-> a griffon child! [999] |  or something like that, basically adding up all the damage and put it into 1 line.. so its less spammy.
 I cant figure this out for the life of me.. Spent hours on it, and all i can come up with is gag it all and thats it :( while capturing the damage..
 |  | 
	
	  |  | 
	
		|  | 
	
		| shalimar GURU
 
  
 Joined: 04 Aug 2002
 Posts: 4774
 Location: Pensacola, FL, USA
 
 | 
			
			  |  Posted: Wed Sep 17, 2008 3:00 am 
 |  
				| Usually you have a prompt at the end od a block of text like that Tie into it so you can to a #SAY with the total damage
 |  | 
	
	  | 
		    
			  | _________________ Discord: Shalimarwildcat
 |   |  | 
	
		|  | 
	
		| Toxic Adept
 
 
 Joined: 27 May 2008
 Posts: 299
 
 
 | 
			
			  |  Posted: Wed Sep 17, 2008 1:54 pm 
 |  
				| 
 
	  | Code: |  
	  | #TR {^You stretch out your weapon and begin to spin violently!} {#gag;dmgmsg = %null;dmgtotal = 0}
 #COND {^$} {#ECHO @dmgmsg ~[@damtotal~]} {within|param=11}
 #TR {^(Your spiralling force * {a|an} *!) ~[(%d)~]} {#ADD dmgtotal %2;#IF !@dmgmsg {dmgmsg = %1};#GAG}
 |  
 This should work, untested tho since I dont have spiral on my thief yet.  Also this wont work if you have compact on in game.
 |  | 
	
	  |  | 
	
		|  | 
	
		|  | 
	
		|  |