Shattered Kingdoms
https://www.shatteredkingdoms.org/forums/

MUSHclient PvP Config
https://www.shatteredkingdoms.org/forums/viewtopic.php?f=42&t=22696
Page 1 of 1

Author:  archaicsmurf [ Wed Jul 04, 2012 6:08 am ]
Post subject:  MUSHclient PvP Config

I really like how some players have scripted indicators for meaningful PvP occurrences. Coloring them is also enormously cool. I haven't heard that this isn't allowed yet, so I'm asking for help on getting some of these activated.

Quote:
A dude bashes your ally
>>>ALLY IS BASHED<<<
a dude knocks the wind out of ally


Quote:
An ally is no longer prone
>>>Ally is UP!<<<

Author:  ladyjennbo [ Wed Jul 04, 2012 7:43 am ]
Post subject:  Re: MUSHclient PvP Config

Ditto!

Author:  Edoras [ Wed Jul 04, 2012 9:49 am ]
Post subject:  Re: MUSHclient PvP Config

To answer the initial question, triggers which do not send commands to the MUD are perfectly legal and extremely useful.

I've whipped up some immediate-window friendly triggers: If anyone has any trouble setting these up let me know, I may be operating on a version of MUSHClient with some version differences. I've tested these to a point, but not completely exhaustively.

So far it's Bashes, trips and disarms. If you like these, I can add more myself or you can post them and I'll edit them into my post. Step by step installation options follow.

1. Open MUSHClient, make sure that the SK world is loaded, then press ALT+ENTER. This should open the Configuration for the currently open world.
2. In the "Configuration" dialog box, select the "Scripts" option at the bottom of the left-hand menu, then ensure
that the Scripting Language is set to "JScript".
3. Close the configuration options, and press CTRL-I. This should open the immediate window.
4. In the immediate window, paste the following statements as a whole and click "RUN." This will add the seven triggers for noting a bash, trip or disarm. You probably -won't- get a status message indicated that they were added correctly.

Code:
AddTriggerEx("Bash_Hit", "(.{1,}) slams into (.{1,}) and .{1,}",
   "NoteStyle(3);Note(\"%1 ***BASHED*** %2\")",
   33, 3,
   0, "", "", 12, 100);

AddTriggerEx("Bash_Miss", "(.{1,})'s bash misses .{1,}",
   "NoteStyle(3);Note(\"%1 ***MISSED A BASH***\")",
   33, 3,
   0, "", "", 12, 100);

AddTriggerEx("Trip_Hit", "(.{1,}) trips a (.{1,}) sending .{1,}",
   "NoteStyle(3);Note(\"%1 ***TRIPPED**** %2!!!\")",
   33, 3,
   0, "", "", 12, 100);

AddTriggerEx("Trip_Miss", "(.{1,}) tries to trip (.{1,})",
   "NoteStyle(3);Note(\"%1 ***MISSED A TRIP***\")",
   33, 3,
   0, "", "", 12, 100);

AddTriggerEx("Disarm_Drop", "(.{1,})disarms you and sends(.{1,})",
"NoteStyle(3);Note(\"%1 ***DISARMED*** YOU!!!  WIELD SOMETHING ELSE!\")",
   33, 3,
   0, "", "", 12, 50);

AddTriggerEx("Disarm_Secure", "(.{1,})disarms you but you secure(.{1,})",
"NoteStyle(3);Note(\"***WIELD YOUR WEAPON***, %1DISARMED YOU!!!\")",
   33, 3,
   0, "", "", 12, 50);

AddTriggerEx("Disarm_Other", "(.{1,})disarms(.{1,})",
   "NoteStyle(3);Note(\"%1***DISARMED***%2!!!\")",
   33, 3,
   0, "", "", 12, 100);


5. After you click run, if you close the immediate window and press ALT+ENTER again, you should be able to load up the "Triggers" submenu and see the seven triggers that were created.

6. Enjoy your newfound PvP awareness!

Author:  archaicsmurf [ Wed Jul 04, 2012 7:23 pm ]
Post subject:  Re: MUSHclient PvP Config

THANK YOU. <3

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/