summaryrefslogblamecommitdiff
path: root/npc/commands/ipcheck.txt
blob: 756e64a4f80808aceb4cc7cc2da4095aec2d6f99 (plain) (tree)



















                                                       
// TMW2 script
// Author: Jesusalva <admin@tmw2.org>
//
// #ipcheck <player_name>
// 
// Returns user IP


-	script	@ipcheck	32767,{
    end;

OnCall:
    dispbottom str(getcharip());
    debugmes strcharinfo(0)+": IP "getcharip();
    end;

OnInit:
    bindatcmd "ipcheck", "@ipcheck::OnCall", 80, 80, 1;
    end;
}