Denizen 0.8 Alpha Trader script


Author: Dandielo
Created: 2013-01-21T18:05:46-0500
Edited: 2013-01-21T18:06:25-0500
Denizen Version: 0.76
Views: 51
Downloads: 897
Likes: 0


WGET
Description: A sample script that allows in a easy way to create Chat Traders, it comes with dtlTraders version 2.4+

'Trader':       
  Type: Assignment            
  Actions:
    On Transaction Success:
    - CHAT 'You bought an item'
    On Transaction Failure:
    - CHAT 'Something has gone wrong, check your <trader.failure>'
  interact scripts:
    - 10 Transaction
 
 
    
'Transaction':
    type: interact
    steps:
        'Test*':
            chat trigger:
                'Buy':
                    trigger: '/<trader.selling>/'
                    script: 
                    - TRANSACTION 'ITEM:<trader.item>'




Comments
2013-02-04 08:13:00 - dandielo:

This one is outdated, with the latest dtlTrader release!