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
If I Use SRC.NEWITEM= In Script To Add an Item 2 World Is There a Command 2 Remove It
Author Message
Admin Drew
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2013
Reputation: 0



Post: #1
If I Use SRC.NEWITEM= In Script To Add an Item 2 World Is There a Command 2 Remove It
Hi.. I'm trying to figure out if there is a command I can add to a script to remove an item after it's been added to the world. When someone uses the item I scripted an SRC.NEWITEM= will appear in the world by them but I just want it there for a second and then to disappear. Is there a SRC.REMOVEITEM= command or something else that will look for the new item ID that has been made and remove it from the world shortly after? I have tried using the REMOVE command after it's made, and tried setting the new item to decay with no luck..it still just stays in world and isn't removed.
Thanks all
07-03-2013 12:52 PM
Find all posts by this user Like Post Quote this message in a reply
Mulambo
Apprentice
*

Posts: 22
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 0

Dark Paradise

Post: #2
RE: If
Code:
somescript
SRC.NEWITEM=blabla
SRC.ACT.TIMER=1
and on item that u want removed u can use
Code:
ONTRIGGER=TIMER
  TIMER=-1
  REMOVE
  RETURN 1

Wars come and go, but my soldiers stay ethernal.

I broke the dam

Czech Shard Dark Paradise
(This post was last modified: 07-04-2013 02:49 AM by Mulambo.)
07-04-2013 02:48 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Admin Drew
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2013
Reputation: 0



Post: #3
RE: If I Use
Mulambo thanks again man that worked great!
07-04-2013 11:16 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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