All help topics · Link to this topic
Showing help on 'stunt'
LambdaMOO-Stunt adds the following built-in functions:binary_hmac
string_hmac
value_hmac - Cryptographically secure HMAC functions.
decode_base64
encode_base64 - Encode and decode binary Base64 strings.
exec - Execute shell scripts and applications.
exp - Return Eulers number (E) to the power of <x>.
generate_json - Return the JSON representation of the MOO value.
parse_json - Return the MOO value representation of a JSON string.
getenv - Return the value of the named environment variable.
mapdelete - Delete a key from a map.
mapkeys - List the keys in a map.
mapvalues - List the values in a map.
random_bytes - Return a binary string of <x> bytes.
read_http - Parse lines from a network connection as HTTP requests.
salt - Generate a cryptographically secure salt string.
strtr - Replace characters in a string.
crypt - Encrypt a string using a variety of algorithms.
task_local - Return values associated with the current task.
set_task_local - Set values associated with the current task.
respond_to - Check if a verb is callable on an object.
isa - Check if an object is a descendant of another object.
switch_player - Silently switch a connection to another player.
Additionally, the ToastStunt fork adds these:
argon2 - Argon2id secure hashing.
argon2_verify - Compares password to hash
sqlite - See HELP SQLITE for a complete list.
pcre_match - Match a string using PCRE2 regular expressions.
pcre_replace - Replace text in a string using PCRE2 regular expressions.
pcre_cache_stats - Return PCRE pattern cache statistics.
frandom - Random floats.
round - Round a float to the nearest integer value.
cbrt - Cube root.
acosh
asinh
atanh
atan2 - Additional inverse trigonometric functions.
distance - Calculate the distance between an arbitrary number of points.
relative_heading - Calculate a relative bearing between two points.
simplex_noise - Generate Simplex Noise.
parse_ansi
remove_ansi - Convert or remove ToastStunt ANSI tags.
url_encode
url_decode - URL encode and decode strings.
memory_usage - Total memory used, resident set size, shared pages, text, data + stack
malloc_stats - Return jemalloc statistics when available.
gc_stats
run_gc - Garbage collection diagnostics when available.
ftime - Precise time, including an argument for monotonic timing.
locate_by_name - Quickly locate objects by their name and aliases.
usage - Returns a list of system information from the operating system.
explode - Return a list of substrings of a string separated by a break.
occupants - Return a list of objects of parent parent, optionally with a player flag check.
spellcheck - Check the spelling of a word using Aspell.
locations - Recursive location reporting function.
threads - Display a list of active threads.
new_waif - Create a new waif.
waif_stats - Display a count of instantiated waifs by class.
sort - Sorts a list by itself or another list of keys. Also support natural ordering and reverse.
yin - Yield if needed. Suspend a task when running out of ticks or seconds.
slice - Makes a new list of the index-th elements of the original list.
reverse - Reverse a list.
recreate - Create valid objects from invalid objects.
set_thread_mode - Enable or disable threading of functions for the current verb.
task_perms - Return the permissions of the current task.
anon - Debug-only anonymous object information.
chr - Translate integers into ASCII characters.
recycled_objects - Return a list of all invalid objects in the database.
next_recycled_object - Return the first available invalid object.
all_members - Return the indices of all instances of an element in a list.
owned_objects - Return a list of all objects owned by the specified player.
sqlite_limit - Specify limits on various SQLite constructs.
curl - Return websites as strings.
connection_name_lookup - Perform a DNS name lookup in another thread.
thread_pool - Manipulate the server thread pool. (Caution advised.)
connection_info - Return network information about a specific connection.
maphaskey - Return true if a map contains the key specified.
ancestors - Return all ancestors of an object
finished_tasks - When enabled, track execution time
listen - Updated listen() with ipv6 & tls
listeners - Return information about active listening points.
open_network_connection - Updated to support ipv6 & tls
reseed_random - Provide a new seed to the pseudo random number generator.
FileIO - See HELP fileio for details
log_cache_stats
verb_cache_stats
create
value_hash
index
rindex
encode_base64
decode_base64
string_hash
binary_hash
server_log
new_waif
sqlite
typeof
reverse
locations
finished_tasks
explode
chparents
parents