summaryrefslogblamecommitdiff
path: root/npc/commands/resync.txt
blob: 84e1f3ee69611d086199d04721ac44892f616fe9 (plain) (tree)




















                                                                                   
// 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;
}