| Author |
Message |
|
PHX
Lieutenant
Joined: Sat Mar 03, 2001 3:00 am Posts: 592 Location: USA
|
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 |
|
 |
|
arucard
Gunnery Sergeant
Joined: Thu Nov 20, 2003 3:00 am Posts: 24 Location: USA
|
Turn off fedcom?
|
| Sat Mar 13, 2004 6:31 am |
|
 |
|
Alexio
Chief Warrant Officer
Joined: Mon Oct 07, 2002 2:00 am Posts: 125 Location: USA
|
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 |
|
 |
|
Gravedigr
Chief Warrant Officer
Joined: Sat Feb 09, 2002 3:00 am Posts: 127 Location: USA
|
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 |
|
 |
|
PHX
Lieutenant
Joined: Sat Mar 03, 2001 3:00 am Posts: 592 Location: USA
|
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 |
|
 |
|
Gravedigr
Chief Warrant Officer
Joined: Sat Feb 09, 2002 3:00 am Posts: 127 Location: USA
|
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 |
|
 |
|
ElderProphet
Commander
Joined: Tue Oct 07, 2003 2:00 am Posts: 1134 Location: Augusta, GA
|
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 |
|
 |
|
Harley Nuss
Commander
Joined: Thu Feb 20, 2003 3:00 am Posts: 1529 Location: USA
|
Fig hits in messages?
|
| Mon Mar 15, 2004 9:16 pm |
|
 |
|
PHX
Lieutenant
Joined: Sat Mar 03, 2001 3:00 am Posts: 592 Location: USA
|
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 |
|
 |
|
Kavanagh
Ambassador
Joined: Wed Feb 28, 2001 3:00 am Posts: 1410 Location: Boo! inc. Ireland
|
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 |
|
 |
|
Cherokee-TLTT
Ensign
Joined: Sat Jan 19, 2002 3:00 am Posts: 214 Location: USA
|
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 |
|
 |
|