View unanswered posts | View active topics It is currently Tue Dec 30, 2025 1:36 am



Reply to topic  [ 8 posts ] 
 AND NOW A NEW STICK 
Author Message
Gameop
User avatar

Joined: Mon Jan 26, 2009 12:27 am
Posts: 123
Post AND NOW A NEW STICK
Hi,

I'm around the end of my script and now, I don't understand what is it happenning...

SETDELAYTRIGGER Break2 :Enter2 1000
:Enter2
KILLTRIGGER Break2

it suppose to do an "enter" (*)
but it's jamming always there...
could you see the error here ?

_________________
Dodger known as Yop Solo, Sysop
twgsdodgerbbs.ath.cx
http://cyberquebec.ca/_layout/?uri=http://cyberquebec.ca/twgsdodgerbbs/


Mon Mar 16, 2009 10:50 pm
Profile
Lieutenant J.G.

Joined: Fri Jan 16, 2009 4:44 pm
Posts: 494
Post Re: AND NOW A NEW STICK
Yop_Solo wrote:
Hi,

I'm around the end of my script and now, I don't understand what is it happenning...

SETDELAYTRIGGER Break2 :Enter2 1000
:Enter2
KILLTRIGGER Break2
send "*" <------ maybe ??????

I also "think" you dont have to kill the trigger. Using the trigger, kills itself.



it suppose to do an "enter" (*)
but it's jamming always there...
could you see the error here ?

_________________
Image


Mon Mar 16, 2009 11:02 pm
Profile
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Post Re: AND NOW A NEW STICK
Code:
SETDELAYTRIGGER Break2 :Enter2 1000
pause

:Enter2
KILLTRIGGER Break2
send "*"


Yea, you need to actually send the enter. You also need to pause execution for the trigger to work

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Mon Mar 16, 2009 11:23 pm
Profile ICQ WWW
Gameop
User avatar

Joined: Mon Jan 26, 2009 12:27 am
Posts: 123
Post Re: AND NOW A NEW STICK
I'm not so sure for that, cause Vid told me that the settriggerdelay command send automatic *... maybe I didn't understand what I meant cause it's my second language.

_________________
Dodger known as Yop Solo, Sysop
twgsdodgerbbs.ath.cx
http://cyberquebec.ca/_layout/?uri=http://cyberquebec.ca/twgsdodgerbbs/


Mon Mar 16, 2009 11:36 pm
Profile
Gameop
User avatar

Joined: Tue Nov 19, 2002 3:00 am
Posts: 1050
Location: USA
Post Re: AND NOW A NEW STICK
Yop_Solo wrote:
Hi,

I'm around the end of my script and now, I don't understand what is it happenning...

SETDELAYTRIGGER Break2 :Enter2 1000
:Enter2
KILLTRIGGER Break2

it suppose to do an "enter" (*)
but it's jamming always there...
could you see the error here ?


SETDELAYTRIGGER Break2 :Enter2 1000
PAUSE
:Enter2
KILLTRIGGER Break2
Send "*"

Yop Solo wrote:
I'm not so sure for that, cause Vid told me that the settriggerdelay command send automatic *... maybe I didn't understand what I meant cause it's my second language.

setdelaytrigger only delays the actual script for your specified time I cant think of a twx command that actually send a enter automatically without a "*"

_________________
Dark Dominion TWGS
Telnet://twgs.darkworlds.org:23
ICQ#31380757, -=English 101 pwns me=-
"This one claims to have been playing since 1993 and didn't know upgrading a port would raise his alignment."


Mon Mar 16, 2009 11:50 pm
Profile ICQ
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Post Re: AND NOW A NEW STICK
I think Yop Solo misunderstood , in an example I sent .. it had a delay with a pause in a nest of other triggers ...

and after a little time .. it would trigger to a lable that had the Send "8"

and that is what I mean by it was automatic .. to send the enter to complete the TWGS Tedit function I was doing.

Sorry for the confusion.

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Tue Mar 17, 2009 1:10 am
Profile WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1133
Location: Augusta, GA
Post Re: AND NOW A NEW STICK
Kaus wrote:
setdelaytrigger only delays the actual script for your specified time

setDelayTrigger doesn't delay the script for the time specified, it resumes the script after the time specified. The PAUSE that should follow any trigger is what delays the script.

Small differences in what we've said, but they are particularly important in understanding triggers. In truth, mastering trigger usage is one of the harder concepts to TWX scripting.

Regards,
+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Wed Mar 18, 2009 12:53 am
Profile WWW
Gameop
User avatar

Joined: Tue Nov 19, 2002 3:00 am
Posts: 1050
Location: USA
Post Re: AND NOW A NEW STICK
ElderProphet wrote:
Kaus wrote:
setdelaytrigger only delays the actual script for your specified time

setDelayTrigger doesn't delay the script for the time specified, it resumes the script after the time specified. The PAUSE that should follow any trigger is what delays the script.

Small differences in what we've said, but they are particularly important in understanding triggers. In truth, mastering trigger usage is one of the harder concepts to TWX scripting.

Regards,
+EP+


You are of course correct, oversight on my part. It is indeed the PAUSE not the DelayTrigger that pauses the script and the trigger resumes it. :oops:

_________________
Dark Dominion TWGS
Telnet://twgs.darkworlds.org:23
ICQ#31380757, -=English 101 pwns me=-
"This one claims to have been playing since 1993 and didn't know upgrading a port would raise his alignment."


Wed Mar 18, 2009 9:45 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 45 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
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.