|
Aon Beginner
Joined: 12 Nov 2002 Posts: 15
|
Posted: Tue Nov 12, 2002 5:03 pm
Need some help. |
Heh Im working on making a trigger to keep track of my Powerlevel on a game to then after calculate how much powerlevel ive gained for the day.. and ive done a good job at it except for the fact that..
<Powerlevel (8,701,191,669,159/208,828,600,059,821)>
as you can see theres a comma so I had to use like %d,%d,%d, and then use some fancy stuff to make the number go back together. But I wanted to know if there was a more simple way than making a new trigger for each set of ,'s. Would save me a lot of trouble if you guys could help me out on that one Thanks
Aon |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Nov 12, 2002 5:08 pm |
Use %n. This wildcard matches numbers with commas, and when you use %n to get the matched value, it returns the number without commas.
Kjata |
|
|
|
Aon Beginner
Joined: 12 Nov 2002 Posts: 15
|
Posted: Sun Nov 17, 2002 12:06 am |
Hrm.. Yeah well I was like why didnt I think of that at first.. Then I remembered that the variables for #add and #math functions only work with numbers up to 2.1 bil or so..if the answer is higher than that I think it goes into negatives.. Got any idea on how to fix that using your %n wildcard?
|
|
|
|
|
|
|
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
|
|