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






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
client color character
Author Message
Novocaine
Apprentice
*

Posts: 3
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Mar 2014
Reputation: 0

New Hera Reborn

Post: #3
RE: client color character
hi there.

i notice that tag.override.noto.uid is not working as intended.

i tried to use @NotoSend to create an event, but is still not working.

Code:
ON=@NotoSend
    src.sysdebug src <src.name>, i <i.name>
IF !( <I.UID> == <SRC.UID> )
        IF ( <I.HASGUILD> ) && ( <SRC.HASGUILD> )
            REF1=<SRC.MEMORYFINDTYPE.MEMORY_GUILD.LINK>    //gilda di SRC
            REF2=<I.MEMORYFINDTYPE.MEMORY_GUILD.LINK>        //gilda di I
            IF ( <REF1.UID> == <REF2.UID> )    //se appartengono alla stessa gilda, allora sono alleati
                src.SYSMESSAGE <ref1.abbrev> <ref2.abbrev>
                IF (<SRC.FLAGS>&statf_criminal)
                    I.TAG.OVERRIDE.NOTO.<SRC.UID>=4 //MOSTRAMI COME CRIMINAL A SRC
                    SAY <src.name> CRIMINAL
                ENDIF
                IF ( <SRC.KILLS> >= 5 )
                    I.TAG.OVERRIDE.NOTO.<SRC.UID>=6 // MOSTRAMI COME EVIL A SRC
                    SAY <src.name> EVIL
                ENDIF
                IF !( <SRC.FLAGS>&statf_criminal ) || ( <SRC.KILLS> < 5)
                    SAY <src.name> SAME GUILD
                    I.TAG.OVERRIDE.NOTO.<SRC.UID>=2 //MOSTRAMI COME VERDE A SRC
                ENDIF
            ELSE
                IF ( <REF1.guildfromuid.<I.MEMORYFINDTYPE.MEMORY_GUILD.LINK>.isenemy> )
                    I.TAG.OVERRIDE.NOTO.<SRC.UID>=5
                    SAY <src.name> - <SRC.UID> - <SRC.TAG.OVERRIDE.NOTO.<I.UID>> ENEMY
                ELSE
                    SAY <src.name> - <SRC.UID> - <SRC.TAG.OVERRIDE.NOTO.<I.UID>> NON-IN-GUERRA
                ENDIF
            ENDIF
        ENDIF
    ENDIF

script passes and "say" comand spam correctly the align intended, tag is also written but not working.
any suggestion?
(This post was last modified: 04-03-2014 05:26 AM by Novocaine.)
04-03-2014 05:26 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
client color character - Novocaine - 03-29-2014, 02:08 AM
RE: client color character - XuN - 03-29-2014, 07:51 AM
RE: client color character - Novocaine - 04-03-2014 05:26 AM
RE: client color character - XuN - 04-03-2014, 06:03 AM
RE: client color character - Novocaine - 04-03-2014, 09:04 AM

Forum Jump:


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