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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
lvlorph
Beginner


Joined: 26 Nov 2001
Posts: 20
Location: USA

PostPosted: Fri Dec 07, 2001 6:02 am   

Dueling Script
 
I posted earlier and got some help. I'm trying to set up a dueling script.

Alright, here's what I've got. But still, it seems to fire when it's not supposed to at times. And further, it's a bit slow.. Any suggestions?

#CLASS {Fight} {disable}
#VAR enemy {Jakian}
#TRIGGER {(%w) has arrived.} {#IF (%w == @enemy) {trip @enemy} {#NOOP}} "" {disable}
#TRIGGER {(%w) * the * is standing here.} {#IF (%w == @enemy) {kick @enemy} {#NOOP}} "" {disable}
#TRIGGER {(%w) panics, and attempts to flee!} {#IF (%w == @enemy) {
hunt @enemy
hunt @enemy
kick @enemy
} {#NOOP}} "" {disable}
#CLASS 0
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Fri Dec 07, 2001 8:41 am   
 
Discussion continued here.

Troubadour
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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