@Rinux No one answering in this section of the forum would be asking for money. Paid commissions are exclusively in the Classified section.
Furthermore, this is not even a scripting issue, but pure eventing. It is, however, much easier to set up if you turn things around and set your variable to add.
Set a new variable and name it so that you don't accidentally use it for something else as well.
In the Operand section, click Add, click Constant and type 1 in the box.
Select Game Data
Click on the ... at the end
Select Other and from the drop down menu select Steps.
Now your variable is counting how many steps are being taken.
The next bit requires more information from you about how the whole task thing is set up.
For example, if the task is given by an event, then that event would turn on a parallel process which checks what number that variable has reached. Don't forget to include a 'Wait' command to prevent lag. It doesn't need to check it 60 times a second. There would be a conditional branch in it which specified what happens if the variable equals X.
Completing the task turns that parallel process off.