Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
Firey
Wanderer


Joined: 30 Dec 2003
Posts: 61
Location: Norway

PostPosted: Wed Jan 05, 2005 1:00 pm   

Different capture stuff for Achaea
 
Here's some capture stuff for Achaean's that I figured to post.. there's a long time since I actually made a capture thing, so I'm not complete sure if this will work but, it should. It will also count the number of people that are getting slain.
Copy/paste

Deathsight capture:

#TRIGGER {%1 has been slain in %2 by %3.} {#CAPTURE Deathsight;#ADD deathnumber 1;#Additem @deadguy %1}
#TRIGGER {%1 has been slain by the might of %2} {#CAPTURE Deathsight;#ADD deathnumber 1;#Additem @deadguy %1}
#TRIGGER {%1 has bled to death.} {#CAPTURE Deathsight;#ADD deathnumber 1;#Additem @deadguy %1}
#TRIGGER {%1 has died due to drowning.} {#CAPTURE Deathsight;#ADD deathnumber 1;#Additem @deadguy %1}
#ALIAS {Deaths} {#ECHO @deathnumber}
#ALIAS {Deadpeople} {#ECHO @deadpeople}

This won't display all deaths at some mobs will give a different deathmessage like: Firey has been bitten and clawed to death by a rat.

Basic tell capture:

#TRIGGER {%1 tells you,} {#CAPTURE Tells}
#TRIGGER {You tell %1} {#CAPTURE Tells}

It will only capture the first line tho. :(

Eating herbs capture:

#TRIGGER {You eat %1} {#CAPTURE Eating;#ADD Herbeat 1;#ADDITEM @eatherblist %1}
#ALIAS {Eaten} {#ECHO @herbeat ********* @eatherblist}

Things you have died to:

#TRIGGER {You have been slain by %1} {#CAPTURE Beenslainby;#ADD Died 1;#ADDITEM Killedby %1}
#ALIAS {Killedby} {#ECHO @Died ********** @Killedby}

I can't figure out any other things that can be fun to have a little capture of.

If any of you find any mayor faults in this scripts (As you probably will), please add the correction in a reply.
I haven't got to test any of these yet, but I believe they would work.. I've made them kinda in a hurry, tho.
Reply with quote
Firey
Wanderer


Joined: 30 Dec 2003
Posts: 61
Location: Norway

PostPosted: Wed Jan 05, 2005 1:01 pm   
 
By the way, congratulation to me that I've been a member for 371 days now...woohooo... over an year.. :D
Reply with quote
Firey
Wanderer


Joined: 30 Dec 2003
Posts: 61
Location: Norway

PostPosted: Thu Jan 13, 2005 8:03 pm   
 
UPDATE: #TRIGGER {~(Larvae~): %1 says,} {
#VAR Channel Larvae
#CAPTURE Larvae
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {~(Naga~): %1 says,} {
#VAR Channel Naga
#CAPTURE Naga
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {~(Mhaldor~): %1 says,} {
#VAR Channel Mhaldor
#CAPTURE Mhaldor
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {%1 tells you,} {
#VAR Channel Tells
#CAPTURE Tells
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {You tell %1} {
#VAR Channel Tells
#CAPTURE Tells
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {~(Naga~): You say,} {
#VAR Channel Naga
#CAPTURE Naga
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {~(Larvae~): You say,} {
#VAR Channel Larvae
#CAPTURE Larvae
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {~(Mhaldor~): You say,} {
#VAR Channel Mhaldor
#CAPTURE Mhaldor
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {%1 has been slain by the might of %2} {
#VAR Channel Deathsight
#CAPTURE Deathsight
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {%1 has been slain in} {
#VAR Channel Deathsight
#CAPTURE Deathsight
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {The sileris berry juice hardens into a supple purple shell.} {apply sileris}
#TRIGGER {%1 head has been chomped off by %2 firey-in-the-box.} {
#VAR Channel Deathsight
#CAPTURE Deathsight
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {%1 has bled to death.} {
#VAR Channel Deathsight
#CAPTURE Deathsight
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {~(Order of Sacred Murder~): You say, } {
#VAR Channel OSM
#CAPTURE OSM
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#TRIGGER {~(Order of Sacred Murder~): %1 says,} {
#VAR Channel OSM
#CAPTURE OSM
#T+ Capturing
#TEMP {^(%d)h, (%d)m (%w)-} {#T- Capturing}
}
#CLASS 0
#CLASS {Capture|Capturing}
#TRIGGER {%1} {#CAPTURE @channel}
#CLASS 0
Reply with quote
Firey
Wanderer


Joined: 30 Dec 2003
Posts: 61
Location: Norway

PostPosted: Thu Jan 13, 2005 8:04 pm   
 
You guys should probably change Naga(gt)/Larvae(gnt)/Mhaldor(ct) and Order of the Sacred Murder with what you want to have there
This captures all the lines, even if there's 10k lines.
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Fri Jan 14, 2005 8:23 pm   
 
Heh. Grats on bein member so long.
_________________
*Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net