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
ON=@kill
Author Message
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #3
RE: ON=@kill
I changed the script and put it this way:

[Events e_more_money]
ON=@kill
if (<argo.isevent.e_exp>)
serv.newitem i_gold,{1000 2000},<argo>
src.message TESTE KILL TESTE KILL
endif

and i have this :

[Events e_more_money]
ON=@kill
IF (<ARGO.NPC>)
IF !(RAND(<eval <LOCAL.e_exp>>))
f_more_money
NEW.CONT <ARGO.UID>
ENDIF
RETURN 0
ENDIF


When I kill the MOB with GM, the script works, but when testo with the player does not work. Where am I going wrong?
(This post was last modified: 03-27-2014 03:03 AM by Van Glan Bloom.)
03-27-2014 02:47 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
ON=@kill - Van Glan Bloom - 03-26-2014, 02:47 PM
RE: ON=@kill - XuN - 03-26-2014, 06:52 PM
RE: ON=@kill - XuN - 03-27-2014, 07:07 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014 02:47 AM
RE: ON=@kill - Mordaunt - 03-27-2014, 04:19 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014, 05:50 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014, 09:35 AM
RE: ON=@kill - darksun84 - 03-27-2014, 10:07 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014, 01:48 PM
RE: ON=@kill - Alaric - 03-27-2014, 08:14 PM
RE: ON=@kill - Van Glan Bloom - 03-28-2014, 01:30 AM
RE: ON=@kill - Coruja - 03-29-2014, 01:23 AM
RE: ON=@kill - UltimaAku - 03-29-2014, 03:44 AM
RE: ON=@kill - Van Glan Bloom - 03-29-2014, 09:45 AM
RE: ON=@kill - UltimaAku - 03-30-2014, 09:16 PM

Forum Jump:


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