| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| ST-Bot Timed Login Mod https://mail.black-squirrel.com/viewtopic.php?f=15&t=18884 |
Page 1 of 1 |
| Author: | Promethius [ Sun Feb 25, 2007 8:41 pm ] |
| Post subject: | |
The code snippet below will allow you to logoff and back into a game after a specified time (in minutes). Your corpies can use this if you are AFK and in a time limit game to save your time and bring you back in. The command is <bot name> timedlogin xxx where xxx is the number of minutes to wait (20, 240 or whatever you want). The code was used effectively in the recent turns game. Code: # 1st backup your bot script!!! # search for "goto :qss" and insert the following in the command function elseif ($command = "timedlogin") goto :timedlogin # search for "end_nmac_send" label you should be at: #:end_nmac_send # send "'<" $bot_name "> - Numbered Macro - " $nmac " Cycles Complete*" # goto :wait_for_command # insert the following (do not comment out the above label/commands!) :timedlogin isNumber $test $parm1 if ($test) killtrigger relog setdelaytrigger mjunk :mjunk 2000 pause :mjunk getword currentline $promptLogoff 1 send "'Logging off - back in " $parm1 " minutes*" if ($promptLogoff = "Citadel") send "ryyqxq" elseif ($promptLogoff = "<Stardock>") send "qqyyxq" else send "qyxq" end setVar $i 1 while ($i <= $parm1) setDelayTrigger timeDelay :timeDelay 60000 pause :timeDelay add $i 1 end else send "'Usage is timedlogin followed by the number of minutes to wait*" goto :wait_for_command end goto :relog # search for "#help =-=-=-=-=" and in the available command list insert send "' TIMEDLOGIN - Logoff and then log in after x minutes*" |
|
| Author: | Cerne [ Sun Feb 25, 2007 9:31 pm ] |
| Post subject: | |
Prom, That is sweet. Cerne |
|
| Author: | Thrawn [ Sun Feb 25, 2007 10:11 pm ] |
| Post subject: | |
Very nice indeed. Another quality script. |
|
| Author: | big12ozHOG [ Mon Feb 26, 2007 7:10 am ] |
| Post subject: | |
lol people still using that old bot? |
|
| Author: | Desert Fox [ Mon Feb 26, 2007 7:26 am ] |
| Post subject: | |
big12ozHOG wrote: lol people still using that old bot? Looks like it will be around longer than you. Unless your planing on comeing back. |
|
| Author: | Promethius [ Mon Feb 26, 2007 8:27 am ] |
| Post subject: | |
big12ozHOG wrote: lol people still using that old bot? My first use of it was in the recent turns game. I had seen people use it, but had never tried it myself. Once I got to looking at it, I realized that it was a very good script to have around and had a couple of possibilities - esp for a TL game. |
|
| Author: | Baited [ Mon Feb 26, 2007 2:32 pm ] |
| Post subject: | |
Laff Oz is still lurking around... The timedlogin was very nice for the timelimit game, I know I used it alot, very helpful. Thanks Prom... |
|
| Author: | Maniac [ Mon Feb 26, 2007 11:05 pm ] |
| Post subject: | |
OZ The reason that people are still using that bot is because there is not much out there that is better. Take that as a compliment/insult your choice. As someone that has come by a collections of your scripts nefariously I want to give you a "Warm Fuzzy" and say Thanks. I have modded some of your scripts to fit a situation and I have not given you proper KUDO's Well let me fix that I appreciate your contribution to TW and to TWXProxy (even though you did blow BG2.X or was it 3.X) your motives to me were honorable. You were trying to get an edge, and I do not fault anyone for trying to get an edge. Your scripting style is one that I can understand and read through and I believe that if you wanted to come back and return to scripting your scripts with the improvements made to TWXProxy would rock and roll over our attempts to duplicate your genius. Thank you 12ozHog and I could be converted over to drinking Coors if you can just kill that Darn Hamms* bear. *For a little history lesson Hamms beer had a cute little bear for a "spokesperson" that had a peculiar sort of cuteness to him. (BTW the beer sucked but the bear was OK) Alright now someone is gonna bring up old beer commercials that they thought was bad/cute/outrageous well lets go. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|