You need to add the macro Update Exp increasingly going into basement, so if you die will work correctly.
[macro]0 {Update Exp} exp:=Self.Experience()[/macro]
[macro]300 {Pause on Death by Kimoszin} !exp!<>0 !exp!>Self.Experience() Self.Logout() BBot.TogglePause()[/macro]
Code:
Point (X Y Z)
...
Label (X Y Z: Cave)
Macro (X Y Z:Update Exp)
Point (X Y Z)
...
[macro]0 {Update Exp} exp:=Self.Experience()[/macro]
[macro]300 {Pause on Death by Kimoszin} !exp!<>0 !exp!>Self.Experience() Self.Logout() BBot.TogglePause()[/macro]