From afb5312626f327bf348695d9b916c6db84d37896 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 20 Mar 2019 10:59:09 -0300 Subject: Update @ucp --- npc/commands/ucp.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'npc/commands') 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; -- cgit v1.2.3-60-g2f50