View unanswered posts | View active topics It is currently Wed Apr 29, 2026 2:26 am



Reply to topic  [ 4 posts ] 
 gamecheck.ts 
Author Message
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post gamecheck.ts
If you are playing in a game where a player is avoiding you and it is a slow game, the following script will check to see if anyone is in the game. It is not efficient since I use delays throughout and it does not tell you if a specific player is online or not. Simple to modify the above though if you wish to and add more options. Run from being offline and continue with real life until the alarm activates.

-------------------------------

# check to see if anyone is in game
# 1 second on delaytrigger = 1000 ms

Clientmessage "Enter Game to Check"
getconsoleinput $gameCheck singlekey
uppercase $gameCheck

:begin
killtrigger crs
connect
waitfor "Please enter"
send LOGINNAME "*"
setDelayTrigger shortD :shortD 4000
pause

:shortD
send "#"
setdelaytrigger mediumD :mediumD 10000
setTextTrigger gamechk :gamechk "Game " & $gameCheck
pause

:gamechk
killtrigger mediumD
# replace notify.wav with a sound file that is in your scripts directory/folder
sound ".\scripts\notify.wav"

:mediumD
killtrigger gamechk
disconnect
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

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Last edited by Promethius on Mon Jul 07, 2008 2:00 am, edited 1 time in total.



Mon Jul 10, 2006 1:44 am
Profile ICQ
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
quote:Originally posted by Promethius

If you are playing in a game where a player is avoiding you and it is a slow game, the following script will check to see if anyone is in the game. It is not efficient since I use delays throughout and it does not tell you if a specific player is online or not. Simple to modify the above though if you wish to and add more options. Run from being offline and continue with real life until the alarm activates.

-------------------------------

# check to see if anyone is in game
# 1 second on delaytrigger = 1000 ms

Clientmessage "Enter Game to Check"
getconsoleinput $gameCheck singlekey
uppercase $gameCheck

:begin
killtrigger crs
connect
waitfor "Please enter"
send LOGINNAME "*"
setDelayTrigger shortD :shortD 4000
pause

:shortD
send "#"
setdelaytrigger mediumD :mediumD 10000
setTextTrigger gamechk :gamechk "Game " & $gameCheck
pause

:gamechk
killtrigger mediumD
# replace notify.wav with a sound file that is in your scripts directory/folder
sound ".\scripts\notify.wav"

:mediumD
killtrigger gamechk
disconnect
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


Thank you.

Will make it part of my collective ;)

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Mon Jul 10, 2006 2:13 am
Profile
Gameop
User avatar

Joined: Fri Sep 03, 2004 2:00 am
Posts: 2041
Location: Acworth, Georgis USA
Unread post 
I knew it Thrawn is a Borg! [:D] J/K

thanks for the script Prom.

_________________
Vulcan's Forge
v1 TWGS telnet://vulcansforge.homeip.net:2002
v2 TWGS telnet://vulcansforge.homeip.net:23
Forum and site down for now.
my Email is vulcan219@comcast.net now


Mon Jul 10, 2006 8:27 am
Profile ICQ YIM
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
quote:Originally posted by Vulcan

I knew it Thrawn is a Borg! [:D] J/K

thanks for the script Prom.


This script will service Us...

Resistance is Futile...

We will be podded.... [|)]

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Mon Jul 10, 2006 3:30 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.