| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Fake trigger https://mail.black-squirrel.com/viewtopic.php?f=15&t=13004 |
Page 1 of 1 |
| Author: | PHX [ Sat Mar 13, 2004 6:24 am ] |
| Post subject: | |
For twx How does one implement fake trigger protection, like when someone sends fake toll hits over fed com. |
|
| Author: | arucard [ Sat Mar 13, 2004 6:31 am ] |
| Post subject: | |
Turn off fedcom? |
|
| Author: | Alexio [ Sat Mar 13, 2004 8:25 am ] |
| Post subject: | |
phx read your icq message i sent ya.... |
|
| Author: | Gravedigr [ Sat Mar 13, 2004 1:12 pm ] |
| Post subject: | |
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. |
|
| Author: | PHX [ Sat Mar 13, 2004 2:10 pm ] |
| Post subject: | |
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 |
|
| Author: | Gravedigr [ Sat Mar 13, 2004 3:06 pm ] |
| Post subject: | |
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? |
|
| Author: | ElderProphet [ Mon Mar 15, 2004 2:39 am ] |
| Post subject: | |
Looks good. What is the ">" for though? +EP+ |
|
| Author: | Harley Nuss [ Mon Mar 15, 2004 9:16 pm ] |
| Post subject: | |
Fig hits in messages? |
|
| Author: | PHX [ Tue Mar 16, 2004 3:35 am ] |
| Post subject: | |
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 >. |
|
| Author: | Kavanagh [ Tue Mar 16, 2004 10:13 pm ] |
| Post subject: | |
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. |
|
| Author: | Cherokee-TLTT [ Wed Mar 17, 2004 4:53 am ] |
| Post subject: | |
TWX can parse stripped text or full ansi with codes. It's up to the script writer. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|