Thanks to everybody who helped me
but this is better
When you enter on cave (on waypoint)
Macro "Enable Ring"
When you leave on cave (on waypoint)
Macro "Disable Ring"
[macro]0 {Enable Ring} Self.Equip.Ring(Ring ID) [/macro]
[macro]0 {Disable Ring} Self.UnEquip.Ring(ToContainer) [/macro]
but this is better
When you enter on cave (on waypoint)
Macro "Enable Ring"
When you leave on cave (on waypoint)
Macro "Disable Ring"
[macro]0 {Enable Ring} Self.Equip.Ring(Ring ID) [/macro]
[macro]0 {Disable Ring} Self.UnEquip.Ring(ToContainer) [/macro]