diff options
Diffstat (limited to 'npc/commands/resync.txt')
-rw-r--r-- | npc/commands/resync.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/npc/commands/resync.txt b/npc/commands/resync.txt new file mode 100644 index 000000000..84e1f3ee6 --- /dev/null +++ b/npc/commands/resync.txt @@ -0,0 +1,21 @@ +// TMW2 script +// Author: Jesusalva <admin@tmw2.org> +// +// Introduces @resync +// +// It'll cast slide to your own position +// Hopefully making client update your real position without causing server warning + + +- script @resync 32767,{ + end; + +OnCall: + getmapxy(.@m$, .@x, .@y, 0); + slide .@x, .@y; + end; + +OnInit: + bindatcmd "resync", "@resync::OnCall", 0, 99, 0; + end; +} |