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
Event problem
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #16
RE: Event problem
Code:
ON=@ITEMCLICK
SERV.B <NAME> CLICKED AT <ACT.NAME>
if (<act.attr>&04)
  SERV.B <ACT.NAME> IS NEWBIE
  act.message @,3,1 [newbified]
endif
if (<act.attr>&attr_magic)
  SERV.B <ACT.NAME> IS MAGIC
  act.message @,3,1 [magic]
endif
if !(<act.type>==t_corpse)
  SERV.B <ACT.NAME> IS NOT A CORPSE
  if (<act.amount>>1)
    SERV.B <ACT.NAME> HAVE AMOUNT <ACT.AMOUNT>
    act.message @,3,1 <act.amount> <act.name>
  else
    SERV.B <ACT.NAME> DON'T HAVE AMOUNT
    act.message @,3,1 <act.name>
  ENDIF
endif

IF <ACT.MAXHITS>
  SERV.B <ACT.NAME> HAVE MAXHITS <ACT.MAXHITS>
  act.message @,3,1 [Durability : <ACT.HITS>/<ACT.MAXHITS>]
endif
return 1

Check if your player char have the event: .xshow events or .xshow isevents.e_player

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
(This post was last modified: 05-21-2014 10:17 AM by Extreme.)
05-21-2014 09:52 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Event problem - kevin465 - 05-19-2014, 08:18 PM
RE: Event problem - kn4tseb - 05-20-2014, 02:15 AM
RE: Event problem - Extreme - 05-20-2014, 02:16 AM
RE: Event problem - kevin465 - 05-20-2014, 02:41 AM
RE: Event problem - Extreme - 05-20-2014, 05:40 AM
RE: Event problem - kevin465 - 05-20-2014, 06:59 PM
RE: Event problem - Feeh - 05-21-2014, 01:08 AM
RE: Event problem - kevin465 - 05-21-2014, 06:15 AM
RE: Event problem - Alaric - 05-21-2014, 06:19 AM
RE: Event problem - Extreme - 05-21-2014, 06:59 AM
RE: Event problem - kevin465 - 05-21-2014, 08:04 AM
RE: Event problem - Alaric - 05-21-2014, 08:28 AM
Event problem - kevin465 - 05-21-2014, 08:31 AM
RE: Event problem - Extreme - 05-21-2014, 09:00 AM
RE: Event problem - kevin465 - 05-21-2014, 09:49 AM
RE: Event problem - Extreme - 05-21-2014 09:52 AM
Event problem - kevin465 - 05-21-2014, 10:00 AM
RE: Event problem - Extreme - 05-21-2014, 10:18 AM

Forum Jump:


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