| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Monior Who's on line https://mail.black-squirrel.com/viewtopic.php?f=15&t=23302 |
Page 1 of 1 |
| Author: | motrax [ Tue Sep 15, 2009 8:30 pm ] |
| Post subject: | Monior Who's on line |
I'm having trouble trying to ceate a script which regularly monitors who is in the game. When my "enemy" logs out I want to log out also to conserve time. I want to remain in the game as long as the "Enemy" does. I can send # at timed intervals np. but sorting the info after that is the problem. Say "Enemy" is somebody. " Who's on line " Private 1st Class motrax [1] Private 1st Class somebody [2] Lieutenant Commander vid [3] The Rakata are on the move! Citadel command (?=help) How can I trigger something when "somebody" has left? |
|
| Author: | Thrawn [ Tue Sep 15, 2009 9:37 pm ] |
| Post subject: | Re: Monior Who's on line |
Did you take a look at LoneStar's Who's Online script? The link is: http://www.spaceballtw.com/Mine/Who.002.ts It does a monitor and plays a sound when there is a change to Who's Online. |
|
| Author: | Promethius [ Tue Sep 15, 2009 9:42 pm ] |
| Post subject: | Re: Monior Who's on line |
Very quick and very dirty: :begin send "#" waitfor " on line" setTextTrigger here :here "somebody" setDelayTrigger sec3Wait :sec3Wait 3000 pause :here killtrigger sec3Wait setDelayTrigger sec20Wait :begin 20000 pause :sec3Wait killtrigger here # he is gone # do whatever you want |
|
| Author: | motrax [ Tue Sep 15, 2009 10:42 pm ] |
| Post subject: | Re: Monior Who's on line |
Thanks Guys. The delays helped the script to work. I had tried triggers but with no sucess |
|
| Author: | Thrawn [ Tue Sep 15, 2009 11:05 pm ] |
| Post subject: | Re: Monior Who's on line |
Promethius wrote: Very quick and very dirty: :begin send "#" waitfor " on line" setTextTrigger here :here "somebody" setDelayTrigger sec3Wait :sec3Wait 3000 pause :here killtrigger sec3Wait setDelayTrigger sec20Wait :begin 20000 pause :sec3Wait killtrigger here # he is gone # do whatever you want That works too Actually I use a similar idea on the Computer Player script we are writing. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|