09-04-2007, 12:47 AM
Hello, I'm wondering if somebody could help me figure out how to do Greater Than, Less Than.
For Example:
For Example:
Greater Then: if(5>99) Less Then: if(5<99)
|
09-04-2007, 12:47 AM
Hello, I'm wondering if somebody could help me figure out how to do Greater Than, Less Than.
For Example:
09-04-2007, 01:28 AM
youre trying to use a str variable as an integer "<" and ">" are for numbers. youll need to change the str value to a number first and then compare it to "90,000".
look up "val" in the help to find out its sytax.
09-04-2007, 02:07 AM
Wow! thanks a lot Ken, just what I was looking for.
-- I came up with this, & tested by typeing 91000 in my Address Bar. ( id(1001<adress bar id "Browser Name") str+ less.getwintext(id(1001 "Crazy Browser")); int a=val(less) But what if I need to look at commas? Example: if(a>90,000);end else ,do this... -- Wow , NeverMind I got it ![]()
09-04-2007, 02:41 AM
nice rebuy , but there is an easier way bro!
09-04-2007, 02:44 AM
meanmuggin Wrote:nice rebuy , but there is an easier way bro! Rebuy? what are you talking about? this isn't a rebuy. lol --- Edit: Seriously this is not a rebuy & this will be used for many things in my macros not relating to gaming in any way. :lol: for 1, & for 2 , please don't post anything relateing to gaming on this site. For Instance: opt hidden 1
09-04-2007, 03:36 PM
I'm not really understanding how to compare the grabbed number to a number with a comma.
This is what I've tried so far: int i So mainly what I'm looking for, is a way to do this like this:
09-04-2007, 03:50 PM
meanmuggin Wrote:nice rebuy , but there is an easier way bro! You've said in previous statements about "witch hunting" or picking out people who are using this for games and yet you are picking out people yourself. I don't see how this is game related either.
Taking on Quick Macros one day at a time
|
« Next Oldest | Next Newest »
|