//****************************************************************************
//SPHERE by : Menasoft ©1997-2007
//www.sphereserver.net
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners.  All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: 14-March-2007
VERSION=0.56b

[SPEECH spk_guildspeech]
ON=I resign from my guild
IF ((<ARGN1> == <DEF.TALKMODE_SAY>) && <GUILD>)
    f_guildsys_removecharfromguild <guild.uid>,<uid>
    RETURN 6
ENDIF
RETURN 1

ON=*
IF (<ARGN1> != <DEF.TALKMODE_GUILD>)
    RETURN 0 // Not my problem
ENDIF

FOR 0 <EVAL <GUILD.MEMBER.COUNT>-1>
REF1=<GUILD.MEMBER.<dLOCAL._FOR>.UID>
REF1.SYSMESSAGE @55,3,1 [<SRC.NAME>] : <ARGS>
ENDFOR
RETURN 1

[EOF]