blob: dfa0093d0d7b6f3fadaaf1fb52362bb89eb26652 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// TMW-2 Script
// Author:
// Jesusalva
// Description:
// Vault Utilities
function script getvaultid {
// FIXME: Make this False
if ($BETASERVER && !debug)
return ##VAULT;
else
return 0;
}
function script getvaultexp {
.@exp=getarg(0);
if (.@exp > 100)
Exception("ILLEGAL VAULT EXPERIENCE, FIXME URGENTLY. STOPPING SCRIPT BY FORCE WHILE DOING NOTHING.",
RB_DEBUGMES | RB_IRCBROADCAST | RB_GLOBALANNOUNCE | RB_ISFATAL);
if (getvaultid()) {
##VAULT_EXP+=.@exp;
debugmes("Granting %d Soul Exp to %d under the Moubootaur's authority.",
.@exp, ##VAULT);
}
return;
}
|