Quote:
Hey juk,
just found this script - thanks so much, it's really incredibly helpful! Much love!
I got a question though - when I use the mouse wheel to increase bet sizes, it goes back to zero if the amount gets above 1,000. This might have to do with how I've got the numbers formatted - neither with the "." or ",", but rather with an open space (so 10.000 would be displayed "10 000"). Tried editing the script to replace "," with " ", but predictably, that didn't work.
Presumably, the formatting is the reason why it doesn't work with amounts over 1,000? I've been searching aaaaall over, and I just can't find where I can alter this in the PP client or on my account web site, swear I've used like an hour and going crazy here Any clues? Thanks in advance!
Sorry for the slow reply. I'm not sure if this will work, but you can try editing this bit of code to look like this:
<font class="small">Code:</font><hr /><pre>RemoveCommaInNumber(n)
{
If (InStr(n, " ") <> 0)
{
StringReplace, n, n, ` , .
}
If (InStr(n, ".") <> 0)
{
n := n*1000
}
If (InStr(n, ",") <> 0)
{
StringReplace, n, n, `,, .
n := n*1000
}
return n
}
</pre><hr />
Juk