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
