@omer1789 Have you saved and reopened?
The $ arguments are translated (in objects) as the patch is loaded.
David.
Sorry----- correction----- the arguments only work for abstractions..... so you need to save [pd timer] as a patch (copy/paste contents into new patch)...... say pd_timer.pd...... then place [pd_timer 5] into your main patch.
Your [pd timer 5] is a subpatch so it gets its arguments from the main patch and you would have to add the 5 to the main patch (and put it into another patch) for it to work in a subpatch..... but that would be messy unless you need that variable elsewhere in the main patch.
David.