From c8be0b78945ef07b6f0be4126e37ff41a48466bf Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Jul 2018 16:48:30 -0300 Subject: @ipcheck prototype --- npc/commands/ipcheck.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 npc/commands/ipcheck.txt (limited to 'npc/commands') diff --git a/npc/commands/ipcheck.txt b/npc/commands/ipcheck.txt new file mode 100644 index 000000000..756e64a4f --- /dev/null +++ b/npc/commands/ipcheck.txt @@ -0,0 +1,20 @@ +// TMW2 script +// Author: Jesusalva +// +// #ipcheck +// +// 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; +} -- cgit v1.2.3-60-g2f50