-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathReflex Package Bashing 2017-5-16.nxs
1 lines (1 loc) · 2.85 KB
/
Reflex Package Bashing 2017-5-16.nxs
1
{"name":"bashing","enabled":true,"description":"A Bashing script for Achaea","type":"group","id":1,"items":[{"type":"function","name":"onLoad","enabled":true,"id":2,"code":"//Enter the function here\nif (typeof keneanung === \"undefined\" || typeof keneanung.bashing === \"undefined\") {\n var channel = client.get_variable(\"keneanung.bashing.channel\");\n if(!channel || channel == \"release\"){\n $.getScript(\"https://rawgit.com/AchaeaBashingScript/Bashing.js/release/Bashing.js\");\n client.set_variable(\"keneanung.bashing.channel\", \"release\");\n }else{\n $.getScript(\"https://rawgit.com/AchaeaBashingScript/Bashing.js/master/Bashing.js\");\n }\n}","actions":[]},{"type":"function","name":"onGMCP","enabled":true,"id":3,"code":"//Enter the function here\nif (typeof keneanung != \"undefined\" && typeof keneanung.bashing != \"undefined\") {\n if(args.gmcp_method == \"Room.Info\"){\n keneanung.bashing.roomInfoCallback(args.gmcp_args);\n }else if(args.gmcp_method == \"IRE.Target.Set\"){\n keneanung.bashing.setGmcpTarget(args.gmcp_args);\n }else if(args.gmcp_method == \"Char.Items.Add\"){\n keneanung.bashing.ItemAddCallback(args.gmcp_args);\n }else if(args.gmcp_method == \"Char.Items.Remove\"){\n keneanung.bashing.ItemRemoveCallback(args.gmcp_args);\n }else if(args.gmcp_method == \"Char.Items.List\"){\n keneanung.bashing.ItemListCallback(args.gmcp_args);\n }else if(args.gmcp_method == \"Char.Vitals\"){\n keneanung.bashing.vitalsCallback(args.gmcp_args);\n }else if(args.gmcp_method == \"Char.Status\"){\n keneanung.bashing.statusCallback(args.gmcp_args);\n }\n};","actions":[]},{"type":"trigger","name":"Slain","enabled":true,"id":4,"matching":"regexp","whole_words":false,"case_sensitive":true,"text":"^You have slain (.+), retrieving the corpse\\.$","actions":[{"action":"script","script":"keneanung.bashing.addPossibleTarget(args[1])"},{"action":"highlight","highlight":"backref","highlight_backref":"1","highlight_fg":"#ffff00","highlight_bg":"#000000"}]},{"type":"alias","name":"open config","enabled":true,"id":5,"matching":"exact","whole_words":true,"case_sensitive":true,"prefix_suffix":true,"actions":[{"action":"script","script":"keneanung.bashing.showConfig()"}],"text":"kconfig bashing"},{"type":"alias","name":"Open Prios","enabled":true,"id":6,"matching":"exact","whole_words":true,"case_sensitive":true,"prefix_suffix":true,"actions":[{"action":"script","script":"//Enter the script here\nkeneanung.bashing.showPrios();"}],"text":"kconfig bashing prios"},{"type":"trigger","name":"keneanung.bashing.queueTrigger","enabled":false,"id":7,"matching":"regexp","whole_words":true,"case_sensitive":true,"text":"^\\[System\\]: Running queued eqbal command: (?:KENEANUNGKI|KENEANUNGRA)$","actions":[{"action":"script","script":"//Enter the script here\nkeneanung.bashing.attack()"}]}]}