help with script ????

i use mikrotik v3.13 hotspot lan
ineed script to remove active user from /ip hotspot active if the same ip found in the address list in /ip firewall address-list

i mean i made address list to know the ip use p2p and if found ip in thes address list do remove from /ip hotspot active
look the pic to know the rule of address list
all.JPG
mybe its like
:foreach i in [/ip firewall address-list find name=pc-use-p2p get $i address] do={/ip hotspot active remove [find user=[/ip firewall address-list find name=pc-use-p2p get address]]}i mane remove any ip use p2p !!!
re.JPG

:foreach i in [/ip firewall address-list find list="pc-use-p2p"] do={
/ip hotspot active remove [find address=[/ip firewall address-list get $i address]]
}

thank you for reply mr mrz :> :> :> :slight_smile: :slight_smile:

p2p is always a killer on a network ad cant be stoped so easy anyway