Paste #38727: Diff note for paste #38726

Date: 2017/01/03 17:45:51 UTC-08:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


 BaysRiver-Preacher:
     type: assignment
     actions:
         on assignment:
+        - trigger name:click state:true
+        - trigger name:chat state:true
         on enter proximity:
             - random 4
             - chat "&lHello"
             - chat "&lWelcome"
             - chat "&lHi there"
             - chat "&lsorry do I know you?"
     interact scripts:
     - 1 PreacherBaysRiver
 
 CFormat:
     type: format
     format: "<&9><npc.name><&8> to you <&co> <text>"
 
 PreacherBaysRiver:
     type: interact
     steps:
         1:
             click trigger:
             script:
             - random
             - inject BRP-areYouLookingForWork
             - inject BRP-doYouWishToKnowMoreAboutNavi
             - inject BRP-canIHelpYou
 
         2:
             chat trigger:
               1:
                   trigger: /Yes, you can help me/
                   script:
                   - narrate "Example"
               2:
                   trigger: /No, you can't help me/
                   script:
                   - narrate "Example"
 
 BRP-areYouLookingForWork:
     type: task
     script:
     - narrate "Example-Says <proc[msgChat].context[Eample2|hello3|ExampleHover]>"
 
 BRP-doYouWishToKnowMoreAboutNavi:
     type: task
     script:
     - narrate "Example-Says <proc[msgChat].context[Eample2|hello3|ExampleHover]>"
 
 BRP-canIHelpYou:
     type: task
     script:
     - narrate "Can I help you?"
     - narrate "Yes, you can help me <proc[msgChat].context[<&6><&l>Select|Yes, you can help me|&6Click to Select]>"
     - narrate "No, you can't help me <proc[msgChat].context[[<&6><&l>Select|No, you can't help me|&6Click to Select]>"
+
+
+
+
+
+
+
+
+
+
+#############NOTES#############################################################################################
+#  Example Usage:
+#    - narrate "click <&e><proc[msgUrl].context[<&e>this|google.com/search|<&9>click]> link"
+#    - narrate "read the <&e><proc[msgcommand].context[<&e>help|help|<&a>click here fool!]> docs"
+#    - narrate "hover your mouse on the <&e><proc[msghover].context[<&e>secret|<&6>gold star!]> message"
+#     <proc[msgChat].context[%display%|%chat%|%hover%]>
+#    - narrate "Hello <proc[msgChat].context[hello2|hello3|%hover%hello4]>"
+#
+#      - narrate "Example-Says <proc[msgChat].context[Eample2|hello3|ExampleHover]>"
+#
+#    CFormat:
+#      type: format
+#      format: "<&9><npc.name><&8> to you <&co> <text>"
+#
+#################################################################################################################