Contents of status line

Posted by Avariel on Fri 30 Aug 2002 06:54 PM — 3 posts, 14,136 views.

Portugal #0
im scripting my pk script and one of the "information" i wanna know when pking is time left to next tick...

i can do it with a couple of timers - 2 i think its enought - that notes me '10 secs to next tick' and 'tick'. but having always the remaining time to next tick would be an advantage.


what ide like to know is if its possible to change the contents of status line.
eg. send a string to the place of 'MUD name' or the remaining time of a timer to 'Time connected' or even a numeric variable to 'Number of lines received'.


thx.
USA #1
Yes you can set it to just about anything you like, however having such a useful and locationally 'fixed' place to put things has its draw backs. I use it in one of my plugins and others probably will too, but alas, there is but one. :p

Anyway, the command you are looking for is world.setstatus. ;)
Portugal #2
wasnt that i was thinking but it will have to do...
108 character string in my current resolution is very nice :)

i was thinking in replace that strings that are already there... 'MUD name' 'Time connected' and 'Time connected' for others at my choice.


thx Shadowfyr