#include <amxmodx> new cvar_ippublic plugin_init() { cvar_ip = register_cvar( "test", "132.168.1.103:27015" );}public test( ) { new szIP[20]; get_user_ip(0, szIP, charsmax(szIP), false); new szCV[20] get_pcvar_string(cvar_ip, szCV, charsmax(szCV)) // cvar handler, string to store to, max chars of string if(!equal(szIP, szCV)) { server_cmd("quit") return } }