|
zxtiggerxz Beginner
Joined: 21 Jan 2003 Posts: 18
|
Posted: Tue Feb 03, 2004 8:12 pm
Simplescript |
I was wondering if there was a way to set up a script so that a string of certain numbers would be added, and then totaled.
EX:
You chop Wooly Mammoth for 20, 360, 228, and 69 damage, missing twice
when that displayed, i want it to total it and display something like this:
say Mammoth: Total Hit
Basically, make the character say the total damage done. Is there a way to do this? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Feb 03, 2004 8:34 pm |
#TR {You chop (*) for (*) damage} {#SAY %1: %eval( %replace( %replace( "%2", ", ", " + "), " and ", " "))}
|
|
|
|
zxtiggerxz Beginner
Joined: 21 Jan 2003 Posts: 18
|
Posted: Tue Feb 03, 2004 8:49 pm |
Thank you. is there a way to put a pause in that? they get return strikes
You chop Tundra Bear for 31, 216, 135, 112, and 115 damage, missing once.
Tundra Bear: 609
Tundra Bear bit you for 38, 81, and 29 damage, missing thrice.
and when i get another weapon do i just change the "chop" to whatever the other weapon does? |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|