|
lewdpotato Novice
Joined: 16 May 2002 Posts: 48 Location: USA
|
Posted: Fri May 31, 2002 3:27 am
Trade Wars script Question |
ok I got what I want working, my question, is there a way to make this one script instead of 3 different triggers?
#TRIGGER {Deployed Fighters Reports Sector (%d)} {m %1;#sendp y} this one is set newline and prompt
then the server will send one of the next 2 messeges depending on if the person who just entered the sector killed the fighter there.
#TRIGGER {All systems ready, shall we engage?} {#SENDP y} this is set to prompt
or
#TRIGGER {Do you want to make this jump blind?} {#SENDP n} also set to prompt
this all works fine but I am new here and I would think there is a way to make this a single script rather than 3 separate triggers?
does anybody have any examples of other trade wars scripts and or triggers?
anything would help me out at this point as the language is so new to me and all the examples here are for Mudd games.
thanks |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri May 31, 2002 7:49 am |
You have 3 good triggers that work well and are easy to understand. It would be best to leave them as is. Combining them will require additional processing and make them harder to understand.
LightBulb
Vague questions get vague answers |
|
|
|
lewdpotato Novice
Joined: 16 May 2002 Posts: 48 Location: USA
|
Posted: Fri May 31, 2002 3:43 pm |
ok, thanks lightbulb
|
|
|
|
lewdpotato Novice
Joined: 16 May 2002 Posts: 48 Location: USA
|
Posted: Fri Jun 28, 2002 9:29 pm |
Im not really sure what I need here so I will explain it and hopefully someone can tell me or show me what I need. when running a robot I need to be on 247. the trade wars game server (twgs) sends you a activity timeout messege every 5 min and you need to hit a key or move to stay online. So I made this trigger
#TRIGGER {INACTIVITY WARNING} {d}
this just re-displays the sector and keeps me online and it works great
A game that I am currently playing does not send the warning and after some time it disconects you. so what I need is a triggerless trigger?
something that automaticaly redisplays every 5 min. any idea's? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Jun 28, 2002 10:46 pm |
If it will just be sitting at the main prompt then a simple alarm will do.
#ALARM {*4:30} {d}
That would do every 4 minutes and 30 seconds. Why wait until the last second I say.
If your script is doing other things then you would simply want to turn that off. As 'd' is used for other things in other menus and not all are completely healthy.
Many times a simple CR is all it takes to overcome those activity timers. The command used would be "#SENDP %cr". That should work whether you are on a planet, in the stardock, or checking out the ship catalog. |
|
|
|
lewdpotato Novice
Joined: 16 May 2002 Posts: 48 Location: USA
|
Posted: Sat Jun 29, 2002 4:39 am |
Thank you very much.
|
|
|
|
|
|