blob: df72e1f5adc6972ba5733c43e3729672465d31e5 (
plain) (
tree)
|
|
// TMW2 script
// Author: Jesusalva <admin@tmw2.org>
//
// @ipcheck <player_name>
// #ipcheck <player_name>
//
// Returns user IP
- script @ipcheck 32767,{
end;
OnCall:
if (.@atcmd_numparameters == 0)
.@request$ = strcharinfo(0);
else
.@request$ = implode(.@atcmd_parameters$, " ");
dispbottom strcharinfo(0)+": IP "+getcharip(.@request$);
end;
OnInit:
bindatcmd "ipcheck", "@ipcheck::OnCall", 80, 80, 1;
end;
}
|