| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Automatically Open Closed Games https://mail.black-squirrel.com/viewtopic.php?f=15&t=19688 |
Page 1 of 1 |
| Author: | Promethius [ Sun Aug 12, 2007 10:29 pm ] |
| Post subject: | |
The script below is a kludge, but it seems to work. It was written fairly quickly and given minimal testing. Additions to the script should include a relog in the event you drop connection with your server that would relog into the admin screen. Code: # t-editOpenGames.ts # automatically open closed games # Log into through Admin mode and run # a kludge of a script by Promethius setVar $games "Not Set" setVar $time "Not Set" :menu echo ANSI_11 "**(1) Enter the game(s) to be opened. " ANSI_15 $games echo ANSI_11 "*(2) Enter the time to be opened. " ANSI_15 $time echo ANSI_13 "*(S) Start script" echo ANSI_12 "*(Q) Abort script*" getConsoleInput $menuChoice singlekey lowercase $menuChoice if ($menuChoice = 1) setVar $games "" setVar $i 1 setVar $cnt 1 while ($i <> 0) echo ansi_12 "*Enter Game Letter for game " ANSI_15 $cnt ANSI_12 " to open or" ansi_9 " 0 " ANSI_12 "to finish" getConsoleInput $i singlekey add $cnt 1 if ($i <> 0) setVar $games $games & $i & " " else goto :menu end end elseif ($menuChoice = 2) echo "*Enter the hour to open the game and press enter" getConsoleInput $hour echo "*Enter the minutes to open the game in mm (00, 30)" getConsoleInput $minutes echo "*Enter is this AM or PM (a/p)?" getConsoleInput $amPM singlekey setVar $time $hour & ":" & $minutes & " " & $amPM elseif ($menuChoice = "s") and ($time <> "Not Set") and ($games <> "Not Set") goto :begin elseif ($menuChoice = "q") halt end goto :menu :begin gettime $now "h mm a/p" getword $now $nowHour 1 getword $now $nowMin 2 getWord $now $nowAP 3 if ($nowhour = $hour) and ($nowMin >= $minutes) and ($nowAP = $amPM) goto :opengames else setDelayTrigger delay :myDelay 10000 pause :myDelay send "?" goto :begin end :opengames killtrigger myDelay setVar $arrayCnt 1 getword $games $gameLetter $arrayCnt while ($gameLetter <> 0) send $gameLetter setTextTrigger inEdit :inEdit "Trade Wars 2002 Editor" pause :inEdit send "h" waitfor "General Editor Two" send "[" waitfor "Should this be a" send "n" waitfor "General Editor Two" send "q" waitfor "Trade Wars 2002 Editor" send "q" setTextTrigger adminMenu :adminMenu "Selection (?" pause :adminMenu add $arrayCnt 1 getWord $games $gameLetter $arrayCnt end |
|
| Author: | Wildstar [ Tue Aug 14, 2007 6:07 pm ] |
| Post subject: | |
One thing I miss is there was a script that moved Space Dock every few minutes. It was cool in the old Campus Party Death Match Games. Those were the days |
|
| Author: | Thrawn [ Tue Aug 14, 2007 8:15 pm ] |
| Post subject: | |
Wildstar wrote: One thing I miss is there was a script that moved Space Dock every few minutes. It was cool in the old Campus Party Death Match Games. Those were the days I came across a script and plan to add to a game in our next rebang cycle. It moved a planet. I heard it was fun, so I am going to give it a whirl. Could you tell me where to locate the script to move StarDock? I find that to be very interesting. |
|
| Author: | Runaway Proton [ Wed Aug 15, 2007 10:34 am ] |
| Post subject: | |
Wildstar wrote: One thing I miss is there was a script that moved Space Dock every few minutes. It was cool in the old Campus Party Death Match Games. Those were the days Wow, that would be kinda cool! Wonder if the roaming planet script could be modified? |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|