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-nmm6 (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-nmm6 (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-nmm6 (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
[Suggestion] @Dye improvement
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #5
RE: [Suggestion] @Dye improvement
I don't know if it would be bad to use EventsItems, however ... there's a more precise way to do so:

Code:
[TYPEDEF t_dye_vat]
ON=@DClick
blabla

ON=@TargOn_Item
if (<src.targ.trigger @ColorChange,<def.tat_as_argn>,<color>>==1)
return 1
endif
This will override every item with this type, you may block actions in this re-definition, return 0 will allow default behaviour... so it seems fine for what you want?
05-18-2014 06:00 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
[Suggestion] @Dye improvement - Coruja - 05-15-2014, 09:56 PM
RE: [Suggestion] @Dye improvement - XuN - 05-15-2014, 10:26 PM
RE: [Suggestion] @Dye improvement - Feeh - 05-16-2014, 03:28 AM
RE: [Suggestion] @Dye improvement - Coruja - 05-18-2014, 12:55 PM
RE: [Suggestion] @Dye improvement - Feeh - 05-19-2014, 12:38 AM
RE: [Suggestion] @Dye improvement - XuN - 05-18-2014 06:00 PM
RE: [Suggestion] @Dye improvement - Coruja - 05-19-2014, 02:58 AM
RE: [Suggestion] @Dye improvement - Ben - 05-20-2014, 09:13 AM

Forum Jump:


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