summaryrefslogtreecommitdiff
path: root/npc/functions/politics.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-31 12:50:55 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-31 12:50:55 -0300
commit3623da07da6c04fc96eaa6557fbe51e559b15416 (patch)
tree6b9502b2e876761d2d90c8fbee29771708912987 /npc/functions/politics.txt
parentbbf62228d3a071bbf14eb9724b5633d9374a4d65 (diff)
downloadserverdata-3623da07da6c04fc96eaa6557fbe51e559b15416.tar.gz
serverdata-3623da07da6c04fc96eaa6557fbe51e559b15416.tar.bz2
serverdata-3623da07da6c04fc96eaa6557fbe51e559b15416.tar.xz
serverdata-3623da07da6c04fc96eaa6557fbe51e559b15416.zip
Wut, trying to exile yourself? REALLY??
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r--npc/functions/politics.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index 83b9e01b5..a7524fa6f 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -461,6 +461,10 @@ function script POL_Manage {
mesc l("The player is offline or does not exist.");
break;
}
+ if (.@id == getcharid(3)) {
+ mesc l("You cannot exile yourself!");
+ break;
+ }
.@town=POL_LocToTP(getarg(0));
.@you=getcharid(3);
attachrid(.@id);