Razor tips, tricks, and techniques
I've seen a lot of posts about setting up macros, and I thought it might be a good idea to set up a post where people can ask questions, as well as post things they've discovered about Razor that can't be found on Razor's website.
I'll start it off. Here's a trick I just discovered that I've found very usefull.
Ever wanted to set up a for loop that can do more then just iterates a set number of times? try this:
For (1 to x) //make it a big number
....
....
....
....
if ( whatever )
End For
End If
Whenever the if statement is not satisified, the loop will stop. I haven't tested it completely, but I think it will be very usefull since the only other way to do this would be to put your code inside the if statement, which doesn't work if you are trying to check the journal to end the loop.
I'm interested in what other tricks other players have discovered.
I've seen a lot of posts about setting up macros, and I thought it might be a good idea to set up a post where people can ask questions, as well as post things they've discovered about Razor that can't be found on Razor's website.
I'll start it off. Here's a trick I just discovered that I've found very usefull.
Ever wanted to set up a for loop that can do more then just iterates a set number of times? try this:
For (1 to x) //make it a big number
....
....
....
....
if ( whatever )
End For
End If
Whenever the if statement is not satisified, the loop will stop. I haven't tested it completely, but I think it will be very usefull since the only other way to do this would be to put your code inside the if statement, which doesn't work if you are trying to check the journal to end the loop.
I'm interested in what other tricks other players have discovered.