I'm not completely sure if this would fall under script or sourse support. When using a '>' or '<' sign any number greater than 9 only registers the first number. I have tested this over and over and over again with the same results. For example:
if(.@X1numtotal$>.@X2numtotal$) { mes "[" + getarg(0) + "]"; mes "My " + .@X1numtotal$ + " beats your " + .@X2numtotal$ + "!"; goto XStart; close; }
if(.@X1numtotal$<.@X2numtotal$) { mes "[" + getarg(0) + "]"; mes "Your " + .@X2numtotal$ + " beats my " + .@X1numtotal$ + "!"; set zeny,zeny+20000; goto XStart; close; }
if(.@X1numtotal$==.@X2numtotal$) { mes "[" + getarg(0) + "]"; mes "Draw, let's play again!"; set zeny,zeny+10000; set #trustfund,#trustfund-100; goto XStart; close; }
My number is the .@X2numtotal$.
The opponent number is .@X1numtotal$.
If I get a 7 and he gets a 2 then I win.
If I get a 3 and he gets a 4 then he wins.
If I get a 8 and he gets a 12 then I still win since 12 starts with a '1' it reads it as lower.
Question
Peopleperson49
I'm not completely sure if this would fall under script or sourse support. When using a '>' or '<' sign any number greater than 9 only registers the first number. I have tested this over and over and over again with the same results. For example:
My number is the .@X2numtotal$.
The opponent number is .@X1numtotal$.
If I get a 7 and he gets a 2 then I win.
If I get a 3 and he gets a 4 then he wins.
If I get a 8 and he gets a 12 then I still win since 12 starts with a '1' it reads it as lower.
Peopleperson49
Edited by peopleperson49Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.