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
lewdpotato
Novice


Joined: 16 May 2002
Posts: 48
Location: USA

PostPosted: Mon Aug 19, 2002 11:54 pm   

tradewars 2002 trigger
 
I have been trying to make this work but Im having trouble so here I am.
what im trying to do is make a trigger that when I attack at star dock it only attacks the person I want to attack. the way the game works is if you have under 1000 experience points you are safe at star dock. nobody can attack you. now lets say there are 5 people (ships) sitting at star dock and one of them is over 1000 experience points and I want to attack him, lets call him blue.
the game assigns each ship in the game a number and when you attack in a sector with more than one ship it always tries to attack the lowest ship number first. so I only want to attack blue but this is what happens
I type (a) for attack and the server says
Attack sue's Havoc Gunstar (230-90) (y/n)
Attack John's Colonial Transport (230-150) (y/n)
Attack blue's Corporate flagship (230-90) (y/n)

on the first 2 I would have typed (n) for no.
now I want to attack blue so I would type (y) for yes and the server says
How many figs do you wish to use.
so far I can make this work if blue is the only one at star dock with these 2 triggers
#TRIGGER {Attack blue's (%w)} {#SENDP y}
#TRIGGER {How many fighters do you wish to use} {#SEND 10}
How do I parse out the others at star dock that I dont want to attack?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Aug 20, 2002 12:07 am   
 
#TRIGGER {Attack {^blue's} *} {#SENDP n}

Kjata
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