I currently have a fairly long code that is made of 5 sections of almost identical code. Many of the steps are identical, so I was wondering if there's a way to make a custom command that will automatically trigger all those steps, so the code would be a bit easier to read?
Like making a custom command "startstuff" and have it do multiple things in a row, like "send message, sleep 100, click pos, sleep 100, copy text" etc.
I googled a bit, but I couldn't recall what these things are called so I didn't really get very far.
Thank you in advance.
Custom command to do many commands Topic is solved
Re: Custom command to do many commands Topic is solved
See labels and functions in the docs
But without seeing some example code, it is hard to work out exactly what you are talking about
But without seeing some example code, it is hard to work out exactly what you are talking about
Re: Custom command to do many commands
Oh, functions was indeed what I was looking for! The docs were a bit confusing, but I found a very nice example in a forum how to use it the exact way I want. Thank you!
Who is online
Users browsing this forum: DataLife and 159 guests