summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-28 22:09:02 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-28 22:09:02 -0300
commita758dd1879c2973db97245a39abd33448af770d9 (patch)
tree4a6c4999704b47be93fe6a6ac5df144b1f829291 /npc/functions
parent5078989542df030741ed3f1acd79d438052c13c9 (diff)
downloadserverdata-a758dd1879c2973db97245a39abd33448af770d9.tar.gz
serverdata-a758dd1879c2973db97245a39abd33448af770d9.tar.bz2
serverdata-a758dd1879c2973db97245a39abd33448af770d9.tar.xz
serverdata-a758dd1879c2973db97245a39abd33448af770d9.zip
Actually, allow all town admins to exile people.
Because it is fun!
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/politics.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index 58c1a2d71..ac31a2a9d 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -349,8 +349,8 @@ function script POL_Manage {
l("Lower city taxes"), 35,
rif(.@CR && .@RP, l("Tax crafters")), 40,
rif(!.@CR, l("Don't tax crafters")), 41,
- rif(is_staff(), l("Exile a player")), 70,
- rif(is_staff(), l("Revert a player exile")), 71,
+ l("Exile a player"), 70,
+ l("Revert a player exile"), 71,
l("Resign"), 99;
mes "";
switch (@menuret) {
@@ -462,6 +462,7 @@ function script POL_Manage {
#EXILED=#EXILED|.@town;
if (getsavepoint(0) == LocToMap(TPToLoc(.@town)))
savepoint "000-1", 22, 22;
+ // LOCATION$ will be redefined once you leave so no worries
detachrid();
attachrid(.@you);
kamibroadcast(sprintf("%s has EXILED %s from %s.",