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
trigger=timer
Author Message
jdchixin
Journeyman
*

Posts: 51
Likes Given: 9
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
trigger=timer
ONTRIGGER=TIMER
newitem=0xx //can not work

return 1

Time-trigger, can not produce the ITEMS?
03-31-2013 12:02 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #2
RE: trigger=timer
Code:
[ITEMMENU 303]
Okay Then. But You Gotta Say The Magic Words...
ON=I've Fallen And I Can't Get Up!
IF <SRC.FLAGS> & 2
SAY Help! I've Fallen And I Can't Get Up!
SRC.FAME 0
NEWITEM 07878 //ID of the stuck coin
ACT.LINK=<SRC.SERIAL>
ACT.TIMER=20
SYSMESSAGE #0481,3,You will be resurrected in 20 seconds...
ELSE
SRC.SYSMESSAGE=You Are Not Dead!
RETURN 1
ENDIF


Code:
//RESURRECT COIN

[7878]
ID=0eed
ATTR=090
TYPE=0
NAME=rez coin

ONTRIGGER=TIMER
IF <LINK.FLAGS> & 2
    LINK.RESURRECT
    LINK.SYSMESSAGE #0481,3, You have been Revived!
    LINK.SYSMESSAGE #0481,3, You Need To Be More Careful...
        LINK=04FFFFFFF
        REMOVE
    RETURN 1
    ELSE
    LINK.SYSMESSAGE You Are Not Dead!
        LINK=04FFFFFFF
        REMOVE
    RETURN 1
    ENDIF

Dragons of Time 2000-2020
http://dragonsoftime.com
03-31-2013 12:43 PM
Find all posts by this user Like Post Quote this message in a reply
jdchixin
Journeyman
*

Posts: 51
Likes Given: 9
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
RE: trigger=timer
i want NEWITEM something, Not modify the properties of LINK

Just now I'm in your sever
03-31-2013 01:32 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: #4
RE: trigger=timer
Timers have no problem with creating items. We use them in our spawn trap system

Code:
ONTRIGGER=TIMER
    IF (<MOREY> == 1)
        LINK.NEWITEM=0xxxx
        LINK.ACT.P=<LINK.P>
        LINK=04fffffff
        MOREY=0
        TIMER=<MOREX>
    ENDIF
    RETURN 1

Wars come and go, but my soldiers stay ethernal.

I broke the dam

Czech Shard Dark Paradise
(This post was last modified: 03-31-2013 09:27 PM by Mulambo.)
03-31-2013 09:26 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
evening
Journeyman
*

Posts: 138
Likes Given: 0
Likes Received: 14 in 9 posts
Joined: Apr 2012
Reputation: 1

Finally Land

Post: #5
RE: trigger=timer
Say the features you need!
04-01-2013 02:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
uo520
Apprentice
*

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



Post: #6
RE: trigger=timer
In 51a, item cannot create anything, so use cont or link to a npc to create newitem.
06-29-2013 07:11 PM
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)