restart wlan

Hello community I am interested in making a script that when a client requests access to an ip address, the interface for which he is surfing is restarted. That is, the client accesses the address 2.2.2.2 and execute the command / interface wireless connect-list disable numbers = X;