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
tag issue
Author Message
Nox
Apprentice
*

Posts: 4
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: Jan 2018
Reputation: 0



Post: #1
tag issue
Hi friends, i'm having a problem with my items scripts

right now, some of my items have this "type" variable that i'm using, so when you click the item the name displays like:

[xxx]
name of the item

so, for this, this items have this in the [itemdef]:
tag.type=xxx

then, i have this event to every player:
ON=@ItemAfterClick
if (<act.tag.type>)
act.message=[<act.tag.type>]
endif


the thing is that this worked fine for my test item... but now that i give the property "type" to a lot of items, i realized that it just works for my "first item" with the type tag

i was reading about the tag, tag0, and everything, but no combination works for me Sad please help

by the way, when I set a type "yyy" to other item, the console says:

Undefined symbol 'yyy' ['yyy)']
(This post was last modified: 02-01-2018 10:34 PM by Nox.)
02-01-2018 10:32 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
tag issue - Nox - 02-01-2018 10:32 PM
RE: tag issue - Coruja - 02-02-2018, 02:43 AM
RE: tag issue - Nox - 02-02-2018, 12:00 PM

Forum Jump:


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