| www.ClassicTW.com http://classictw.com/ |
|
| Simple "I Spy" http://classictw.com/viewtopic.php?f=15&t=26028 |
Page 1 of 1 |
| Author: | Promethius [ Fri May 21, 2010 1:26 am ] |
| Post subject: | Simple "I Spy" |
The script below is a simple - read kludge - I Spy script that uses a second TWX connection to monitor a game that you wish to watch. I use a telnet/TWX connection to monitor unlim steal progression and keep an eye on the ships that others are in. It is simple and could be developed more if you wish to. Code: # I_Spy.ts - Monitor player scores from second TWX session # --> I typically use MS telnet/TWX to connect and run as a 2nd connection # 1 second on delaytrigger = 1000 ms Clientmessage "Enter Game to Check" getconsoleinput $gameCheck singlekey uppercase $gameCheck Window ISpy 500 300 "I Spy 1 " ONTOP Window ISpy2 500 300 "I Spy 2 " ONTOP setVar $line2 "*" :begin killtrigger crs connect setTextTrigger pleaseEnter :pleaseEnter "Please enter" setTextTrigger tw2002 :pleaseEnter "Trade Wars" pause :pleaseEnter killalltriggers send "I_Spy*" getTime $time "'The time is :' hh:mm:ss AM/PM'" setVar $line "*" & $time & "**" :mediumD setVar $i 1 setTextTrigger select :select "Selection" pause :select send $gameCheck waitfor "[Pause]" send " " waitfor "[Pause]" send " " send "h*" waitfor "---------" setTextTrigger pause :pause "Pause" setTextTrigger line :line " " setTextTrigger done :done "==-- Trade Wars 2002" pause :pause setTextTrigger pause :pause "Pause" send " " pause :line setVar $line $line & currentline & "*" setTextTrigger line :line " " pause :done killalltriggers send "x*" setDelayTrigger miniD :miniD 2000 pause :miniD send "q" disconnect setWindowContents ISpy2 $line2 setWindowContents ISpy $line setVar $line2 $line setDelayTrigger longD :begin 180000 setTextTrigger crs :crs "Please enter" pause :crs # can't remember sh*t and tried to log in manually with the script running halt |
|
| Author: | LoneStar [ Thu Mar 28, 2013 6:43 am ] |
| Post subject: | Re: Simple "I Spy" |
Nice. Reminds me of my PoundIT Script. I'll have to give this a try! |
|
| Author: | Helix [ Thu Mar 28, 2013 1:53 pm ] |
| Post subject: | Re: Simple "I Spy" |
It a swell way to monitor a game as a sysop too Thanks |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|