watch

Posted by Nick Gammon on Tue 06 Jun 2006 06:06 AM — 1 posts, 11,935 views.

Australia Forum Administrator #0
Command:   watch
Handler:   do_watch
Min level: 55
Min posn:  any (dead)
Log:       normal

. 
 Syntax:  watch                   Shows you a help screen
 Syntax:  watch size              Shows the size of your watch file
 Syntax:  watch clear             Deletes your watch file
 Syntax:  watch show              Shows all your active watches
 Syntax:  watch player <name>     Starts watching a player
 Syntax:  watch site <site>       Starts watching all players from site
 Syntax:  watch delete <number>   Stops a watch
 Syntax:  watch print 1           Shows file starting at line 1
 Syntax:  watch print 500         Shows file starting at line 500
 Syntax:  watch print 500 100     Shows 100 lines starting at line 500

Watch will work 24 hours a day from the time you put a watch on a player until
you take it off. You can also watch all players from a specific site.
 
We need you to be real careful about the size of your watch file. If you
are watching a number of players or sites, please do not just forget about
your watches and allow your watch file to grow to outrageous sizes. You
should never have more than 5,000 or 10,000 lines in your watch file.
If you are doing some watching, be sure you check your watch file daily
and either print it, display it, copy it to your hard drive or do whatever
you need to do with it but then ... please ... please ... be sure you
clear it so that it don't grow huge and eat up all our hard drive space.
If you clear your watch file daily ... there should be no problem. If you
aren't watching anyone ... you don't have to worry about this. But if you
start a watch, it is your responsibility to know how big your watch file
is and to stop the watch when you no longer need it. The command
"watch size"  tells you how many lines are in your watch file.
The command "watch clear" clears (deletes) your watch file.
For the time being the maximum number of lines you can display at one time
is 1000. So ... even if you have 5,000 lines in your watch file ... you can
only display 1,000 at a time.




Add comments here ...


Examples:


watch player Zeno
Ok. That player will be watched.

watch show
    Imm Name     Player/Command Player Site    
  1 nick         zeno

watch print 1
06/22 15:27 Zeno: sigh
06/22 15:27 Zeno: 'hi there
06/22 15:27 Zeno: kill naga

watch delete 1
Deleted.