Need some help with your MUD client? Forgot your password? Get help here.
Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
-
Aristos
- Veteran
- Posts: 239
- Joined: 26 May 2013 18:54
Post
by Aristos » 24 Apr 2015 17:44
/cat was the one that did the trick - thanks!
-
Aristos
- Veteran
- Posts: 239
- Joined: 26 May 2013 18:54
Post
by Aristos » 30 Apr 2015 15:40
Waiting for that one player to log in and can't be bothered to type "who" every two seconds?
Code: Select all
;;; /watch <player>
; Tells you when <player> logs on to the mud.
; Requires that the mud have a "WHO" command that lists one player per line.
/~loaded watch.tf
/require pcmd.tf
/def -i watch = \
/def -i _watch_%1 = \
/pcmd WHO %1%%;\
/def -i -p100 -1 -ag -msimple -t"%%{outputprefix}" = \
/def -i -p100 -ag -mglob -t"*" _watch_not_%1%%%;\
/def -i -p101 -ag -mglob -t"{%1}*" _watch_match_%1 = \
/echo # %1 has connected.%%%%;\
/kill $$$${_watch_pid_%1}%%%%;\
/undef _watch_%1%%%%;\
/undef _watch_pid_%1%%%;\
/def -i -p101 -1 -ag -msimple -t"%%{outputsuffix}" = \
/undef _watch_not_%1%%%%;\
/undef _watch_match_%1%;\
/repeat -60 99999 /_watch_%1%;\
/def -i _watch_pid_%1 = %?
-
Argeil
- Novice
- Posts: 1
- Joined: 13 Apr 2015 15:06
Post
by Argeil » 23 Dec 2015 06:11
This is great Zhar. Thank you for sharing.
I am considering the switch to TF - its very simple and elegant. I've gotten too used to mapper however and I am trying to explore TF potential for mapper. Did you ever attempt mapping with TF? Maybe the code that Aristos shared?
I came across below add-on to TF... it seems to be really nice.
http://michael-donat.github.io/tf-mapper/
Thank you for any feedback.
Cheers,
-
Zhar
- Wizard
- Posts: 1079
- Joined: 17 Apr 2012 12:09
Post
by Zhar » 12 Jan 2016 06:51
Sorry, can't help you much with that. I've never really used automappers as I've always wanted to keep my screen as "pure" as possible and only relied on highlights and some additional echoes to inform me of changes in script statuses or important things happening (more pronounced info about being attacked etc.).
Time is precious. Waste it wisely.
http://tworzymyatmosfere.pl/przescieradla-jedwabne-z-gumka/