blob: 685349145ac752b5190bbb0daa8b7bd28f8b077d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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;
}
|