View unanswered posts | View active topics It is currently Sat Apr 25, 2026 7:29 pm



Reply to topic  [ 11 posts ] 
 Fake trigger 
Author Message
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
For twx
How does one implement fake trigger protection, like when someone sends fake toll hits over fed com.


Sat Mar 13, 2004 6:24 am
Profile ICQ YIM WWW
Gunnery Sergeant

Joined: Thu Nov 20, 2003 3:00 am
Posts: 24
Location: USA
Unread post 
Turn off fedcom?


Sat Mar 13, 2004 6:31 am
Profile ICQ YIM
Chief Warrant Officer

Joined: Mon Oct 07, 2002 2:00 am
Posts: 125
Location: USA
Unread post 
phx read your icq message i sent ya....

_________________
Alexio just #Ship Destroyed# your Butt! hahahahah

Check out Damage Unlimited Perma Website!!
http://WWW.DAMAGEUNLIMITED.COM


Sat Mar 13, 2004 8:25 am
Profile ICQ YIM
Chief Warrant Officer

Joined: Sat Feb 09, 2002 3:00 am
Posts: 127
Location: USA
Unread post 
I haven't written a twx script in awhile, but i beleive you have to verify the first word. It will be different based on a subspace message or actual trigger. Then just a simple if/else statement.

If that ICQ message explains this, it would be nice to post it so everyone else who is wondering can see how as well.


Sat Mar 13, 2004 1:12 pm
Profile
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
How about this?

:top

setTextTrigger 1 :alert "Report Sector"
pause

:alert
getWord CURRENTLINE $char 1
if ($char = "F") OR ($char = "P") OR ($char = "R") OR ($char = ">")
goto :top
end

SOUND ding.wav
goto :top


Sat Mar 13, 2004 2:10 pm
Profile ICQ YIM WWW
Chief Warrant Officer

Joined: Sat Feb 09, 2002 3:00 am
Posts: 127
Location: USA
Unread post 
quote:Originally posted by PHX

How about this?

:top

setTextTrigger 1 :alert "Report Sector"
pause

:alert
getWord CURRENTLINE $char 1
if ($char = "F") OR ($char = "P") OR ($char = "R") OR ($char = ">")
goto :top
end

SOUND ding.wav
goto :top



Looks good to me I guess, does it work?


Sat Mar 13, 2004 3:06 pm
Profile
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
Looks good. What is the ">" for though?

+EP+

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


Mon Mar 15, 2004 2:39 am
Profile WWW
Commander

Joined: Thu Feb 20, 2003 3:00 am
Posts: 1529
Location: USA
Unread post 
Fig hits in messages?


Mon Mar 15, 2004 9:16 pm
Profile ICQ
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
If you open a com, being Subcom, Fed, or Private, if you hit ENTER without typing anything you get a multiline version that you can keep typing many lines....and every line starts with >.


Tue Mar 16, 2004 3:35 am
Profile ICQ YIM WWW
Ambassador

Joined: Wed Feb 28, 2001 3:00 am
Posts: 1410
Location: Boo! inc. Ireland
Unread post 
quote:Originally posted by PHX

For twx
How does one implement fake trigger protection, like when someone sends fake toll hits over fed com.


Can TWX recognise attributes, eg color, or just straight text? If the former, run ANSI "ON". The received info from any comm, fed, page, whatever, is simple to differentiate.


Tue Mar 16, 2004 10:13 pm
Profile
Ensign

Joined: Sat Jan 19, 2002 3:00 am
Posts: 214
Location: USA
Unread post 
TWX can parse stripped text or full ansi with codes. It's up to the script writer.

_________________
Cherokee
The Lost Traders Tavern
http://tavern.homeip.net

Deployed Fighters Report Sector 911: Cherokee's Imperial Starship entered sector.


Wed Mar 17, 2004 4:53 am
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 50 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.