blob: 685349145ac752b5190bbb0daa8b7bd28f8b077d (
plain) (
tree)
|
|
// TMW2 Script
//
// @monsterinfo <monsterAegis>
// Sends @mobinfo with a delay (moved from atcommand.conf)
//
- script @monsterinfo 32767,{
end;
// @monsterinfo uses the same delayer as RSync
OnCall:
if (@rsync_delay > gettimetick(2)) {
dispbottom l("Not doing that to prevent flood.");
end;
}
atcommand("@mobinfo " + implode(.@atcmd_parameters$, " "));
@rsync_delay=gettimetick(2)+rand(2,3);
end;
OnInit:
bindatcmd "monsterinfo", "@monsterinfo::OnCall", 0, 80, 0;
end;
}
|