Script to delete user in "IP DHCP SERVER LEASES"

Greetings gentlemen, I have a script that eliminates the clients connected to the HOTSPOT and it works very well for me, but I would like that same script to also eliminate that user in IP DHCP SERVER LEASES, I need your help, thanks in advance. Here I leave the script.

:local comment "IN USE"
:local userprofile [ip hotspot user get [find where name="$user"] profile]

:if ([/ip hotspot user get $user comment]="") do={[/ip hotspot user set $user comment=$comment]}

[/system scheduler 
add comment= [/ip hotspot user profile get [find where name="$userprofile"] name] name=$user on-event="/ip hotspot user remove \"$user\" \r\
  \n/system scheduler remove [find where name=\"$user\"] \r\
  \n\r\
" interval= [/ip hotspot user profile get [find where name="$userprofile"] session-timeout]]

Is not easyer set the DHCP timeout to 10 min?

Thanks for responding REX, but what would the script be like?

Seriously?

REX. I need help with this script please

brother, read above what @rextended adviced.

No one is willing to write a complicated script something if the solution is with one click (already explained)

Can anybody help me please.

I will thank you eternally.

To me you’re kidding us.