With a three-line macro: /use with the lure ID, /use 16, and /click StaticPopup1Button1. The second line applies the lure to whatever is in your main hand, and the third clicks "Yes" if the game asks whether to replace the old one.
The macro
#showtooltip
/use item:6532
/use 16
/click StaticPopup1Button1Swap 6532 for your lure's ID from the table below. You can use the name instead, but it has to match the game's name exactly.
Equip the fishing pole first, since /use 16 works on your main hand.
The third line clicks "Yes" in the "Do you want to replace ... with ...?" window. If the old lure already ran out, there is no window, and the line just does nothing.
We checked that line against Forever's UI code but haven't tested it in game. If the window stays open, click "Yes" yourself.
Lure IDs
| Lure | ID | Fishing bonus |
|---|---|---|
| 6529 | +25 | |
| 6530 | +50 | |
| 6811 | +50 | |
| 6532 | +75 | |
| 7307 | +75 | |
| 6533 | +100 |
Making the macro
Type /macro in chat, click "New", pick any name, and choose the question mark icon. That way the button shows the lure icon and how many you have left. Paste the text and drag the macro to your bar.