Jump to content
Sign in to follow this  
Guest mastavern

send("text #")

Recommended Posts

Guest mastavern

I am working on a script that after sending or writeing text, it will send a changeing variable.

so if i wanted to send something like:

Send("+i_+love_+you") but at the end of it i want it to place a number that increses every time the script runs through again. so the out put would be:







till a set number, or keeps going on forever till the script is stoped...

any help is greatly apprecieated.



Share this post

Link to post
Share on other sites

You can use a loop or an if Statement. Here is an example using the if statment. Everytime the user presses r you get a new occurance.

Hope this helps

HotKeySet("r", "FunSappy")

While 1

Func FunSappy()

If $count<10 then;this is assuming 10 is the max number of times
send("I_love_you" & $count)
$count = $count+1


Share this post

Link to post
Share on other sites
Guest mastavern

yes. that helped wonders. thank you for your help.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.