Search found 32 matches

by wryyymuda
24 Sep 2018, 17:40
Forum: Ask For Help
Topic: how to tell if a variable is integer? Topic is solved
Replies: 7
Views: 1956

Re: how to tell if a variable is integer? Topic is solved

nevermind you have to combine the is and not.
by wryyymuda
24 Sep 2018, 17:33
Forum: Ask For Help
Topic: multiply varibles?
Replies: 3
Views: 607

Re: multiply varibles?

AHKStudent wrote:var = 54
msgbox, % var * 2
ExitApp
it just counts it as text, i did

Code: Select all

%var% * 2
%var *2
%var * 2%
none of those worked
by wryyymuda
24 Sep 2018, 17:27
Forum: Ask For Help
Topic: how to tell if a variable is integer? Topic is solved
Replies: 7
Views: 1956

Re: how to tell if a variable is integer? Topic is solved

it also says i can do
if var is not type
but that doesn't work
by wryyymuda
24 Sep 2018, 17:26
Forum: Ask For Help
Topic: how to tell if a variable is integer? Topic is solved
Replies: 7
Views: 1956

Re: how to tell if a variable is integer? Topic is solved

this is what i am doing

Code: Select all

if def is integer {
msgbox, test
rx = 1
exitapp
}
by wryyymuda
24 Sep 2018, 17:22
Forum: Ask For Help
Topic: how to tell if a variable is integer? Topic is solved
Replies: 7
Views: 1956

Re: how to tell if a variable is integer? Topic is solved

it always returns an error and exits the script saying whatever variable i put there is wrong.
by wryyymuda
24 Sep 2018, 17:19
Forum: Ask For Help
Topic: multiply varibles?
Replies: 3
Views: 607

multiply varibles?

I would like to multiply one of my variables in my script by 2, or another one of my scripts. any functions for that?
by wryyymuda
24 Sep 2018, 17:02
Forum: Ask For Help
Topic: how to tell if a variable is integer? Topic is solved
Replies: 7
Views: 1956

how to tell if a variable is integer? Topic is solved

i need to see if a few of the variables in my code are integers and if they are not it just exits the program but i would rather have it state that that's the problem. any function or anything i can put in an if statement to test to see if it is an integer?
by wryyymuda
21 Sep 2018, 23:28
Forum: Ask For Help
Topic: if statement not working? Topic is solved
Replies: 5
Views: 727

Re: if statement not working? Topic is solved

yep, i never thought about the %%. i just thought they were required.
by wryyymuda
21 Sep 2018, 23:28
Forum: Ask For Help
Topic: if statement not working? Topic is solved
Replies: 5
Views: 727

Re: if statement not working? Topic is solved

AHKStudent wrote:remove %%

if (time < 550)
this works thanks!
by wryyymuda
21 Sep 2018, 23:28
Forum: Ask For Help
Topic: if statement not working? Topic is solved
Replies: 5
Views: 727

Re: if statement not working? Topic is solved

AHKStudent wrote:remove %%

if (time < 550)
this works thanks!
by wryyymuda
21 Sep 2018, 23:28
Forum: Ask For Help
Topic: if statement not working? Topic is solved
Replies: 5
Views: 727

Re: if statement not working? Topic is solved

AHKStudent wrote:remove %%

if (time < 550)
this works thanks!
by wryyymuda
21 Sep 2018, 23:10
Forum: Ask For Help
Topic: if statement not working? Topic is solved
Replies: 5
Views: 727

if statement not working? Topic is solved

idk, im probably being dumb since im a noob at this but what am i doing wrong? ,:: islabel(start) start: InputBox, time , delay , this dictates the delay between messages in ms, , 200, 200 if (%time% < 550) { msgbox, error, time is less than 550. this may cause errors in sending messages in discord....

Go to advanced search