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

Posts: 73
Likes Given: 6
Likes Received: 4 in 2 posts
Joined: Feb 2014
Reputation: 2



Post: #1
Adding/Removing TAGs
Hey guys I need to have a better understanding of TAGs Ive been banging my head with that almost all week >.< I always try everything I think of before asking haha. Im trying to tag Stat and Skill points to my level system, everything goes fine to gain the stat points but where I get stuck is removing it...I got 2 stat points and then I could add the stats I want, the points would drop down to 0 and then go back to 2, So of course I could add stats infinitely.
I dont have my script with me but Here's what I wrote:
[Function f_levelup]
TAG. STATP=<tag.statp>+{2 3} //not sure if its supposed to be <tag0.statp>

//and then on my level menu
[DIALOG d_levelm button]
ON=1
IF <EVAL <tag.statp>>
SRC. STR +=1
TAG.STATP=<tag.statp> -=1
ELSEIF
<EVAL <tag.statp>>
dialog d_levelm
ELSE
SYSMESSAGE you dont have any more Stat Points
Return 1
ENDIF
ENDIF

Sorry if it looks a bit messy, wrote that on my phone o.o
08-25-2015 02:16 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)