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
Adding/Removing TAGs
Author Message
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #2
RE: Adding/Removing TAGs
tag0.blabla -----> means if there is no value for blabla return 0
TAG.STATP=<tag.statp> -=1 this one really wrong Tongue correct one is tag0.statp -= 1
also for if <eval <tag.statp>> eval is not neccessary just use if <tag0.statp> but i couldnt understand what are u trying to do while checking 2 times tag.statp but i correct all of them with my understanding.

[DIALOG d_levelm button]
ON=1
IF <src.tag0.statp>
SRC.STR +=1
src.TAG0.STATP -= 1
src.dialog d_levelm
ELSE
src.SYSMESSAGE you dont have any more Stat Points
Return 1
ENDIF

also if you are calling this dialog with command you dont have to use 'src' but if you are calling it from item or npc u should use src.
(This post was last modified: 08-25-2015 02:51 AM by azmanomer.)
08-25-2015 02:38 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Adding/Removing TAGs - Osirirs - 08-25-2015, 02:16 AM
RE: Adding/Removing TAGs - azmanomer - 08-25-2015 02:38 AM
RE: Adding/Removing TAGs - Osirirs - 08-25-2015, 09:22 AM
RE: Adding/Removing TAGs - pointhz - 08-25-2015, 12:01 PM
RE: Adding/Removing TAGs - Osirirs - 08-28-2015, 07:39 AM

Forum Jump:


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