summaryrefslogtreecommitdiff
path: root/conf-tmpl
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-01 17:59:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-01 17:59:34 +0000
commitc8d4b89b3de0e8db730fbd375c5b4abd38ac6dff (patch)
tree4e4aea82151528492ca70b515bd59deb00152b80 /conf-tmpl
parent5c7ca41032aec98589071c485eccf695f594638c (diff)
downloadhercules-c8d4b89b3de0e8db730fbd375c5b4abd38ac6dff.tar.gz
hercules-c8d4b89b3de0e8db730fbd375c5b4abd38ac6dff.tar.bz2
hercules-c8d4b89b3de0e8db730fbd375c5b4abd38ac6dff.tar.xz
hercules-c8d4b89b3de0e8db730fbd375c5b4abd38ac6dff.zip
- Cleaned up some more the SC_JAILED code
- merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru and Coltaro for the code. - Cleaned the code of atcommnds jail and unjail - Be warned that the code MAY contain bugs as I adjusted it to save the character's position before jailing, allowing the automatic unjailing to warp you back to the exact spot you were at before being jailed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8038 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf-tmpl')
-rw-r--r--conf-tmpl/atcommand_athena.conf9
-rw-r--r--conf-tmpl/msg_athena.conf5
2 files changed, 13 insertions, 1 deletions
diff --git a/conf-tmpl/atcommand_athena.conf b/conf-tmpl/atcommand_athena.conf
index 6a2472ddd..455932977 100644
--- a/conf-tmpl/atcommand_athena.conf
+++ b/conf-tmpl/atcommand_athena.conf
@@ -122,6 +122,9 @@ main: 1
// Autorejecting Deals/Invites
noask: 1
+// Displays remaining jail time
+jailtime: 1
+
//---------------------------
// 10: Super player+ commands
@@ -579,6 +582,12 @@ jail: 60
unjail: 60
discharge: 60
+// Timed jailing
+jailfor: 60
+
+//Displays remaining jail time
+charjailtime: 60
+
// To change disguise of another player/GM
chardisguise: 60
charundisguise: 60
diff --git a/conf-tmpl/msg_athena.conf b/conf-tmpl/msg_athena.conf
index 7a9e31a03..f5e65f98b 100644
--- a/conf-tmpl/msg_athena.conf
+++ b/conf-tmpl/msg_athena.conf
@@ -133,7 +133,7 @@
118: Player warped in jails.
119: This player is not in jails.
120: GM has discharge you.
-121: Player warped to Prontera.
+121: Player unjailed.
122: Disguise applied.
123: Monster/NPC name/id hasn't been found.
124: Undisguise applied.
@@ -393,6 +393,9 @@
396: Autorejected alliance request from %s.
397: Autorejected opposition request from %s.
398: Autorejected friend request from %s.
+400: Usage: @jailfor <time> <character name>
+401: You have been jailed for %d years, %d months, %d days, %d hours and %d minutes
+402: %s in jail for %d years, %d months, %d days, %d hours and %d minutes
// Messages of others (not for GM commands)
// ----------------------------------------