summaryrefslogtreecommitdiff
path: root/npc/commands/ucp.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-20 10:59:09 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-20 10:59:09 -0300
commitafb5312626f327bf348695d9b916c6db84d37896 (patch)
treea00ad316e0d8cf5e995d30b88cc0892df85c88b3 /npc/commands/ucp.txt
parentf2dbf9026d600ea96f35c5e761715136f27b37d5 (diff)
downloadserverdata-afb5312626f327bf348695d9b916c6db84d37896.tar.gz
serverdata-afb5312626f327bf348695d9b916c6db84d37896.tar.bz2
serverdata-afb5312626f327bf348695d9b916c6db84d37896.tar.xz
serverdata-afb5312626f327bf348695d9b916c6db84d37896.zip
Update @ucp
Diffstat (limited to 'npc/commands/ucp.txt')
-rw-r--r--npc/commands/ucp.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 58d873522..167a3a9f7 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -16,6 +16,7 @@ function script UserCtrlPanel {
l("Rules"),
l("Game News"),
l("Account Information"),
+ rif(getcharid(2) > 0, l("Guild Information")),
l("Change Language"),
rif(is_admin() && $@GM_OVERRIDE, l("LoF Merge")),
l("Quit");
@@ -66,6 +67,20 @@ function script UserCtrlPanel {
break;
case 4: asklanguage(LANG_IN_SHIP); break;
case 5:
+ .@gid=getcharid(2);
+ mesc (".:: "+getguildname(.@gid)+" ::."), 1;
+ mesc l("Guild Master: @@", getguildmaster(.@gid)), 3;
+ if (getguildnxp(.@gid) > 0)
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), getguildnxp(.@gid));
+ else
+ mesc l("Guild Lv @@, @@/@@ EXP to level up", getguildlvl(.@gid), getguildexp(.@gid), "???");
+
+ mes "";
+ mesc l("Average player level: @@", getguildavg(.@gid));
+ mesc l("Your position on the guild: @@", getguildrole(.@gid, getcharid(3), true));
+ next;
+ break;
+ case 6:
mesn "Jesusalva";
mesq l("What do you think you are doing, anyway?!");
next;