-
Notifications
You must be signed in to change notification settings - Fork 3
SlashCommandsLimit
talvo edited this page Aug 25, 2015
·
2 revisions
The /limit /command allows you to filter the text received from the MU* in various ways. The syntax is:
/limit
/limit [-options] [--] <pattern>
/unlimit
With no arguments, /limit returns 1 if there is currently a /limit in effect, and 0 if not. Otherwise, the output text is filtered, with lines which do not match the given <pattern> being hidden.
Valid options are:
-
-glob- Show only lines which match the wildcard pattern<pattern>. This is the default if no match type is specified. -
-literal- Show only lines which exactly match the string<pattern> -
-regexp- Show only lines which match the regular expression<pattern> -
-nocase- Match in a case-insensitive way -
-v- Inverted match (show lines which don't match<pattern> -
-msimple- Alias for-literal -
-mglob- Alias for-glob -
-mregexp- Alias for-regexp -
-wildcard- Alias forglob -
-spawn <spawn>- Instead of filtering the output, copy all matching lines to a new spawn window,<spawn>. The spawn window must not already exist, and currently<spawn>cannot contain spaces. (Note that this will not spawn text received later which matches the<pattern>; if you wish to do that, you must add an event. -
--- Marks the end of the options. Only necessary if<pattern>starts with a-.
For extra compatability with TinyFugue, the -a option will be ignored.
The /unlimit command redisplays all text received.
Currently, /limit only affects the main output window for a world, not spawns, though this should change at some point in the future.
Filter output to show messages on code channels:
/limit -glob <*code> *
Hide all output which mentions 'foo', 'bar' or 'baz':
/limit -v -regexp -- foo|bar|baz
Copy everything in backscroll from
<Public>
to a spawn window to read later:
/limit -glob -spawn forlater -- <Public> *
- Welcome to Potato
- Getting Started
- Make Potato the Default Telnet Client
-
Version Change History
- Version 2.0.0b19
- Version 2.0.0b18
- Version 2.0.0b17
- Version 2.0.0b16
- Version 2.0.0b15
- Version 2.0.0b14
- Version 2.0.0b13
- Version 2.0.0b12
- Version 2.0.0b11
- Version 2.0.0b10
- Version 2.0.0b9
- Version 2.0.0b8
- Version 2.0.0b7
- Version 2.0.0b6
- Version 2.0.0b5
- Version 2.0.0b4
- Version 2.0.0b3
- Version 2.0.0b2
- Version 2.0.0b1