Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Fri Dec 27, 2024 1:11 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: MUSHclient PvP Config
PostPosted: Wed Jul 04, 2012 6:08 am 
Offline
Mortal

Joined: Thu Jun 22, 2006 8:43 am
Posts: 2323
SK Character: Airkli
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!<<<


Top
 Profile  
Reply with quote  
 Post subject: Re: MUSHclient PvP Config
PostPosted: Wed Jul 04, 2012 7:43 am 
Offline
Mortal

Joined: Mon Jan 02, 2006 7:47 pm
Posts: 3776
Location: Virginia
SK Character: Amorette
Ditto!


Top
 Profile  
Reply with quote  
 Post subject: Re: MUSHclient PvP Config
PostPosted: Wed Jul 04, 2012 9:49 am 
Offline
Mortal

Joined: Fri Jul 09, 2004 8:43 am
Posts: 5614
Location: Columbia, South Carolina
SK Character: Pilnor, Surrit, Berr, Rall
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!


Top
 Profile  
Reply with quote  
 Post subject: Re: MUSHclient PvP Config
PostPosted: Wed Jul 04, 2012 7:23 pm 
Offline
Mortal

Joined: Thu Jun 22, 2006 8:43 am
Posts: 2323
SK Character: Airkli
THANK YOU. <3


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group