The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Join Guild via Menu WITH toggle on *SOLVED*
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
Join Guild via Menu WITH toggle on *SOLVED*
how can i get players to join a guild using a menu and NOT have to be accepted by the guildmaster.... an easy force WITH TOGGLE ON =)
(or a way to force toggle on for everyone, if your in a guild its always there no matter what)


Code:
[MENU MENU_JOIN_WEI]
Welcome <Name>, Do you wish to join the army of Wei?
ON=0 I confess my loyalty to the Army of Wei and declare Lord Cao Cao my master.
CONFIRM_WEI
ON=0 No
SRC.SYSMESSAGE You decided not to join...

[MENU CONFIRM_WEI]
Are you sure you wish to join the Army of Wei?
ON=0 Yes
JOINWEI
ON=0 No
SRC.SYSMESSAGE You decided not to join...

[FUNCTION JOINWEI]

SRC.TAG.ARMY WEI
SRC.SYSMESSAGE Congtatulations, You have joined the mighty army of Wei!
SRC.GO xxxx,xxx


this is what the guildstone looks like in sphereworld.scp
Code:
[WORLDITEM i_guildstone]
SERIAL=040001fdc
NAME=Wei
COLOR=04
TAG.changeabbrev_time=066eeae
P=5136,1767
ALIGN=0
ABBREV=Wei
MEMBER=01ffd,,2,01ffd,1,1,0 <--guildmaster with toggle on
MEMBER=040001fd3,,100,00,1,1,0 <--guild at war with
MEMBER=040001fca,,100,00,1,1,0 <--guild at war with

and the memory item on the guildmaster
Code:
[WORLDITEM i_memory]
SERIAL=040001fdb
COLOR=0400
TIMESTAMP=697036
LINK=040001fdc
ATTR=04
MOREP=5137,1766
LAYER=30
CONT=01ffd

ideas?

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 01-04-2015 02:51 PM by x77x.)
01-02-2015 08:38 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Join Guild via Menu WITH toggle on *SOLVED* - x77x - 01-02-2015 08:38 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)