/usr/share/tinymux/game/text/help.txt is in tinymux 2.10.1.14-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 | & HELP
HELP
This is the TinyMUX online help facility.
Notes on help descriptions:
[text] - Text enclosed in []'s is optional. The []'s are never typed
in as part of the command.
<parameter> - Information parameter for a command. The <>'s are
never typed in as part of the command.
- Syntax of help command:
help [<command>]
- To get a list of TinyMUX topics:
help topics
- To get a list of Comsystem commands:
help comsys
- To get a list of TinyMUX Commands:
help commands (or @list commands)
Some of the configuration shown in the help.txt might not be the same as
the configuration of this MUX. If you notice any errors, contact an admin.
& "
"
COMMAND: "<message>
Says <message> out loud to everyone in your current location (usually a
room).
Example:
> "Where is the movie theater?
You say, "Where is the movie theater?"
Note that the closing double quote is automatically added.
Related Topics: page, pose, say, :, ".
& #
#
COMMAND: #<number> <command>
Forces the object whose database number is <number> to perform <command>.
Example: '#1033 move north' forces object #1033 to go north (assuming that
you control it). The same restrictions that apply to @force also apply to
this command.
Related Topics: @force.
& $-COMMANDS
$-COMMANDS
These commands are called arbitrary commands, user-defined commands, or
$-commands (for how they are defined). See 'arbitrary commands' for the
full description.
Related Topics: arbitrary commands
& &
COMMAND: &<attribute> <object>[=<value>]
SYNONYM: @set <object> = <attribute>:[<value>]
Sets the attribute named <attribute> on <object> to <value>. If
<attribute> is not a predefined attribute (like ofail or va), then it is
created. Attributes so created are called user-named attributes.
Attribute names may only contain letters, numbers, and the characters
< -_.@#$^&*~?=+| >, and must start with a letter. The names of user-named
attributes may not be abbreviated (an attempt to get the value of the
attribute will fail, and an attempt to set will create a new attribute).
The & command may be used to set predefined attributes (in this instance,
'&<attr> <object>=<value>' is equivalent to '@<attr> <object>=<value>').
Related Topics: @set.
& :
:
COMMAND: :<message>
Displays <message> to everyone in your current room, preceded by your name
and a space. However, if <message> starts with a space, no space is
inserted between your name and the pose -- like the ';' command.
Example:
>:jumps for joy.
Player jumps for joy.
>: 's cat meows.
Player's cat meows.
Related Topics: page, pose, say, whisper, ;, ".
& ;
;
COMMAND: ;<message>
This command is much like the ':' command, except that no space is inserted
between your name and the pose. However, <message> can start with its own
space -- a result similar to using the ':' command.
Example:
> ;'s watch beeps.
Player's watch beeps.
> ; meows.
Player meows.
Warning: This command does not work in command lists run from an attribute
because the ';' is treated as the command separator. Use pose/nospace
instead.
Related Topics: page, pose, say, whisper, :, ".
& @@
@@
COMMAND: @@ <args>
This command and everything after it (excluding the command-separator
';') is not evaluated by the parser. This is useful for adding comments
in softcode or, more commonly, writing comment headers for softcode
installers (such as /quotable text files). Note that @@ must be
followed by a space or it will return an error message.
Always be doubly sure that ()'s and {}'s in the (otherwise ignored)
arguments are nested correctly, so that any semicolons used to separate it
from subsequent code in the line are recognized by the parser.
Example:
> @va me=$foobar *:@fo #1234=%0;@@ This controls my foobar puppet.
> foobar say Hello World!
foobar says "Hello World!"
> @@ --- Begin Code ---
> @emit Hello World!
> @@ --- End Code ---
Hello World!
Related Topics: think, @@(), null().
& @@()
@@()
FUNCTION: @@(<text>)
The <text> is not evaluated and returns nothing.
Example:
> think @@(pemit(me,Hello))
> think @@(abc)
Related Topics: @@, null().
& @AAHEAR
@AAHEAR
COMMAND: @aahear <object> = <command-list>
ATTRIBUTE: Aahear
An Aahear on an object is activated whenever the listen pattern
matches anything done/said by anything else in the room, including
itself. (The Ahear ignores itself, helpful for keeping machines from
triggering itself)
Example:
@aahear listener = "I heard someone (maybe me?) say the word!
Related Topics: @ahear, @amhear, @listen.
& @ACLONE
@ACLONE
COMMAND: @aclone <object> = <command-list>
ATTRIBUTE: Aclone
Sets the actions to be taken by a new object that has just been created
as the result of a @clone command. The contents of the Aclone attribute
are run by the new object and not by the old object.
This attribute is only meaningful for things, and will never be
automatically triggered on other object types.
It is also possible to check the zone object/objects in the zone parent
room for an @adisconnect. If one is found, it will be executed when a
player disconnects in that zone.
Example: @aclone Time bomb = @wait 600=@trig me/va;@wait 10=@trig me/vb
@va time bomb = :EXPLODES with a thundering roar;@destroy me
@vb time bomb = :ticks.; @wait 10=@trig me/vb
Related Topics: @clone.
& @ACONNECT
@ACONNECT
COMMAND: @aconnect <object> = <command-list>
ATTRIBUTE: Aconnect
Sets the actions to be taken by a player upon connecting to the MUX. The
following steps occur in the following order whenever a player connects to
the MUX. Parentage is observed.
- Execute the connecting player's @aconnect.
- Execute the master room's @aconnect.
- Execute any @aconnect found on any of the master room's contents.
- If the location that the player is connecting into belongs to a zone,
then
a) if the zone object is a thing, execute its @aconnect.
b) if the zone object is a room, execute any @aconnect found on any of
that room's contents.
Example:
> @aconnect me=@mail
Related Topics: @adisconnect.
& @ADESCRIBE
@ADESCRIBE
COMMAND: @adescribe <object> = <command-list>
ATTRIBUTE: Adescribe
Sets the actions to be taken when <object> is looked at.
Example: @adesc kitten = :rubs against %n's legs affectionately.
Related Topics: look, @desc, @idesc, @odesc, think
& @ADFAIL
@ADFAIL
COMMAND: @adfail <object> = <command-list>
ATTRIBUTE: Adfail
Sets the action to be taken by an object when someone tries to drop it
but fails because they didn't pass the object's drop lock.
Example: @adfail sword = @name me=Cursed Sword;:laughs maniacally.
Related Topics: drop, @dfail, @odfail, @lock.
& @ADISCONNECT
@ADISCONNECT
COMMAND: @adisconnect <object> = <command-list>
ATTRIBUTE: Adisconnect
Sets the actions to be taken by a player upon disconnecting from the MUX.
The following steps occur in the following order whenever a player
disconnects from the MUX. Parentage is observed.
- Execute the connecting player's @adisconnect.
- Execute the master room's @adisconnect.
- Execute any @adisconnect found on any of the master room's contents.
- If the location that the player is connecting into belongs to a zone,
then
a) if the zone object is a thing, execute its @adisconnect.
b) if the zone object is a room, execute any @adisconnect found on any of
that room's contents.
Example:
> @adisconnect me = home
Related Topics: @aconnect.
& @ADROP
@ADROP
COMMAND: @adrop <object> = <command-list>
ATTRIBUTE: Adrop
Sets the action to be taken by an object when it is dropped, or by an exit
when it is successfully used.
Example: @adrop plastique = kill %n=100; @destroy me
Related Topics: drop, @drop, @odrop, DROP-TO, EXITS.
& @AEFAIL
@AEFAIL
COMMAND: @aefail <object> = <command-list>
ATTRIBUTE: Aefail
Sets the action to be taken by an object when someone tries to enter it
but fails because the object is not ENTER_OK or the player fails the
object's enter lock.
The enter lock only affects the 'enter' command and its aliases (set via
the @ealias command), it does not affect exits that lead to the object or
teleporting in.
This attribute is meaningful for players and things, and will never be
automatically triggered on rooms or exits.
Example: @aefail car = @emit ;'s alarm starts wailing when %n tries
to break in.
Related Topics: @aenter, @efail, @ealias, @enter, @oefail, @oenter, enter,
ENTER_OK.
& @AENTER
@AENTER
COMMAND: @aenter <object> = <command-list>
ATTRIBUTE: Aenter
Sets the action to be taken by an object or room when someone enters it,
whether by using an exit, the enter or leave commands, or by teleporting.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @aenter car = :starts its engine, eagerly awaiting a road trip.;
"Beep Beep!
Related Topics: enter, @enter, @oenter, ENTER_OK.
& @AFAIL
@AFAIL
COMMAND: @afail <object> = <command-list>
ATTRIBUTE: Afail
Sets the commands to be performed by <object> when one of these events
occurs:
- For exits: Someone tries to traverse the exit but cannot because they
fail the exit's default lock or the exit is not linked.
- For players and things: Someone tries to pick up the object but cannot
because they fail the object's default lock.
- For rooms, players, and things: Someone looks around inside the room,
player, or thing and fails the object's default lock.
Example:
> @afail vase = :falls to the floor and smashes to pieces.;@destroy me
Related Topics: @fail, @ofail, FAILURE.
& @AGFAIL
@AGFAIL
COMMAND: @agfail <object> = <command-list>
ATTRIBUTE: Agfail
Sets the action to be taken by an object when someone tries to give it
away but fails because they didn't pass the object's give lock.
Example: @agfail sword = @name me=Cursed Sword;:laughs maniacally.
Related Topics: give, @gfail, @ogfail, @lock.
& @AHEAR
@AHEAR
COMMAND: @ahear <object> = <command-list>
ATTRIBUTE: Ahear
Sets the actions to be taken after the object hears a string that matches
the pattern in the Listen attribute which was not produced by the object
itself. Messages that are produced by the object itself are ignored.
Example: @ahear clock = "The time is now [time()]. >> BONNNNGGGGG <<
Related Topics: @aahear, @amhear, @listen.
& @AKILL
@AKILL
COMMAND: @akill <object> = <command-list>
ATTRIBUTE: Akill
Sets the actions to be taken by an object after it is killed and has
returned to its home.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @akill lion = south; :leaps onto %n, roaring loudly.;kill %n=100
Related Topics: kill, @kill and @okill, BEING KILLED, IMMORTAL, WIZARD.
& @ALEAD
@ALEAD
COMMAND: @alead <object> = <command list>
ATTRIBUTE: Alead
Sets the <command list> executed when object is lead.
This attribute is only available with --enable-firanmux.
Related Topics: @lead, @olead.
& @ALEAVE
@ALEAVE
COMMAND: @aleave <object> = <command-list>
ATTRIBUTE: Aleave
Sets the action to be taken by an object or room when someone leaves it,
whether by using an exit, the enter or leave commands, or by teleporting.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @aleave car = :stops to let %n out.;:revs its engine, hoping
another brave soul would like a ride.
Related Topics: leave, @leave, @oleave.
& @ALFAIL
@ALFAIL
COMMAND: @alfail <object> = <command-list>
ATTRIBUTE: Alfail
Sets the action to be taken by an object when someone tries to leave it
but fails because the player fails the object's leave lock.
The leave lock only affects the 'leave' command and its aliases (set via
the @ealias command), it does not affect going home, using an exit in the
location, or teleporting out.
This attribute is meaningful for players and things, and will never be
automatically triggered on rooms or exits.
Example: @alfail box = :rattles around as %n tries to escape.
Related Topics: @aleave, @lalias, @leave, @lfail, @oleave, @olfail, leave.
& @ALIAS
@ALIAS
COMMAND: @alias <player> = <name>
ATTRIBUTE: Alias
Provides an alternate name by which the player is known. The alternate
name is only used for players when referenced as '*<name>' or by commands
that only take playernames (such as page or @stats). You may not set
an alias on any other object type.
When setting an alias, the alias is checked to see that it is both a legal
player name and not already in use. Only if both checks succeed is the
alias set.
Related Topics: @name.
& @AMAIL
@AMAIL
COMMAND: @amail <player> = <command-list>
ATTRIBUTE: Amail
Sets the actions to be taken after a player receives @mail. This should
*never* @mail another player, as this could cause an infinite loop.
Example: @amail me=@mail/file [mail()]=2
This would place all incoming messages in folder #2.
Related Topics: @mailsucc, @signature, @mail.
& @AMHEAR
@AMHEAR
COMMAND: @amhear <object> = <command-list>
ATTRIBUTE: Amhear
Sets the actions to be taken after the object hears a string that matches
the pattern in the Listen attribute which was produced by the object
itself. Messages that are produced by anything other than the object itself
are ignored.
Example: @amhear listener = "Wait a minute. I said the trigger word!
Related Topics: @aahear, @ahear, @listen.
& @AMOVE
@AMOVE
COMMAND: @amove <object> = <command-list>
ATTRIBUTE: Amove
Sets the action to be taken by an object whenever it moves from one
location to another, whether by using an exit, entering or leaving an
object, teleporting, or going home.
This attribute is meaningful for players, and things and will never be
automatically triggered on other object types.
Example: @amove car = @vz me=[extract(%vz,1,19)] [loc(me)]
Related Topics: @move, @omove.
& @APAY
@APAY
COMMAND: @apay <object> = <command-list>
ATTRIBUTE: Apay
Sets the actions to be taken after the object is given the number of coins
specified in its Cost attribute. If the giver tries to give more than that
number of coins, the excess is refunded, and if less than the necessary
amount is given then it is all given back and a snide message is sent to
the giver.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @apay Coke machine = @clone Can of Coke; :drops a can on the
floor.
Related Topics: give, @cost, @opay, @pay.
& @APARENT
@APARENT
COMMAND: @aparent <object> = <command list>
Attribute: Aparent
Sets the actions to be taken when another object is parented to <object>.
The action list is executed with the permission of <object>. Several
arguments are passed during evaluation:
%0 - dbref of the child being added or removed.
%1 - 0 or 1 indicating if the parent is being removed (1) or added (0).
%2 - dbref of the object issuing the @parent command.
The @aparent attribute is not inherited or copied during @clone.
Related Topics: @parent
& @ARFAIL
@ARFAIL
COMMAND: @arfail <object> = <command-list>
ATTRIBUTE: Arfail
Sets the action to be taken by an object when someone tries to give it
something that fails its give lock.
Example: @arfail merchant = "I don't buy such junk. Begone!;
@tel %#=cheater_exit
Related Topics: give, @agfail, @gfail, @ogfail, @orfail, @rfail, @lock.
& @ASSERT
@ASSERT
COMMAND: @assert <boolean>[=<action list>]
@assert stops the execution of further commands in the current action
list if its argument is a false value. It doesn't affect new queue
entries made by previous commands in the action list. Very useful to
people who don't like @switch. If <action list> is given, they are
executed instead of the rest of the commands in the current action list.
Examples:
> @va obj=$testme *:@pemit %#=Before;@assert %0;@pemit %#=After
> testme 1
Before
After
> testme 0
Before
> @force me={@switch 1=1,think 3rd;think 1st;@assert 0;think 2nd}
1st
3rd
In the last example, the @switch is run, which queues 'think 3rd',
'think 1st' is run, displaying '1st', command execution is broken
(so we never 'think 2nd', and then the queued 'think 3rd' is run,
displaying '3rd'.
If you follow that, you have a very good understanding of the
TinyMUX queue.
Related Topics: @break, BOOLEAN VALUES
& @ASUCCESS
@ASUCCESS
COMMAND: @asuccess <object> = <command-list>
ATTRIBUTE: Asucc
Sets the actions to be taken by an object when someone successfully picks
it up (because they passed the lock), by an exit when someone passes
through it, or when someone looks at a room and passes the room's lock.
Example: @asucc kitten = :climbs up your sleeve and nuzzles your face.
Related Topics: @osucc, @success, SUCCESS.
& @ATFAIL
@ATFAIL
COMMAND: @atfail <object> = <command-list>
ATTRIBUTE: Atfail
Sets the action to be taken by an object when someone tries to teleport
there but fails.
Example: @atfail here = @page [owner(me)]=%N tried to teleport here.
Related Topics: @teleport, @tfail, @otfail, @lock.
& @ATOFAIL
@ATOFAIL
COMMAND: @atofail <object> = <command-list>
ATTRIBUTE: Atofail
Sets the action to be taken by an object when someone tries to teleport
out but fails.
Example: @atofail here = @page [owner(me)]=%N tried to teleport out.
Related Topics: @teleport, @tofail, @otofail, @lock.
& @ATPORT
@ATPORT
COMMAND: @atport <object> = <command-list>
ATTRIBUTE: Atport
Sets the actions to be performed by object whenever it teleports.
The actions are performed after the object moves to its new location.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @atport me = &TEL.COUNT me=add(v(TEL.COUNT),1)
Related Topics: @otport, @oxtport, @tport, @teleport.
& @AUFAIL
@AUFAIL
COMMAND: @aufail <object> = <command-list>
ATTRIBUTE: Aufail
Sets the list of commands to be run when someone 'use's the object but
fails the object's use lock. Note that the other functions controlled
by the use lock (paying, listening, and $-commands) do not trigger
Aufail.
Example: @aufail robot = "I _told_ you to leave me alone; kill %n=100
Related Topics: @oufail, @ufail, @use.
& @AUSE
@AUSE
COMMAND: @ause <object> = <command-list>
ATTRIBUTE: Ause
Sets the actions to be taken when someone uses the object with the use
command.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @ause grenade = :EXPLODES with a thundering roar; kill %n=100;
@destroy me
Related Topics: use, @ouse, @use.
& @AWAY
@AWAY
COMMAND: @away <object> = <message>
ATTRIBUTE: Away
This attribute is sent as a message to anyone who tries to page you when
you are not connected.
This attribute is only meaningful for players, and will never be
automatically referenced on other object types.
Example: @away me = Hey, I'm not even connected. So why are you paging me?
Related Topics: @idle, @idletimeout, @reject, page.
& @BREAK
@BREAK
COMMAND: @break <boolean>[=<action list>]
@break stops the execution of further commands in the current action
list if its argument is a true value. It doesn't affect new queue
entries made by previous commands in the action list. Very useful to
people who don't like @switch. If <action list> is given, they are
executed instead of the rest of the commands in the current action list.
Examples:
> @va obj=$testme *:@pemit %#=Before;@break %0;@pemit %#=After
> testme 0
Before
After
> testme 1
Before
> @force me={@switch 1=1,think 3rd;think 1st;@break 1;think 2nd}
1st
3rd
In the last example, the @switch is run, which queues 'think 3rd',
'think 1st' is run, displaying '1st', command execution is broken
(so we never 'think 2nd', and then the queued 'think 3rd' is run,
displaying '3rd'.
If you follow that, you have a very good understanding of the
TinyMUX queue.
Related Topics: @assert, BOOLEAN VALUES
& @CBOOT
@CBOOT
COMMAND: @cboot[/quiet] <channel>=<object>
Only wizards or the owner of the channel can use this command. It
forcefully removes an object from that channel.
You may specify a player name as <object> if you prefix it with an '*'
(e.g., '*Player1'), otherwise <object> should be a dbref or if you are
in the same room, the name of an object or player.
Example:
> @cboot Public=Player1
[Public] Staff1 boots Player1 off the channel.
[Public] Player1 has left this channel.
Related Topics: comsys commands
& @CCHARGE
@CCHARGE
COMMAND: @ccharge <channel>=<amount>
This command imposes a charge of <amount> coins on transmitting over a
channel. The default fee when a channel is created is 0. All proceeds
benefit the channel owner.
Example:
> @ccharge Public=1
Set.
Related Topics: comsys commands
& @CCHOWN
@CCHOWN
COMMAND: @cchown <channel>=<player>
Changes ownership of <channel> to <player>. If the player is not in the
same room, you will need to add a '*' before the name (e.g., '*player1').
Example:
>@cchown Public=Staff1
Set.
Related Topics: @clist, @cwho.
& @CCREATE
@CCREATE
COMMAND: @ccreate <channel name>
Only Wizards can create new channels.
Creates a new channel with default settings. Once the channel is created,
it can be associated with a object with the @cset command. That object can
be used to set locks and descriptions on the channel.
Example:
> @ccreate Public
Channel Public created.
Related Topics: comsys, @cset, @cdestroy, @clist, @cchown.
& @CDESTROY
@CDESTROY
COMMAND: @cdestroy <channel>
Deletes <channel> permanently from the comsystem database. It does not
destroy all aliases that exist for <channel> -- those are left to the
owners of those aliases. Players are notified both at login when they
own aliases for which a channel no longer exists and when they try to
use them. Even if a Channel is destroyed and then recreated, the alias
will still be non functioning. The alias must be removed with the
'delcom' command and added with the 'addcom' command.
Example:
> @cdestroy Staff
Channel Staff destroyed.
Related Topics: @clist, @ccreate, @cchown, addcom, delcom.
& @CEMIT
@CEMIT
COMMAND: @cemit[/<switches>] <channel>=<message>
Sends <message> over <channel> prefixed by the channel's name. You must own
or control the channel to do this.
The following switches are available:
/noheader - Sends the message to everyone on <channel> without the
channel's name prefixed.
Example:
> @cemit Public=This is a test!
[Public] This is a test!
> @cemit/noheader Public=This is a test!
This is a test.
Related Topics: comsys commands, alias, addcom, cemit()
& @CHARGES
@CHARGES
COMMAND: @charges <object> = <count>
ATTRIBUTE: Charges
This attribute allows you to limit the number of times an object can be
used. If there is a charges attribute it is decremented each time an
action on the object is triggered. Once it reaches zero, normal triggering
stops and the Runout attribute (if one is present) is run instead.
Example: @charges Fireball wand = 5
Related Topics: @runout.
& @CHOWN
@CHOWN
COMMAND: @chown[/nostrip] <object>[=<player>]
@chown <object>/<attr>[=<player>]
The first form changes the ownership of <object> to <player>. By default,
this is yourself. Objects may be things, rooms or exits. To @chown things,
you have to be carrying the thing. For rooms or exits, you have to be in
the room. Objects must have the CHOWN_OK flag set before they may be
@chowned. In a room, the command used must be @chown here=<name>, and for
an object, you must be very specific. Players can't be @chowned; they
always own themselves.
When an object is @chowned, all unlocked attributes on the object are
automatically @chowned as well. Locked attributes remain owned by their
original owners.
Without the /nostrip switch, CHOWN_OK, all flags specified in the
stripped_flags configuration option, and all @powers are stripped. Also,
HALT is set. With /nostrip, ROYALTY and INHERIT are preserved (albeit with
warnings). #1 can use /nostrip to further preserve WIZARD and @powers.
By default, stripped_flags includes: BLIND, CONNECTED, GAGGED, HEAD_FLAG,
IMMORTAL, INHERIT, ROYALTY, SLAVE, STAFF, SUSPECT, UNINSPECTED, and WIZARD.
{ 'help @chown2' for more }
& @CHOWN2
@CHOWN (continued)
The second form changes the ownership of the indicated attribute on <object>
to <player>. The default is the owner of the object. You may only @chown
unlocked attributes. You may @chown unlocked attributes on objects that you
own to yourself, and you may also @chown attributes that you own on objects
owned by others to the owner of the object.
Related Topics: ATTRIBUTE OWNERSHIP, CHOWN_OK, @lock, stripped_flags, and
@unlock.
& @CHZONE
@CHZONE
COMMAND: @chzone <object>=<zone object>.
Changes the zone of <object> to <zone object>. If <zone object> is "none",
the zone is reset to NOTHING.
@chzone'ing a player does not automatically change the zone of their
objects. Anyone may reset the zone of an object they own; <zone object>
must either be "none", or must be owned by them. Only wizards may @chzone
an object to an arbitrary zone object. Players may @chzone themselves to
an object they own; otherwise, only wizards may @chzone players. For
non-player objects, @chzone'ing strips all flags in the stripped_flags.
By default, stripped_flags includes: BLIND, CONNECTED, GAGGED, HEAD_FLAG,
IMMORTAL, INHERIT, ROYALTY, SLAVE, STAFF, SUSPECT, UNINSPECTED, and WIZARD.
Related Topics: stripped_flags, ZONE OBJECTS
& @CLIST
@CLIST
COMMAND: @clist[/<option>] [<pattern>]
Without any switches, it will display the list of public channels with
their owner and description. It will also display all channels you own.
<option>, if given, may be either of the following:
full - @clist will display more detailed information including
the channel object's dbref.
headers - Shows the @clist report with the description column
replaced by the a column of the channel headers.
<pattern>, if given, is used to match and select a subset of channels.
{ 'help @clist2' for more }
& @CLIST2
@CLIST
Examples:
>@clist
*** Channel Owner Description
--- Public God No description.
--- Staff God No description.
>@clist S*
*** Channel Owner Description
--- Staff God No description.
>@clist/full
*** Channel --Flags-- Obj Own Charge Balance Users Messages
--- Public JXR/jxr -1 11 0 0 45 129
--- Staff JXR/jxr -1 11 0 0 10 65
Related Topics: @ccreate, @cdestroy, @cchown, @coflags, @cpflags.
& @CLONE
@CLONE
COMMAND: @clone[/<switches>] <object>[=<newname/cost>]
Creates a almost exact duplicate of <object> that is owned by you and (for
things and exits) puts it in your current location. You may have the
object put in your inventory (or your exitlist in the case of cloning
exits) by using the /inventory switch.
The modification and creation times will necessarily be different. Also,
depending on the parent lock and permissions, the possibility exists that
the clone object will be left unparented.
You may clone your own objects, plus VISUAL objects owned by others.
Typically, INHERIT, WIZARD, and other flags in the stripped_flags
configuration option are not cloned. Powers are never cloned. If <newname>
is specified, it is used as the name instead of the original name.
By default, stripped_flags includes: BLIND, CONNECTED, GAGGED, HEAD_FLAG,
IMMORTAL, INHERIT, ROYALTY, SLAVE, STAFF, SUSPECT, UNINSPECTED, and WIZARD.
If you clone a linked exit, an attempt is made to link the clone to the
same location. Except when using the /inventory switch, you can only clone
exits when you own your current location.
{ 'help @clone2' for more }
& @CLONE2
@CLONE (continued)
If you clone a room with a drop-to, an attempt is made to link the drop-to
to the same location.
If the original object was owned by you, then the ACLONE attribute is run
in the new attribute, otherwise the new object is set HALTED. Exits and
contents of cloned objects are not cloned, and LOCKED attributes are not
copied.
The following switches are available:
/cost - Treat the argument after the = as the cost of the new
object, not the name.
/inherit - Don't reset the INHERIT bit on the new object.
/inventory - Create the new object in your inventory (or your exitlist,
in the case of cloning exits).
/nostrip - Flags in the stripped_flags set are not stripped except
that only #1 is allowed to clone WIZARD.
/location - Create the new object in your location (default).
{ 'help @clone3' for more }
& @CLONE3
@CLONE (continued)
/parent - Set the new object's parent to be the template object and
don't copy the attributes.
/preserve - Let the existing owner own the clone. Existing owner must
be controllable.
Related Topics: @create, @decompile, @destroy, stripped_flags, VISUAL.
& @COFLAGS
@COFLAGS
COMMAND: @coflags <channel>=[!]flag
Sets object flags for that channel. The flag can be one of: join, transmit
or receive.
transmit Whether an object can broadcast (speak) over the channel.
join Whether an object can join the channel.
receive Whether an object can receive messages over the channel.
NOTE: Flags must be lower case.
If it is !flag, then that flag is reset. Channel flags ALWAYS override
locks on channel objects.
Example:
> @coflags Public=join
@coflags: Set.
Related Topics: @cpflags, @clist, CHANNEL OBJECT.
& @COMJOIN
@COMJOIN
COMMAND: @comjoin <object> = <message>
ATTRIBUTE: Comjoin
Sets the message that is shown to the player who joins the channel
corresponding to <object>.
Related Topics: addcom, CHANNEL OBJECT, @comleave, @comoff, @comon
& @COMLEAVE
@COMLEAVE
COMMAND: @comleave <object> = <message>
ATTRIBUTE: Comleave
Sets the message that is shown to the player who leaves the channel
corresponding to <object>.
Related Topics: CHANNEL OBJECT, @comjoin, @comoff, @comon, delcom.
& @COMOFF
@COMOFF
COMMAND: @comoff <object> = <message>
ATTRIBUTE: Comoff
Sets the message that is shown to the player who turns off the channel
corresponding to <object>.
Related Topics: alias, CHANNEL OBJECT, @comjoin, @comleave, @comon.
& @COMON
@COMON
COMMAND: @comon <object> = <message>
ATTRIBUTE: Comon
Sets the message that is shown to the player who turns on the channel
corresponding to <object>.
Related Topics: alias, CHANNEL OBJECT, @comjoin, @comleave, @comoff.
& @COLOR
@COLOR
COMMAND: @color <object> = <color-code-list>
ATTRIBUTE: Color
Controls the colorization of an object's name.
Example:
@color me = hr
This attribute is only available with --enable-firanmux, and is expected to
be deprecated in favor of @moniker.
Related Topics: ansi(), ANSI CODES, @moniker, moniker().
& @CONFORMAT
@CONFORMAT
COMMAND: @conformat <object> [=<format>]
Replaces the usual "Contents:" or "Carrying:" format when an object
is looked at, by a player-specified contents format. This is evaluated
as if it were a description or other similar message on the room.
The objects that the looker would normally be able to see is passed
as a dbref list in %0; all contents can be acquired through 'lcon(me)'.
The contents name is passed in %1.
One could change the format to 'Contents: Object1 Object2 Object3'
through '@conformat here = %1 [iter(%0,name(##))]',
for example. More complex things are possible.
Related Topics: @exitformat, @nameformat
& @COST
@COST
COMMAND: @cost <object> = <amount>
ATTRIBUTE: Cost
Sets the number of coins that need to be given to an object to trigger the
Pay, Opay, and Apay attributes. If the object is given more than this
amount, the excess is returned to the giver, while if less than this amount
is given the entire amount is returned, a snide message is sent to the
giver, and the Apay, Opay, and Pay attributes are not used.
This attribute is only meaningful for things, and will never be
automatically triggered on other object types.
Example: @cost Coke machine = 25
Related Topics: give, @apay, @opay, @pay.
& @CPATTR
@CPATTR
@cpattr <obj>/<attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,...]
@cpattr <obj>/<attr> = <obj1> [,<obj2>,<obj3>,...]
@cpattr <attr> = <obj1>/<attr1> [,<obj2>/<attr2>,<obj3>/<attr3>,...]
@cpattr <attr> = <obj1> [,<obj2>,<obj3>,...]
The first form of this command is used to copy <attr> on <obj> to the
object-attribute pairs in a comma-separated list. For example:
@cpattr test/va = test/vb, cube/va, tribble/foo
would copy the VA attribute from object "test" to VB on "test",
VA on "cube", and FOO on "tribble". <objN> is matched as if
you were performing a @set on it.
The second form copies <attr> to the list of objects, with the name
<attr>. The third form copies <attr> from the object that executes the
@cpattr, to the object-attribute pairs in the list. Finally, the fourth
form copies <attr> from the object that executes the @cpattr to the
objects in the list, with the name <attr>.
& @CPFLAGS
@CPFLAGS
COMMAND: @cpflags <channel>=[!]flag
Sets player flags for that channel. The flag can be one of: join, transmit
or receive.
transmit Whether a player can broadcast (speak) over the channel.
join Whether a player can join the channel.
receive Whether a player can receive messages over the channel.
NOTE: Flags must be lower case.
If it is !flag, then that flag is reset. Channel flags ALWAYS override
locks on channel objects.
Example:
> @cpflags Public=join
@coflags: Set.
Related Topics: @coflags, @clist, CHANNEL OBJECT.
& @CREATE
@CREATE
COMMAND: @create <name> [=<cost>]
Creates a thing with the specified name. Creation costs either <cost>
or 10 coins, whichever is greater. The value of a thing is proportional
to its cost, specifically, value=(cost/5)-1. The value may not be greater
than 100, values that would be greater than 100 are rounded down to 100.
Related Topics: @destroy, OBJECT TYPES
& @CSET
@CSET
COMMAND: @cset/<option> <channel>[=<value>]
Changes the way a channel behaves. <option> can be one of the
following:
public - channel is listed in everyone's @clist.
private - channel is hidden from the @clist.
loud - channel announces player connects/disconnects.
mute - shuts connects/disconnects off.
quiet - same as mute.
spoof - allows the comtitle to replace the player's name.
anon - same as spoof.
nospoof - channel will append the player's name to the comtitle.
header - Changes the prefix text used to announce a channel emit to
<value>. <value> may contain color.
object - Sets the channel object to <value>. You must create an object
before associating a channel with it.
log - Sets the maximum number of channel messages to log.
The channel must have an object.
timestamp_logs - [0/1] Indicates if log messages are prepended with a
- timestamp. Channel must have an object and logging enabled.
You can set a description for the channel by changing the description
of the channel object. Also, the channel object's lock will be used
to check to see if people should be able to join the channel or not.
Examples:
> @cset/public Public
@cset: Channel Public placed on the public listings.
> @cset/object Public=#5
Channel Public is now using Garou Channel Object(#5) as channel object.
Related Topics: CHANNEL OBJECT, @ccreate, @create
& @CWHO
@CWHO
COMMAND: @cwho <channel>[/all]
For channels that you own, identifies all connected players on the channel
and their stats for the channel. If switch is /all, then it also displays
unconnected players.
Example:
> @cwho Public/all
Name Status Player
Beowulf on yes
Ronan on yes
Related Topics: @clist.
& @DAILY
@DAILY
COMMAND: @daily <object>=<command-list>
ATTRIBUTE: Daily
This attribute is automatically triggered once per day. No guarantees are
made as to what time it will execute.
& @DECOMPILE
@DECOMPILE
COMMAND: @decompile[/dbref] <thing>[/attr] [=<newname>]
Dumps the sequence of commands you would have to type to clone <thing>.
This is handy for saving your objects in a text file in case the MUX dies
a horrible death, or for moving your pride-and-joy creation from one MUX
to another. @decompile works on all object types.
If you specify <newname>, then the commands emitted will set attributes,
locks, and flags on an object named <newname> and will omit the command
to create the object.
If you specify <thing>/<attr>, <attr> accepts wildcards.
If you specify the /dbref switch, you will get output using the dbref
number instead of the object name.
Related Topics: examine, look.
& @DESCRIBE
@DESCRIBE
COMMAND: @describe <object> = <description>
ATTRIBUTE: Desc
Sets the description for <object>, which others see when they look at the
object. Giving all your objects, rooms, and exits good descriptions is
considered to be good building practice.
Function references and %-substitutions are allowed in descriptions, and
are evaluated when someone looks at the object. In function references,
'me' refers to the object being looked at, while %-substitutions that refer
to the enactor (such as %n, %#, %p, etc) refer to the looker.
Examples:
<object> @desc vase = You see a delicate Ming vase.
<exit> @desc elevator = There is an elevator to the east.
Related Topics: look, @adescribe, @odescribe.
& @DESCFORMAT
@DESCFORMAT
COMMAND: @descformat <object> [=<format>]
Normally, the description of an object is controlled by the content and
formatting found in the DESCRIBE attribute. With the WOD_REALMS package
enabled, DESCRIBE can be substituted in favor of other attributes.
However, in all cases, @descformat provides one final pass over the
appearance of an object. The evaluated description text is passed as %0,
and the attribute name where this text can be found is passed as %1. The
unevaluated description can be acquired using v(%1).
This is useful to achieve a consistent 'look' using room parents.
Related Topics: @conformat, @exitformat, @nameformat.
& @DESTROY
@DESTROY
COMMAND: @destroy[/<switches>] <object>
This command destroys <object> and refunds its cost of creation to its
owner. You must own <object> in order to @destroy it, unless its
DESTROY_OK flag is set, in which case anyone holding it may @destroy it.
Rooms, exits, and objects may be destroyed, although the actual
destruction of rooms is delayed for up to ten minutes and the GOING flag
is set on the victim room. Clearing the GOING flag on the room spares it
from destruction.
If a thing OR its owner is set DESTROY_OK, the thing will be destroyed
with no delay. This can also be performed with the /instant switch.
The @destroy command will not destroy objects with the SAFE flag set unless
the /override switch is specified. The DESTROY_OK flag overrides the
protection given by the SAFE flag.
The following switches are available:
/override - Negate protection offered by the SAFE flag.
/instant - Destroy with no delay.
Related Topics: DESTROY_OK, SAFE.
& @DFAIL
@DFAIL
COMMAND: @dfail <object> = <message>
ATTRIBUTE: Dfail
Sets the message that a player sees when he tries to drop the object but
fails because he didn't pass the object's drop lock.
Function references and %-substitutions are allowed in drop failure
messages, and are evaluated when someone drops the object. In function
references, 'me' refers to the object being dropped, while %-substitutions
that refer to the enactor (such as %n, %#, %p, etc) refer to the dropper.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @dfail sword = The sword has welded itself to your hand.
Related Topics: drop, @adfail, @odfail, @lock.
& @DIG
@DIG
COMMAND: @dig[/<switches>] <name> [= <exitlist> [, <exitlist>] ]
Creates a new room with the specified name and displays its number. This
command costs 10 coins. If the [= <exitlist>] option is used, an exit will
be opened from the current room to the new room automatically. If the
second <exitlist> option (after the comma) is specified, an exit from the
new room back to the current room with the specified [Exits] name is
opened. Either exit creation may fail if you do not have sufficient
rights to the current room to open or link the new exit.
Example: The command
@dig Kitchen = Kitchen;k;north;n,south;s
will dig a room called Kitchen, and open an exit called 'Kitchen' in your
current room. The ; symbol means that you may enter the exit by typing
'k', 'north' or 'n' also. This command also opens the exit 'south;s' from
'Kitchen' back to where you are. Only the first Exit name is displayed in
the Obvious exits list.
If you specify the /teleport switch, then you are @teleported to the
room after it is created and any exits are opened.
Related Topics: @destroy, @link, @open, LINKING, OBJECT TYPES.
& @DOING
@DOING
COMMAND: @doing[/<switches>] [<message>]
Sets your DOING message, which appears after your name in the WHO
report.
The following switches are available:
/poll - Displays the current poll message from the WHO report.
/header <message> - Sets a new poll message in the WHO report.
/unique - Only set DOING message for the current connection.
/quiet - Suppress 'Set.' notification message.
Related Topics: WHO, @poll.
& @DOLIST
@DOLIST
COMMAND: @dolist[/<switch>] [<delimiter>] <list>=<action>
<list> is a list of strings, which can be object numbers, attributes, or
arbitrary words. <action> is a command to perform once for each item in
<list>, replacing the special symbol ## with the corresponding item from
<list>, and the symbol #@ with the position in the list, starting with
one. By default, @dolist considers each item in <list> to be separated
with spaces. If you specify the /delimit switch, then each item is
considered to be separated by <delimiter>. <delimiter> must be a single
character.
If present, <switch> can be any of:
/space - (Default) List elements are separated by spaces.
/delimit - List elements are separated by <delimiter>.
/notify - Queues a '@notify' after all commands in the list.
This command is particularly handy with lcon() and lexits(). A few examples:
@dolist [lcon(here)] = "[name(##)](##)
@dolist [lcon(here)] = @switch [get(##/last)]=*1990*,"[name(##)]
@va me = va vb vc
@dolist [get(me/va)] = @emit [get(me/##)]
@dolist Frodo Bilbo Gandalf = page ## = HELP!!!! I've fallen into a pit.
@dolist/delimit , {Frodo, Bilbo Baggins, Gandalf} = page ## = HELP!!!!
@wait me="This is a semaphore.
@dolist/notify lnum(3)=say ##
> You say, "0"
> You say, "1"
> You say, "2"
> You say, "This is a semaphore."
Related Topics: iter(), @notify, SEMAPHORES.
& @DRAIN
@DRAIN
COMMAND: @drain <object>
Discards all commands waiting on the semaphore <object> and resets the
semaphore to its initial state.
Related Topics: @notify, @ps, SEMAPHORES
& @DROP
@DROP
COMMAND: @drop <object> = <message>
ATTRIBUTE: Drop
Sets the message that a player sees when he drops the object, or after he
goes through the exit.
Function references and %-substitutions are allowed in drop messages, and
are evaluated when someone drops the object. In function references,
'me' refers to the object being dropped, while %-substitutions that refer
to the enactor (such as %n, %#, %p, etc) refer to the dropper.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Examples: <object> @drop vase = You gently put down the delicate vase.
<exit> @drop elevator = The elevator doors close behind you.
Related Topics: drop, @adrop, @odrop, DROP-TO, EXITS.
& @EALIAS
@EALIAS
COMMAND: @ealias <object> = <entrance-list>
ATTRIBUTE: Ealias
Sets up a set of alternate commands that may be used as synonyms for the
command 'enter <object>' when you are in the same location as the object.
The alternate commands are separated by semicolons just like in exit names.
Entry aliases are checked after exit names, built-in MUX commands, and leave
aliases for the current location, but before $-commands. If more than one
object has an entry alias that matches a player's command, the one on the
object that occurs first in the location contents list is used.
This attribute is meaningful for players and things, and will never be
automatically looked at on rooms or exits.
Example: @ealias car = get in car; car; climb in; go for a ride
Related Topics: @lalias, enter, leave.
& @EDIT
@EDIT
COMMAND: @edit <object>/<wild-attr> = <search>,<replace>
@edit <object>/<wild-attr> = ^,<text>
@edit <object>/<wild-attr> = $,<text>
This command edits the contents of one or more attributes of an object,
eliminating the need to retype a long attribute in order to make a simple
change. In the first form, all occurrences of <search> in the specified
attribute of the named object are replaced with <replace>. Use curly
braces ({ and }) around <search> or <replace> if they contain commas.
The second and third form prepend and append <text> to the selected
attributes, respectively.
If <wild-attr> contains wildcard characters, then all attributes that
match are edited.
& @EFAIL
@EFAIL
COMMAND: @efail <object> = <command-list>
ATTRIBUTE: Efail
Sets the message that a player sees when he tries to enter the object but
fails because the object is not ENTER_OK or the player fails the
object's enter lock.
Function references and %-substitutions are allowed in efail messages, and
are evaluated when someone fails to enter the object. In function
references, 'me' refers to the object that the enactor tried to enter, while
%-substitutions that refer to the enactor (such as %n, %#, %p, etc) refer to
the player who tried (and failed) to enter.
The enter lock only affects the 'enter' command and its aliases (set via
the @ealias command), it does not affect exits that lead to the object or
teleporting in.
This attribute is meaningful for players and things, and will never be
automatically triggered on rooms or exits.
Example: @efail car = The car's door is locked.
Related Topics: @aefail, @aenter, @ealias, @enter, @oefail, @oenter, enter,
ENTER_OK.
& @EMAIL
@EMAIL
COMMAND: @email <address>[/<subject>]=<body>
Sends an E-mail to <address> containing given <body>. The default subject
is controller by the mail_subject configuration option, but <subject>, if
given, overrides the default.
This command will not work unless configured properly. See configuration
options in wizhelp.
Related Topics: mail_server, mail_ehlo, mail_sendaddr, mail_sendname,
mail_subject
& @EMIT
@EMIT
COMMAND: @emit[/<switches>] <message>
Sends <message> to everyone in your current location without prefixing it by
your character name. You can also send the message to everyone in the room
that contains the object you are inside with the /room switch.
The following switches are available:
/here - Sends the message to everyone in the same location as you.
/html - Sends the message to HTML-flags players.
/room - Sends the message to everyone in the room that contains the
object you are in. Starting from your location, this switch
'leaves' objects until it reaches a room, and @emits the message
there.
If both switches are specified, the message is sent to both places. If
neither is specified, /here is assumed.
Some MUXes may restrict the use of this command.
Related Topics: @femit, @oemit, @pemit, @npemit, @remit, SPOOFING.
& @ENTER
@ENTER
COMMAND: @enter <object> = <message>
ATTRIBUTE: Enter
Sets the message that a player sees when entering an object or room,
whether by using an exit, the enter or leave commands, or by teleporting.
Function references and %-substitutions are allowed in enter messages, and
are evaluated when someone enters the object. In function references,
'me' refers to the object being entered, while %-substitutions that refer
to the enactor (such as %n, %#, %p, etc) refer to the player entering the
object.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @enter car = You climb into the car and buckle your seat belt.
Related Topics: enter, @aenter, @oenter, ENTER_OK.
& @ENTRANCES
@ENTRANCES
COMMAND: @entrances [[<object>][,<low>[,<high>]]]
Lists links from elsewhere to the specified object (default: your current
room). For rooms, exits and drop-to's, leading to the room and players
and objects whose home is in the room are listed. For players and objects,
lists exits leading to them. Because this command is computationally
expensive, it costs 100 coins. <low> and <high> can be used to indicate
where to start and stop the search, respectively.
Examples:
> @entrances <- all links to here
> @entrances object <- all links to object
> @entrances ,100,200 <- all links to here from #100 to #200
> @entrances me,1000 <- all links to me from #1000 and above.
Related Topics: @link, @unlink.
& @EVAL
@EVAL
COMMAND: @eval <arg>
This command does nothing other than evaluate <arg> which makes it useful
for side-effects functions. It is unlike think in that the result is not
treated as a message and ^-listens are not matched on the result.
Related Topics: @@, think.
& @EXITFORMAT
@EXITFORMAT
COMMAND: @exitformat <object> [=<format>]
Replaces the usual "Obvious Exits:" format when an object is looked
at, by a player-specified exits format. This is evaluated as if it
were a description or similar message on the room. The objects that
the looker would normally be able to see is passed as a dbref list
in %0; all exits can be acquired through 'lexits(me)'.
One could change the format to 'Exits: Exit1 Exit2 Exit3' through
'@exitformat here = Exits: [iter(%0,name(##))]', for example.
Related Topics: @conformat, @nameformat
& @EXITTO
@EXITTO
COMMAND: @exitto <object> = <dbref function>
ATTRIBUTE: Exitto
This attribute is used to create variable exits. If an @exitto is present
on an exit, and the <dbref function> returns a number or a dbref, the exit
behaves as if the returned dbref is the exit's destination.
Because this can be used to go anywhere, @exitto is a wizard-only
attribute.
Even though @exitto take precedence over the static destination of an exit,
don't forget to @link all exits anyway. Anyone can @link an unlinked exit
and therefore 'own' and @destroy it.
Example:
> @open FooExit
Opened.
> @exitto FooExit=#123
Set.
> FooExit
Room123(#123)
Related Topics: EXITS.
& @FAIL
@FAIL
COMMAND: @fail <object> = <message>
ATTRIBUTE: Fail
Sets the failure message for <object>. This message is seen by the actor
when one of these events occurs:
- For exits: Someone tries to traverse the exit but cannot because they
fail the exit's default lock or the exit is not linked.
- For players and things: Someone tries to pick up the object but cannot
because they fail the object's default lock.
- For rooms, players, and things: Someone looks around inside the room,
player, or thing and fails the object's default lock.
Substitution and evaluation is performed on the message before it is shown.
Example:
> @fail table = It's too heavy to lift! <thing>
> @fail doorway = The doorknob does not turn. <exit>
Related Topics: get, @afail, @ofail, FAILURE.
& @FEMIT
@FEMIT
COMMAND: @femit[/<switches>] <object>=<message>
Forces <object> to emit <message>. This command is similar to the command
'@force <object> = @emit <message>', except that it will work so long as
you own the object, whereas @force may fail if the object has its INHERIT
flag set and the object performing the @force does not.
The following switches are available:
/here - Sends the message to everyone in the same location as <object>.
/room - Sends the message to everyone in the room that contains the
object that <object> is in. Starting from your location, this
switch 'leaves' objects until it reaches a room, and @emits the
message there.
If both switches are specified, the message is sent to both places. If
neither is specified, /here is assumed.
Some MUXes may restrict the use of this command.
Related Topics: @remit, @emit, @fpose, @fsay, INHERIT, SPOOFING.
& @FILTER
@FILTER
COMMAND: @filter <object> = <pattern>[, <pattern>...]
ATTRIBUTE: Filter
This attribute specifies a series of patterns to be used to suppress
text normally forwarded by the AUDIBLE flag. If the desired pattern
contains a comma, the pattern may be enclosed in curly braces {}.
Example:
> @fo test=out
> @set #378=puppet
test> test grows ears and can now hear.
> @filter out = {* has arrived.},{* has left.}
Set.
> :has not arrived.
Wizard has not arrived.
test> From a distance, Wizard has not arrived.
> :has arrived.
Wizard has arrived.
Related Topics: AUDIBLE, @forwardlist, @infilter, @inprefix, @prefix.
& @FIND
@FIND
COMMAND: @find <name>[,<low>[,<high>]]
Displays the name and number of every room, thing, or player that you
control whose name matches <name>. Because the command is computationally
expensive, it costs 100 coins.
<low> and <high> may be used to restrict the range of objects that are
searched, if they are given then the search starts at object #<low> and ends
at object #<high>.
Examples:
> @find Lost Room
> @find Secret Device,12000,14000
Related Topics: @search.
& @FOLDER
@FOLDER
COMMAND: @folder[/<switch>] [arg1]=[arg2]
@folder operates on @mail folders to view, set, and read mail messages
within folders. The available switches are /file, /list, /read, and /set.
Usage:
@folder - Lists mail stats for all @mail folders.
@folder <folder> - Sets the active folder to <folder>.
@folder <folder>=<message list> - Reads the <message list> in folder.
@folder/file <folder>=<msgs> - Files <msgs> in <folder> like @mail/file.
@folder/list <folder>[=<msgs>] - Lists <msgs> if provided from <folder> or
all messages in <folder>.
@folder/read <folder>=<mgs> - Display <msgs> in <folder>
@folder/set <folder>[=<name>] - Set the active folder number if no name is
given, or give <folder> <name>.
Other than @folder/set or @folder <folder>, the @folder command does not
change the active folder for @mail.
Related Topics: @mail, mail-folders
& @FORCE
@FORCE
COMMAND: @force <player/object>=<command>
Forces the game to act as though <player/object> had entered <command>.
You may only force objects that you control. Objects may not force players
unless either the object or the player has their INHERIT flag set, and
objects that do not have their INHERIT flag set may not force objects that
do. If the victim is specified by number, you may use an alternate form
of the command, '#<number> <command>'.
Related Topics: puppets.
& @FORWARDLIST
@FORWARDLIST
COMMAND: @forwardlist <object> = <dbref-list>
ATTRIBUTE: Forwardlist
Specifies a list of locations (specified by their db numbers) that are to
receive messages heard by <object> (filtered by the @filter attribute and
prefixed by the @prefix attribute). The messages are only forwarded if
<object> has its AUDIBLE flag set.
Related Topics: @filter, @prefix, AUDIBLE.
& @FPOSE
@FPOSE
COMMAND: @fpose[/<switches>] <object>=<message>
Forces <object> to pose <message>. This command is similar to the command
'@force <object> = :<message>', except that it will work so long as you
own the object, whereas @force may fail if the object has its INHERIT flag
set and the object performing the @force does not.
The following switches are available:
/default - (default) Put a space between the name of the object and
the message (ie, send '<name> <message>').
/nospace - Don't put a space between the name of the object and the
message (ie, send '<name><message>').
Related Topics: @femit, @fsay, pose, :, ;, INHERIT.
& @FSAY
@FSAY
COMMAND: @fsay <object>=<message>
Forces <object> to say <message>. This command is similar to the command
'@force <object> = say <message>', except that it will work so long as you
own the object, whereas @force may fail if the object has its INHERIT flag
set and the object performing the @force does not.
Related Topics: @femit, @fpose, INHERIT, say.
& @GFAIL
@GFAIL
COMMAND: @gfail <object> = <message>
ATTRIBUTE: Gfail
Sets the message that a player sees when he tries to give away the object
but fails because he didn't pass the object's give lock.
Function references and %-substitutions are allowed in give failure
messages, and are evaluated when someone tries to give away the object.
In function references, 'me' refers to the object being given away, while
%-substitutions that refer to the enactor (such as %n, %#, %p, etc) refer
to the (attempted) giver.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @gfail sword = You can't give away a cursed sword!
Related Topics: give, @agfail, @ogfail, @lock.
& @HALT
@HALT
COMMAND: @halt [<object>]
Halts all commands being run by <object>, or by the object running the
command if no <object> is given. If the object to be halted is a player,
then all commands being run by objects owned by that player are halted.
Use this command to stop runaway objects and infinite loops.
The process of halting an object involves removing all commands waiting
to be run by the object from the queue and refunding the queue deposit.
Halting an object does not affect commands waiting on it as a semaphore.
Related Topics: @drain, @notify, kill, HALTED, SEMAPHORES.
& @HTDESC
@HTDESC
COMMAND: @htdesc <object> = <message>
ATTRIBUTE: HTDesc
Sets the HTML description for <object> to be shown when a player with the
HTML flag looks at the object. If there is no HTDesc set, then the player
is shown the regular description from Desc.
You may place regular, raw HTML in the @htdesc, however if you do so you
should set the HTML flag on the object. Without the flag any '<' characters
are translated to '<' and any '>' are translated to '>'. If this
occurs, the browser will display the '<' and '>' characters instead of
handling them as HTML tags.
Functions and %-substitutions are evaluated in this attribute.
Example:
> @htdesc me=<IMG SRC="http://www.fakeserver.com/image.png">
> @set me/htdesc = html
See also: PUEBLO, @set, HTML
& @IDESC
@IDESC
COMMAND: @idesc <object> = <message>
ATTRIBUTE: Idesc
Sets the internal description for <object>. The internal description of an
object will be shown to any player entering it. If not set, the regular
description in the Desc attribute is shown instead.
Function references and %-substitutions are allowed in inside descriptions,
and are evaluated when someone fails to get or look at the object. In
function references, 'me' refers to the object being looked at, while
%-substitutions that refer to the enactor (such as %n, %#, %p, etc)
refer to the player doing the looking.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @idesc car = You are sitting in the driver's seat of a Volkswagen
Beetle.
Related Topics: enter, @describe, ENTER_OK.
& @IDLE
@IDLE
COMMAND: @idle <object> = <message>
ATTRIBUTE: Idle
This attribute is sent as a message to anyone who successfully pages you.
It can be used to tell someone who pages you when you will return
(if you are going to be away for a while).
This attribute is only meaningful for players, and will never be
automatically referenced on other object types.
If an @idletimeout is set on the person being paged, you will only see
the @idle message if that person is more idle than the specified amount
of time.
Example: @idle me = At dinner. Back about 7PM.
Related Topics: @away, @idletimeout, @reject, page.
& @IDLETIMEOUT
@IDLETIMEOUT
COMMAND: @idletimeout <object> = <seconds>
ATTRIBUTE: IdleTimeout
This attribute is used to determine if your @idle message is sent to
a player who successfully pages you.
If you're online and working at the same time, you can set the minimum
idle time to allow your message to show. so whilst you're not idle your
@idle message will not show without you having to delete it to hide it.
This attribute is only meaningful for players, and will never be
automatically referenced on other object types.
Example: @idle me = Working IRL. Monitoring this window from time to time.
@idletimeout me = 60
Related Topics: @away, @idle, @reject, page.
& @IFELSE
@IF
COMMAND: @if <string>=<true>[,<false>]
Checks if <string> evaluates to a true value. If so, the command <true>
is performed. If not, <false> is (if present).
This command can also be called as @ifelse.
Examples:
> think money(me)
150
> @if [gte(money(me),1)]=say I have money., say I'm broke!
You say, "I have money."
Related topics: @switch, ifelse(), switch().
& @INFILTER
@INFILTER
COMMAND: @infilter <object> = <pattern>[, <pattern>...]
ATTRIBUTE: Infilter
This attribute specifies a series of patterns to be used to suppress
text normally sent to the contents of <object> by @listen. If the desired
pattern contains a comma, the pattern may be enclosed in curly braces {}.
Example:
> @listen sports car=*
> @fo test=enter sports car
test has left.
test> Sports Car(#383Q)
> :waves.
test> Wizard waves.
Wizard waves.
> @infilter sports = *waves*
> :waves.
Wizard waves.
> :knocks on the window.
test> Wizard knocks on the window.
Wizard knocks on the window.
Related Topics: @filter, @inprefix, @listen, @prefix.
& @INPREFIX
@INPREFIX
COMMAND: @inprefix <object> = <prefix text>
ATTRIBUTE: Inprefix
This attribute, when set, will prefix all text that is sent to the contents
of <object> by @listen. The default is to have no prefix, the text is
forwarded unadorned.
Example:
> @listen sports car=*
> @fo test=enter sports car
test has left.
test> Sports Car(#383Q)
> :waves.
test> Wizard waves.
Wizard waves.
> @inprefix sports car = In the mundane world outside,
test> In the mundane world outside, Wizard waves some more.
Wizard waves some more.
Related Topics: @filter, @infilter, @listen, @prefix.
& @KILL
@KILL
COMMAND: @kill <object> = <message>
ATTRIBUTE: Kill
This command sets the message that is shown to anyone who kills <object>.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Function references and %-substitutions are allowed in kill messages, and
are evaluated when someone kills the object. In function references, 'me'
refers to the object that was killed, while %-substitutions that refer to
the enactor (such as %n, %#, %p, etc) refer to the player doing the killing.
Example: @kill guard = The guard says "I'll get.. you... for... this... %n"
as he falls down and dies.
Related Topics: kill, @akill, @okill, BEING KILLED, IMMORTAL, WIZARD.
& @LALIAS
@LALIAS
COMMAND: @lalias <object> = <entrance-list>
ATTRIBUTE: Lalias
Sets up a set of alternate commands that may be used as synonyms for the
command 'leave' when you are inside a player or a thing. The alternate
commands are separated by semicolons just like in exit names.
Leave aliases are checked after exit names and built-in MUX commands but
before enter aliases and $-commands.
This attribute is meaningful for players and things, and will never be
automatically looked at on rooms or exits.
Example: @lalias car = get out;climb out;out;open door;outside
Related Topics: @ealias, enter, leave.
& @LAST
@LAST
COMMAND: @last <player>
This command displays a short 'connection history' for <player>, showing
recent successful and failed connection attempts, as well as the total
number of successful and failed connections.
You can only display information about yourself.
& @LEAD
@LEAD
COMMAND: @lead <object> = <message>
ATTRIBUTE: Lead
Sets the <message> seen by the object when it is lead.
This attribute is only available with --enable-firanmux.
Related Topics: @alead, @olead.
& @LEAVE
@LEAVE
COMMAND: @leave <object> = <message>
ATTRIBUTE: Leave
Sets the message that a player sees when leaving an object or room, whether
by using an exit, the enter or leave commands, or by teleporting.
Function references and %-substitutions are allowed in leave messages, and
are evaluated when someone leaves the object. In function references,
'me' refers to the object being left, while %-substitutions that refer
to the enactor (such as %n, %#, %p, etc) refer to the player leaving the
object.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @leave car = You unbuckle your seat belt and climb out of the car.
Related Topics: leave, @aleave, @oleave.
& @LFAIL
@LFAIL
COMMAND: @lfail <object> = <command-list>
ATTRIBUTE: Lfail
Sets the message that a player sees when he tries to leave it but fails
because the player fails the object's leave lock.
The leave lock only affects the 'leave' command and its aliases (set via
the @ealias command), it does not affect going home, using an exit in the
location, or teleporting out.
This attribute is meaningful for players and things, and will never be
automatically triggered on rooms or exits.
Example: @lfail plane = You don't have a parachute!
Related Topics: @aleave, @alfail, @lalias, @leave, @oleave, @olfail, leave.
& @LINK
@LINK
COMMAND: @link <object>=#<number>/here/home
When used on a player or a thing, this command sets the object's home
to the indicated location. The destination must be owned by you or be an
ABODE room, and you must pass the destination's LinkLock.
When used on a room, this command sets the room's drop-to, where objects
dropped in the room go. The destination must be a room that is either owned
by you or is LINK_OK, and you must pass the destination's LinkLock.
For exits, this command sets the destination if the exit is currently
unlinked, you control the destination or it is set LINK_OK, and you pass the
destination's LinkLock. You can @link an unlinked exit regardless of who
owns it or the lock set on it, you are made the owner if you successfully
link to the destination. Linking an exit costs 1 coin, and if the exit was
owned by someone else, you also reimburse the former owner 1 coin
(making the total cost to you 2 coins).
{ 'help @link2' for more }
& @LINK2
@LINK (continued)
Note that in all the above cases that it is the player performing the @link
command that must pass the LinkLock, not the object being linked.
Therefore, you should use the '$' lock qualifier if you want to prevent
specific players from linking to your LINK_OK locations, as simply locking
against '*<playername>' does not lock out their puppets.
Related Topics: @dig, @open, @unlink, DROP-TOS, HOMES, LINKING, OBJECT TYPES.
& @LIST
@LIST
COMMAND: @list [<option>]
Lists information from internal databases. Information is available
about the following options:
attributes - Valid object attributes.
commands - Commands that you may use (excluding the
attribute-setting commands as well as any exits, and
$-commands available).
costs - Lists the costs associated with many commands and
actions.
default_flags - Lists the flags that new objects receive by default
when created.
flags - Lists the name and letter of all the flags.
functions - Lists all the available functions.
options - Lists several global options and limits.
powers - Lists all powers.
switches - Lists what commands support switches and the switches
that they do support.
The information provided by the @list command is definitive, as it reads
the internal tables to produce the information it displays. Specifying
@list with no argument lists the options you may use.
& @LISTEN
@LISTEN
COMMAND: @listen <object> = <string>
ATTRIBUTE: Listen
This attribute contains a wildcard pattern that the object listens for.
Anything spoken, posed, emitted, or whispered in the room that <object> is
in, as well as messages resulting from using objects (such as Opay and Succ
messages) are checked against the Listen attribute. When the object hears
something that matches the pattern, it triggers the Ahear attribute, as
well as either the Amhear or Aahear attributes, as appropriate,
substituting %0 the string that matched the first wildcard character in the
Listen, %1 for the second. etc. If the pattern in the Listen attribute is
matched, objects in <object>'s inventory will also hear the message and
have a chance to match it. Objects whose Listen attribute is set to
anything will be listed when a @sweep command is run by someone in the
same room.
If the @listen pattern is matched, then the object's contents will
hear the message also, prefixed by the text in @inprefix if it is set. Any
text that matches any pattern specified in @infilter will not be sent to
the contents.
Example: @listen camera = * has arrived.
@ahear camera = @va me = %va %0
Related Topics: @aahear, @ahear, @amhear, @sweep, @inprefix, @infilter.
& @LISTMOTD
@LISTMOTD
COMMAND: @listmotd
Displays the current message-of-the-day. Note that it is displayed when
you connect to your character. This will also display the "motd.txt" file.
& @LOCK
@LOCK
COMMAND: @lock[/<whichlock>] <object>=<key>
@lock <object>/<attrib>
The first form locks <object> to a specific key(s). Type 'help @lock keys'
for a list of the keys you may use.
<whichlock> indicates which lock you want to set on the object. If you
don't specify one, you set the Default lock. Type 'help @lock locks' for
a list of the locks you may set and what they are used for.
The second form locks the indicated attribute of the named object, so that
when the object is @chowned, the attribute will remain owned by you.
It may also be used when you own an attribute on an object that you do not
own, in this case it prevents the object's owner from @chowning the
attribute to himself, and prevents anyone from modifying or removing the
attribute.
Related Topics: @chown, @unlock, @lock keys, @lock locks
& @LOCK ATTRIBUTE
@LOCK ATTRIBUTE
ATTRIBUTE LOCKS:
Key: <attribute>:<pattern>
+<attribute>:<wildcard-pattern>
=<attribute>:<wildcard-pattern>
You may lock on whether a specific attribute on the player attempting to
pass the lock matches a pattern. Example: '@lock thing=sex:m*' will lock
thing to anyone whose sex starts with an M. Wild cards, greater than and
less than may be used, for example: '@lock a-f=name:<g' will lock the exit
a-f against any one whose name is higher than f.
Both the player testing the lock and every object in his inventory is
checked, the player passes the lock if any of those objects passes the lock.
If the attribute name is prefixed by a = then only the player is checked.
Similarly, if the attribute name is prefixed by a + then only objects in
the player's inventory are tested.
{ 'help @lock attribute2' for more }
& @LOCK ATTRIBUTE2
@LOCK ATTRIBUTE (continued)
Note: you may lock against any attribute, but the locked object must be
able to read the attribute from the player attempting to pass the lock or
the lock will fail.
Examples:
> @lock men's room=sex:m*
> @lock a-f=name:<g
> @lock post office=email:*@*
Related Topics: ATTRIBUTE OWNERSHIP, @lock evaluation.
& @LOCK CARRY
@LOCK CARRY
CARRY LOCKS:
Key: +<object>
You pass a carry lock if you are carrying the named object.
Example:
> @lock secret passage = +magic bus
You can only traverse the secret passage if you are carrying the
magic bus. The bus cannot enter the passage on its own (perhaps
when you are driving it).
Related Topics: @lock is, @lock normal.
& @LOCK COMPOUND
@LOCK COMPOUND
COMPOUND LOCKS:
Key: <key> & <key>
<key> | <key>
!<key>
( <key> )
You can make complex locks by combining keys with the logical AND and OR
operators (& and | respectively), or by using the NOT operator. You
may also group complex locks with parentheses.
Examples:
> @lock exit = me & !me
An impossible lock, nothing can be both you and not you.
> @lock message = me | *recipient
Both you and the player recipient may get the message.
& @LOCK EVALUATION
@LOCK EVALUATION
EVALUATION LOCKS:
Key: <attribute>/<value>
Evaluation locks let you evaluate one of your attributes and compare the
result against a value stored in the lock. The result must be an exact
match (no wildcard-ing allowed, but upper-case and lower-case are considered
to be the same). When evaluating the attribute the enactor substitutions
(%#/%n/etc) are replaced with information about the player trying to pass
the lock, and 'me' and %! refer to the locked object or exit.
If you call an indirect lock and the indirect lock is an evaluation lock
(or is a compound lock that includes an evaluation lock), then the original
lock object is checked for the attribute first, followed by the object that
has the actual evaluation lock. If there are multiple levels of indirection
the intermediate locks are not checked.
{ 'help @lock evaluation2' for more }
& @LOCK EVALUATION2
@LOCK EVALUATION (continued)
Examples:
> @lock bank=checkmoney/1
> &checkmoney bank=[gt(money(%#),5000)]
Only people and objects with more than 5000 pennies may pass.
Note: this lock requires wizard privileges to read the worth of other
players.
> @lock divisible_by_five_club = checkdiv/0
> &checkdiv divisible_by_five_club = [mod(mid(%#,2,20),5)]
Only objects whose db-number is divisible by 5 may pass.
Related Topics: @lock attribute.
& @LOCK INDIRECT
@LOCK INDIRECT
INDIRECT LOCKS:
Key: @<object>
You may reference the lock on another object and use the result of
evaluating that other object's lock. You pass an indirect lock if you
pass the default lock on <object>. This is especially useful if you
have a large number of objects or exits that want to have the same lock,
and you want to be able to update one object and have all the other
locks change at the same time.
<object> is searched for when you enter the @lock command and its
database number is stored in the lock, so something like
'@Lock north=@master.lock' is safe even if you are going to move master.lock
to another location.
Examples:
> @lock master.lock = me
> @lock north = @master.lock
> @lock south = @master.lock
North and south all reference the lock on master.lock, so you may change
the lock on all three exits by changing master.lock.
Related Topics: @lock normal.
& @LOCK IS
@LOCK IS
IS LOCKS:
Key: =<object>
You pass an is lock only if you are the named object.
Example:
> @lock mystical highway = =magic bus
Only the magic bus may travel down the mystical highway. You cannot
travel the highway if you are carrying the bus.
Related Topics: @lock carry, @lock normal.
& @LOCK KEYS
@LOCK KEYS
You may use the following keys when setting locks. For information about
a particular type of key, type 'help @lock <keytype>'.
Key Type Form in @Lock Command
---------- ------------------------------
Normal <object>
Is =<object>
Carry +<object>
Ownership $<object>
Indirect @<object>
Attribute <attribute>:<wildcard-pattern>
+<attribute>:<wildcard-pattern>
=<attribute>:<wildcard-pattern>
Evaluation <attribute>/<value>
Compound <key> & <key>
<key> | <key>
!<key>
( <key> )
& @LOCK LOCKS
@LOCK LOCKS
You can set the following locks:
DefaultLock: Exits: controls who may traverse the exit to
its destination.
Rooms: controls whether the player sees the SUCC
or FAIL message for the room following the
room description when looking at the room.
Players/Things: controls who may GET the object.
EnterLock: Players/Things: controls who may ENTER the object if the
object is ENTER_OK. Also, the enter lock
of an object being used as a Zone Master
Object determines control of that zone.
GetFromLock: All but Exits: controls who may gets things from a given
location.
GiveLock: Players/Things: controls who may give the object.
LeaveLock: Players/Things: controls who may LEAVE the object.
LinkLock: All but Exits: controls who may link to the location if the
location is LINK_OK (for linking exits or
setting drop-tos) or ABODE (for setting
homes)
MailLock: Players: controls who may @mail the player.
OpenLock: All but Exits: controls who may open an exit.
PageLock: Players: controls who may page the player.
ParentLock: All: controls who may make @parent links to the
object.
ReceiveLock: Players/Things: controls who may give things to the object.
{ 'help @lock locks2' for more }
& @LOCK LOCKS2
@LOCK LOCKS (continued)
SpeechLock: All but Exits: controls who may speak in that location
(only checked if AUDITORIUM flag is set
on that location)
TeloutLock: All but Exits: controls who may teleport out of the
location.
TportLock: Rooms/Things: controls who may teleport there if the
location is JUMP_OK.
UseLock: All but Exits: controls who may USE the object, GIVE the
object money and have the PAY attributes
run, have their messages heard and possibly
acted on by LISTEN and AxHEAR, and invoke
$-commands stored on the object.
DropLock: All but rooms: controls who may drop that object.
UserLock: All: Not used by MUX, is intended to be used
in MUX programming where a user-defined
lock is needed.
VisibleLock: All: Controls object visibility when the object
is not dark and the looker passes the lock.
In DARK locations, the object must also be
set LIGHT and the viewer must pass the
VisibleLock.
Note: If a player fails the UseLock on a parent of an object being searched
for $-commands, then the search for attributes stops and the parent chain is
not searched further for matches.
& @LOCK NORMAL
@LOCK NORMAL
NORMAL LOCKS:
Key: <object>
You pass a normal lock if you either are the named object or if you carry
the named object. <object> may be the name or #number of a thing, a
playername prefixed by an asterisk (*<playername>), 'me', or 'here'.
Examples:
> @lock treasure room = secret key
> @lock private area = me
Related Topics: @lock is, @lock carry.
& @LOCK OWNERSHIP
@LOCK OWNERSHIP
OWNERSHIP LOCKS:
Key: $<object>
You pass an ownership lock if you have the same owner as <object>.
Examples:
> @lock mystuff=$me
Only objects you own may use the mystuff exit.
> @lock/page me = !$*TinyJerk
Neither TinyJerk nor any of his objects may page you.
Related Topics: @lock normal.
& @MAIL
@MAIL
@mail[/<switches>] <player-list> = <subject>
@mail[/<switches>] [<msg-list> [= <target>]]
@mail invokes the built-in MUX mailer, which allows players to send
and receive mail. Pronoun/function substitution is performed on
any messages you may try to send.
A <player-list> is a space-separated list of recipients, which may be:
Player names (names with spaces in them should be put in double
quotes, ex: "Foo Bar")
Player dbref #'s
Message numbers to be replied to.
A mix of the above, and mail aliases (see @malias)
A <msg-list> is one of the following:
A single msg # (ex: 3)
A message range (ex: 2-5, -7, 3-)
A sender (ex: *Hunger)
An age of mail in days (ex: ~3 (exactly 3), <2, >1)
"days" here means 24-hour periods from the current time.
One of the following: "read", "unread", "cleared", "tagged", "urgent"
For certain commands, "all".
Related Topics:
mail-sending mail-reading mail-folders mail-other
mail-admin @malias mail-reviewing mail-examples
@folder
& @MAILSUCC
@MAILSUCC
COMMAND: @mailsucc <player> = <message>
ATTRIBUTE: Mailsucc
Sets a message to be displayed to the sender whenever <player> receives
mail.
Example:
@mailsucc me=Thanks for the mail.
Related Topics: @amail, @signature, @mail.
& @MALIAS
@MALIAS
COMMAND: @malias
This allows you to generate and maintain mailing lists with the mail
system. All mail aliases start with '*', and are case-sensitive. (*dir is
different than *Dir). There are two kinds of mail aliases, Personal
and Global. Global mailing lists are owned and maintained by the god (#1)
char and are available for anyone to use. Generally there will be
*Wizards, *Admin, *Roleplay, and things of that nature. Personal mailing
aliases are mailing lists that you have defined with the @malias command.
Currently there is no limit to the number of people you can have on a
mailing alias.
To begin sending mail to a mailing list, use @mail *<alias>=subject.
Usage:
@malias Displays a list of all mail aliases.
@malias *<alias> Displays a list of people on that alias.
@malias *<alias>=<list> Creates that mailing list, using <list>.
{ 'help @malias2' for more }
& @MALIAS2
@MALIAS (continued)
You can add, remove, rename, chown, redescribe, and delete mailing lists
with a switch.
@malias/remove *<alias>=<player> Removes <player> from *<alias>.
@malias/desc *<alias>=<description> Changes the description for *<alias>.
@malias/add *<alias>=<player> Adds <player> to *<alias>.
@malias/rename *<alias>=<name> Renames that alias. Names must always
begin with '*'.
@malias/delete *<alias> Deletes <alias>.
@malias/chown *<alias>=<player> Changes the owner of <alias> to
<player>.
Wizards can use all of the malias commands on any mail alias. Instead of
trying to figure out different mailing lists with the same name, wizards
may use #<MALIAS NUMBER> instead of *alias in regards to the command.
Remember that the alias commands will only recognize aliases owned by #1,
owned by you, or by number.
@malias/list When invoked by a wizard, it will
list all mailing aliases currently
defined by their number.
& @MFAIL
@MFAIL
COMMAND: @mfail <object> = <message>
ATTRIBUTE: Mfail
This attribute is sent as a message to anyone who tries to @mail you but you
have prevented them via your @mail lock (@lock/mail).
Example: @mfail me = I _told_ you not to @mail me anymore...
Related Topics: @lock, @mail, @reject.
& @MONIKER
@MONIKER
Command: @moniker <object> = <string>
Attribute: Moniker
The @moniker command allows you to set accented, multi-color names for
an item. This affects contents, inventories, the normal 'look', and
many other cases.
The name in @moniker MUST match the name returned by name() minus ANSI
codes and accent marks or the moniker is ignored in favor of name().
Examples:
> @name object=99 Red Balloons
Name set.
> @moniker object=99 [ansi(hr,Red)] Baboons
String entered must match name of target, '99 Red Balloons'.
> @moniker object=99 [ansi(hr,Red)] Balloons
Ansi string entered for 99 Red Balloons of '99 Red Balloons'.
Related Topics: accent(), ansi(), chr(), moniker(), @name, ASCII, ord(),
stripaccents(), and stripansi().
& @MOVE
@MOVE
COMMAND: @move <object> = <message>
ATTRIBUTE: Move
Sets the <message> that an object sees after it moves from one location to
another, whether by using an exit, entering or leaving an object,
teleporting, or going home.
This attribute is meaningful for players, and things and will never be
automatically triggered on other object types.
Example: @move bopper = OK. You're there now.
Related Topics: @amove, @omove.
& @MVATTR
@MVATTR
COMMAND: @mvattr <object>=<old>,<new>[,<copy1>]...
This command moves attributes around on an object. The attribute <old> is
renamed <new> (and is copied to <copy1>, <copy2> and so on if specified).
If you cannot modify the <old> attribute (for instance if you are trying to
move the Last attribute, or if it were owned by another player), then a new
copy is made and the original is not removed.
Related Topics: @set.
& @NAME
@NAME
COMMAND: @name <object> = <new name>
Changes the name of <object>. <object> can be a thing, player, exit, or
room, specified as <name> or #<dbref> or 'me' or 'here'.
See '@list options' as to whether or not a player name may contain
spaces.
Related Topics: setname().
& @NAMEFORMAT
@NAMEFORMAT
COMMAND: @nameformat <object> [=<format>]
By default, when an object is looked at, the object's name is shown. And,
if you can link to the object, its flag letters and dbref are also shown.
With @nameformat, you can control exactly what is shown to people who
use 'look' while inside. @nameformat is not used when people outside the
object look at it.
Related Topics: @conformat, @descformat, @exitformat
& @NEMIT
@NEMIT
COMMAND: @nemit[/<switches>] <message>
Sends <message> to everyone in your current location without prefixing it by
your character name and without evaluating it. You can also send the
message to everyone in the room that contains the object you are inside with
the /room switch.
The following switches are available:
/here - Sends the message to everyone in the same location as you.
/html - Sends the message to HTML-flags players.
/room - Sends the message to everyone in the room that contains the
object you are in. Starting from your location, this switch
'leaves' objects until it reaches a room, and @emits the message
there.
If both switches are specified, the message is sent to both places. If
neither is specified, /here is assumed.
Some MUXes may restrict the use of this command.
Related Topics: @emit, @femit, @oemit, @pemit, @npemit, @remit, SPOOFING.
& @NOTIFY
@NOTIFY
COMMAND: @notify[/<switches>] <object>[/<attribute>][=<count>]
Notifies the semaphore <object>, running the first command that waited on
<object> using the '@wait <object>=<command>' or '
@wait <object>/<time>=<command>' forms of the @wait command. If <count> is
specified, it indicates the number of times the semaphore is notified.
If there are no commands (or less than <count> commands) pending for
<object>, then subsequent @waits will not block until the semaphore count
reaches zero again. @notify may also take an argument of the form
<object>/<attribute>, which notifies commands that are being blocked on
an attribute other than the default 'Semaphore'. This allows blocking of
multiple sets of commands on a single object, using different attributes.
The following switches are available:
/first - (default) Notify the first command waiting on the indicated
semaphore (or the first <count> commands).
/all - Notify all commands waiting on the semaphore and reset the
semaphore count to zero. <count> is ignored.
/quiet - Suppress the 'Notified.' message associated with the command.
Related Topics: @drain, @ps, @wait, SEMAPHORES
& @NPEMIT
@NPEMIT
COMMAND: @npemit[/switches] <what>=<message>
Almost exactly like @pemit and it takes the same switches. However,
it does not evaluate <message> at all. So, @npemit differs from
@npemit/noeval in that no space compression is done.
Related Topics: @pemit
& @ODESCRIBE
@ODESCRIBE
COMMAND: @odescribe <object> = <message>
ATTRIBUTE: Odesc
Sets the message (prefixed by the player's name) that is shown to others in
the room when someone looks at <object>.
Example: @odesc vase = carefully inspects the vase.
Related Topics: look, @adescribe, @describe, @idesc.
& @ODFAIL
@ODFAIL
COMMAND: @odfail <object> = <message>
ATTRIBUTE: Odfail
Sets the message (prefixed by the player's name) that is shown to others in
the same room when someone tries to drop <object> but fails because they
didn't pass the object's drop lock.
Function references and %-substitutions are allowed in drop failure
messages, and are evaluated when someone drops the object. In function
references, 'me' refers to the object being dropped, while %-substitutions
that refer to the enactor (such as %n, %#, %p, etc) refer to the dropper.
Example: @odfail sword = tries to put down the sword but it leaps back
into %p hand.
Related Topics: drop, @adfail, @dfail, @lock.
& @ODROP
@ODROP
COMMAND: @odrop <object> = <message>
ATTRIBUTE: Odrop
Sets the message (prefixed by the player's name) that is shown to others in
the room when someone drops <object>, or to others in the room that the
player arrives in after taking an exit.
Example: <object> @odrop loadstone = puts down the loadstone and then
wipes sweat from %p brow.
<exit> @odrop elevator = enters the elevator from the lobby.
Related Topics: drop, @adrop, @drop, DROP-TO, EXITS.
& @OEFAIL
@OEFAIL
COMMAND: @oefail <object> = <command-list>
ATTRIBUTE: Oefail
Sets the message (prefixed by the player's name) that is shown to others in
the same room as the player when he tries to enter the object but fails
because the object is not ENTER_OK or the player fails the
object's enter lock.
The enter lock only affects the 'enter' command and its aliases (set via
the @ealias command), it does not affect exits that lead to the object or
teleporting in.
This attribute is meaningful for players and things, and will never be
automatically triggered on rooms or exits.
Example: @oefail car = tries to open the car's door, but it is locked.
Related Topics: @aefail, @aenter, @ealias, @efail, @enter, @oenter, enter,
ENTER_OK.
& @OEMIT
@OEMIT
COMMAND: @oemit <player>=<message>
Emits <message> to everyone in the current location of <player> except
<player>.
Related Topics: @remit, @emit, @pemit, @npemit, SPOOFING.
& @OENTER
@OENTER
COMMAND: @oenter <object> = <message>
ATTRIBUTE: Oenter
Sets the message (prefixed by the player's name) that is shown to others in
the location being entered when someone enters <object>. Note that the
message is shown to those inside the object, not those outside.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @oenter wormhole = enters the wormhole from normal space.
Related Topics: enter, @aenter, @enter, @oxenter.
& @OFAIL
@OFAIL
COMMAND: @ofail <object> = <message>
ATTRIBUTE: Ofail
Sets the others failure message for <object>. This message is seen others
in the same location as the actor when one of these events occurs:
- For exits: Someone tries to traverse the exit but cannot because they
fail the exit's default lock or the exit is not linked.
- For players and things: Someone tries to pick up the object but cannot
because they fail the object's default lock.
- For rooms, players, and things: Someone looks around inside the room,
player, or thing and fails the object's default lock.
Substitution and evaluation is performed on the message before it is shown.
Examples:
> @ofail table = tries to pick up the table, but it is too heavy. <thing>
> @ofail doorway = tries the knob on the door, to no avail. <exit>
Related Topics: get, look, @afail, @fail, FAILURE.
& @OGFAIL
@OGFAIL
COMMAND: @ogfail <object> = <message>
ATTRIBUTE: Ogfail
Sets the message (prefixed by the player's name) that is shown to others in
the same room when someone tries to give away <object> but fails because
they didn't pass the object's give lock.
Function references and %-substitutions are allowed in give failure
messages, and are evaluated when someone tries to give away the object.
In function references, 'me' refers to the object being given away, while
%-substitutions that refer to the enactor (such as %n, %#, %p, etc) refer
to the (attempted) giver.
Example: @ogfail blob = tries to give away a sticky blob of goo.
Related Topics: give, @agfail, @gfail, @lock.
& @OKILL
@OKILL
COMMAND: @okill <object> = <message>
ATTRIBUTE: Okill
Sets the message (prefixed by the player's name) that is shown to others in
the room when someone kills <object>.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @okill guard = bashes in the guard's skull, killing him.
Related Topics: kill, @akill, @kill, BEING KILLED, IMMORTAL, WIZARD.
& @OLEAD
@OLEAD
COMMAND: @olead <object> = <message>
ATTRIBUTE: Olead
Sets the <message> seen by others when <object> is lead.
This attribute is only available with --enable-firanmux.
Related Topics: @lead, @alead.
& @OLEAVE
@OLEAVE
COMMAND: @oleave <object> = <message>
ATTRIBUTE: Oleave
Sets the message (prefixed by the player's name) that is shown to others in
the location being left when someone leaves <object>. Note that the
message is shown to those inside the object, not those outside.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @oleave wormhole = departs the wormhole to return to normal space.
Related Topics: leave, @aleave, @leave, @oxleave.
& @OLFAIL
@OLFAIL
COMMAND: @olfail <object> = <command-list>
ATTRIBUTE: Olfail
Sets the message (prefixed by the player's name) that is shown to others in
the same room as the player when he tries to leave it but fails because the
player fails the object's leave lock.
The leave lock only affects the 'leave' command and its aliases (set via
the @ealias command), it does not affect going home, using an exit in the
location, or teleporting out.
This attribute is meaningful for players and things, and will never be
automatically triggered on rooms or exits.
Example: @olfail plane = thinks about jumping out of the plane without a
parachute, but wisely reconsiders.
Related Topics: @aleave, @alfail, @lalias, @leave, @lfail, @oleave, leave.
& @OMOVE
@OMOVE
COMMAND: @omove <object> = <message>
ATTRIBUTE: Move
Sets the <message> that others in the same location see after the object has
moved to that location from somewhere else, whether by using an exit,
entering or leaving an object, teleporting, or going home.
This attribute is meaningful for players, and things and will never be
automatically triggered on other object types.
Example: @omove car = coasts to a stop.
Related Topics: @amove, @move.
& @OPAY
@OPAY
COMMAND: @opay <object> = <message>
ATTRIBUTE: Opay
Sets the message (prefixed by the player's name) that is shown to others in
the room when someone pays <object> enough to satisfy its Cost attribute.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @opay Coke machine = slips some change into the coin slot on the
Coke machine. You hear some rumbling from
inside the machine and a can of Coke appears
in the tray at the bottom of the machine.
Related Topics: give, @cost, @apay, @pay.
& @OPEN
@OPEN
COMMAND: @open[/<switches>] <direction list> [=<number>[,<direction list>]]
Creates an exit in the specified direction(s). If <number> is specified,
it is linked to that room. Otherwise, it is created unlinked. You or anyone
else may use the '@link' command to specify where the unlinked exit leads.
Opening an exit costs 1 coin. If you specify <number>, linking costs 1 more
coin. You can specify a second direction list (after the comma), which is
automatically opened in the room that the new exit goes TO and which is
linked back to where you are. I.e. @open north;n=#1234,south;s
would open exit 'north;n' from here to #1234, and an exit 'south;s'
from #1234 to here, assuming you have rights to open exits and link to
the rooms in question.
The following switches are available:
/location - Create the exit in your location (default).
/inventory - Create the exit on yourself.
Related Topics: @dig, @link, LINKING, OBJECT TYPES.
& @ORFAIL
@ORFAIL
COMMAND: @orfail <object> = <message>
ATTRIBUTE: Orfail
Sets the message (prefixed by the player's name) that is shown to others in
the same room when someone tries to give <object> a thing that does not
pass <object>'s receive lock.
Function references and %-substitutions are allowed in receive failure
messages, and are evaluated when someone tries to give away the object.
In function references, 'me' refers to the intended recipient of the object,
while %-substitutions that refer to the enactor (such as %n, %#, %p, etc)
refer to the (attempted) giver.
Example: @orfail merchant = tries to unload some worthless trash on Astinous.
Related Topics: give, @agfail, @arfail, @gfail, @ogfail, @rfail, @lock.
& @OSUCCESS
@OSUCCESS
COMMAND: @osuccess <object> = <message>]
ATTRIBUTE: Osucc
Sets the message (prefixed by the player's name) that is shown to others in
the room when someone picks up the named player or thing, goes through the
named exit, or looks at the room and passes the room's lock.
Setting Osuccess messages on all takeable objects and usable exits is
considered good building practice.
Examples: <object> @osucc vase = carefully picks up the vase.
<exit> @osucc doorway = opens the door and leaves the room.
The door closes behind %o with a click.
Related Topics: get, look, @asuccess, @success, SUCCESS.
& @OTFAIL
@OTFAIL
COMMAND: @otfail <object> = <message>
ATTRIBUTE: Otfail
Sets the message (prefixed by the player's name) that is shown to others in
the same room when someone tries to teleport to somewhere he does not have
permission. You do not see this message if they couldn't teleport out of
their present location.
Function references and %-substitutions are allowed in teleport failure
messages, and are evaluated when someone attempts to teleport to the
specified destination. In function references, 'me' refers to the teleport
destination, while %-substitutions that refer to the enactor (such as %n,
%#, %p, etc) refer to the player attempting the teleport.
When a player teleports another object (@tel <object>=<destination>), the
lock is checked against the player, not the object.
Example: @otfail here = thinks about teleporting to the Magic Room, but
decides against it at the last moment.
Related Topics: @teleport, @atfail, @tfail, @lock.
& @OTOFAIL
@OTOFAIL
COMMAND: @otofail <object> = <message>
ATTRIBUTE: Otofail
Sets the message (prefixed by the player's name) that is shown to others in
the same room when someone tries to teleport out of somewhere they do not
have permission.
Function references and %-substitutions are allowed in teleport failure
messages, and are evaluated when someone attempts to teleport from their
location. In function references, 'me' refers to the player's location,
while %-substitutions that refer to the enactor (such as %n,
%#, %p, etc) refer to the player attempting the teleport.
Example: @otofail here = thinks about teleporting from the Magic Room, but
decides against it at the last moment.
Related Topics: @teleport, @atofail, @tofail, @lock.
& @OTPORT
@OTPORT
COMMAND: @otport <object> = <message>
ATTRIBUTE: Otport
Sets the message (prefixed by your name) that others in the room to which
the object goes see when the object teleports there.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @otport me = appears in a flash of non-wizardly brilliance.
Related Topics: @atport, @oxtport, @tport, @teleport.
& @OUFAIL
@OUFAIL
COMMAND: @oufail <object> = <message>
ATTRIBUTE: Oufail
Sets the message that others in the same room see when someone tries to
use object but fails the object's use lock. Note that the other functions
controlled by the use lock (paying, listening, and $-commands) do not
trigger Oufail.
Example: @oufail robot = tries to activate the robot, but to no avail.
Related Topics: @aufail, @ufail, @use.
& @OUSE
@OUSE
COMMAND: @ouse <object> = <message>
ATTRIBUTE: Ouse
Sets the message (prefixed by the player's name) that is shown to others in
the room when someone uses <object>.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @ouse camera = takes a picture with the camera.
Related Topics: use, @ause, @use.
& @OXENTER
@OXENTER
COMMAND: @oxenter <object> = <message>
ATTRIBUTE: Oxenter
Sets the message (prefixed by the player's name) that is shown to others in
the location being left when someone enters <object>. Note that the
message is shown to those outside the object, not those inside.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @oxenter wormhole = climbs into the wormhole and vanishes.
Related Topics: enter, @aenter, @enter, @oenter.
& @OXLEAVE
@OXLEAVE
COMMAND: @oxleave <object> = <message>
ATTRIBUTE: Oxleave
Sets the message (prefixed by the player's name) that is shown to others in
the location being entered when someone leaves <object>. Note that the
message is shown to those outside the object, not those inside.
This attribute is meaningful for players, things, and rooms, and will never
be automatically triggered on exits.
Example: @oxleave wormhole = steps out of a hyper-spatial wormhole.
Related Topics: leave, @aleave, @leave, @oleave.
& @OXTPORT
@OXTPORT
COMMAND: @oxtport <object> = <message>
ATTRIBUTE: Oxtport
Sets the message (prefixed by your name) that others in the room from which
the object comes see when the object teleports out.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @oxtport me = disappears in a flash of non-wizardly brilliance.
Related Topics: @atport, @otport, @tport, @teleport.
& @PARENT
@PARENT
COMMAND: @parent <object> [=<parent>]
This command sets the parent of <object> to <parent> (or clears the parent
if <parent> is omitted. You must control <object> and must either own
<parent> or pass the ParentLock on a parent that is set PARENT_OK.
Related Topics PARENT OBJECTS, setparent().
& @PASSWORD
@PASSWORD
COMMAND: @password <old password> = <new password>
This command changes your password.
& @PAY
@PAY
COMMAND: @pay <object> = <message>
ATTRIBUTE: Pay
Sets the message that is shown to the player who gives <object> enough
money to satisfy its Cost attribute.
This attribute is only meaningful for things, and will never be
automatically triggered on other object types.
Example: @pay Coke machine = You slip some change into the slot.
Related Topics: give, @apay, @cost, @opay.
& @PEMIT
@PEMIT
COMMAND: @pemit[/switches] <what>=<message>
Emits <message> only to <what>, or to <what>'s contents of the /contents
switch is given. <what> must be either in the same location as you or be
something you own. Depending on how this MUX is configured, you can also
@pemit to distant players if pagelocks allow you to page them, and this
costs as much as a page. You cannot @pemit to the contents of something
you don't own.
The /list switch to this command allows you to @pemit a message to
a list: @pemit/list <object 1> [<object 2> <object N>] = <message>
There can be any number of objects in the list. This can be combined with
other switches.
The following switches are also available:
/contents - Send the message to the contents of the named object.
/html - Send the message in HTML format (Pueblo).
/noeval - Do not parse the message.
/object - Send the message to the named object.
Related Topics: page, @remit, @emit, @oemit, SPOOFING.
& @POLL
@POLL
COMMAND: @poll [<message>]
Sets a new poll message in the WHO report. The command is an
alias for @doing/header.
Related Topics: who, @doing
& @POWER
@POWER
COMMAND: @power <object>=[!]<power> [[!]<power> [...]]
This command allows the granting of special powers to objects of any type.
Related Topics: powers list
& @PREFIX
@PREFIX
COMMAND: @prefix <object> = <prefix text>
ATTRIBUTE: Prefix
This attribute, when set, will be used as a prefix for all text forwarded
by the 'audible' flag on an object or exit. The default if this attribute
is not set is 'From <object name>,' for objects, and 'From a distance,'
for exits.
Example:
> @fo test=out
> @set #378=puppet
test> test grows ears and can now hear.
> :does something silly.
Wizard does something silly.
test> From a distance, Wizard does something silly.
> @prefix out=From some strange place
Set.
> :does something even sillier.
Wizard does something even sillier.
test> From some strange place Wizard does something even sillier.
Related Topics: AUDIBLE, @filter, @forwardlist, @infilter, @inprefix.
& @PROGRAM
@PROGRAM
COMMAND: @program <player>=<obj/attr>[:<prefix>]
This command allows for small 'programs' within MUX. To understand this
command, you must first understand the fact that it completely bypasses any
commands, built-in or otherwise, and allows you to send user-input directly
into your code.
A simple example:
@va me=$start:@prog %#=me/vb:Please enter a word:
@vb me=@emit You entered %0!;@prog %#=me/vc:Please enter another word:
@vc me=@emit This time, you entered %0. You're done!
> start
Please enter a word:
> foobar (Note that @program literally gives you a '>' prompt.)
You entered foobar!
Please enter another word:
> hoopla
This time you entered hoopla. You're done!
{ 'help @program2' for more }
& @PROGRAM2
@PROGRAM (continued)
As you can see, this command takes what a user types at the prompt and
passes it as %0 into the code in <obj/attr> -- which it then triggers.
Note that when @program triggers an attribute, the enactor of that
triggered attribute is <player>, and is inserted into %#. r-registers
are preserved when @program triggers an attribute.
An optional message, <prefix>, may be specified and will be output before
the @program prompt. This is useful for telling the user what information
they need to supply.
A player caught in @program may send a command through to the normal
command processor at the @program prompt by prefixing it with the '|'
character, for example, '|WHO'.
Related Topics: @quitprogram.
& @PS
@PS
COMMAND: @ps[/<switches>] [<object>]
Lists information about the commands you have on each of the queues.
Unless the /summary switch is used, this command lists all the commands you
have on the queues, optionally along with their enactor and arguments.
Commands scheduled to be executed at a later time (by the @wait command)
also show the number of seconds until they will be executed and/or the
semaphore on which they are waiting. If <object> is specified, only
commands run by <object> are listed, otherwise all commands run by any of
your objects is listed. A summary of the number of commands listed and the
total number of commands in the queues is also displayed. This command is
useful for identifying infinite loops in programs.
The following switches are available:
/brief - (default) Display a brief summary that shows the semaphore
number, time-to-wait, object running the command, and the
command to be run.
/long - In addition to the information in the /brief report, display
the name and number of the object that caused the command
to be run (the enactor) and the arguments to the command.
/summary - Display just the queue counts.
Related Topics: @notify, @wait.
& @QUEUEMAX
@QUEQUEMAX
COMMAND: @quequemax <object> = <number>
ATTRIBUTE: QueueMax
This attribute sets an upper limit on the number, <number>, of
outstanding commands in the queue for this <object>. This attribute
is only settable by a Wizard.
In fact, the server has three overlapping constraints for developing
an upper limit per player on the number of outstanding commands in the
queue. This attribute is part of just one of these constraints. The
rules (in priority order) are:
1) @queuemax <number> described here.
2) Current size of database (only applies if executor is Wizard).
3) game-wide limit controlled by the player_queue_limit configuration option.
That is, if @quequemax is set, it overrides the next two rules. If
<object> is a Wizard, the maximum number of outstanding queue entries
is player_queue_limit or the size of the database (whichever is
larger). All other cases are covered by player_queue_limit.
Related Topics: config(), player_queue_limit in wizhelp, @wait.
& @QUERY
@QUERY
COMMAND: @query[/<method>] <dbref>/<attribute>=[<dbname>]/<query>
Performs an asynchronous query of external (possibly remote) data. When the
query completes, <attribute> on <dbref> is @triggered with the result. For
this to work, the server must be compiled with --enable-stubslave.
Methods include:
sql - Use SQL.
Related Topics: rserror(), rsnext(), rsprev(), rsrelease(), rsrec(),
rsrecnext(), rsrecprev(), rsrows(), sql().
& @QUITPROGRAM
@QUITPROGRAM
COMMAND: @quitprogram <player>
Terminates the @program for player. If <player> is not specified, then it
works upon the enactor (a player may quit a program while they are in it
by piping out @quitprogram, see 'help @program').
Related Topics: @program.
& @QUOTA
@QUOTA
COMMAND: @quota
Lists your total building quota and the amount you have remaining.
Creating objects, digging rooms, and opening exits all consume quota.
Related Topics: @create, @dig, @open.
& @REJECT
@REJECT
COMMAND: @reject <object> = <message>
ATTRIBUTE: Reject
This attribute is sent as a message to anyone who tries to page you but
you have prevented them from paging you via your page lock (@lock/page).
This attribute is only meaningful for players, and will never be
automatically referenced on other object types.
Example: @reject me = I _told_ you not to page me anymore...
Related Topics: @away, @idle, page.
& @REFERENCE
@REFERENCE
COMMAND: @reference <reference_name> = [<target>]
@reference/list [<player>]
A name reference (nref) is a mapping between a unique name and a dbref.
Two types of nref's are possible - global and personal. Global references
always start with an underscore '_' character and can be used by any object
on the game. Personal nrefs can only be used by the player who added the
reference.
A reference is defined by '@reference <name>=<object>'. If <name> begins
with an underscore, it is globally defined. Only Wizards can add global
nrefs. Furthermore, you may only define references for objects you can
examine.
Name references can be used nearly anywhere a dbref can be specified. For
example, if you have defined a personal nref called 'myobj', which maps to
#200, via '@reference myobj=#200', you can use '#_myobj' in place of the
dbref. To examine the object, you can use 'examine #_myobj' rather than
'examine #200'. Note: global references start with the underscore. A
global reference of '_OOC' can be looked up via '#__OOC'.
{ 'help @reference2' for more }
& @REFERENCE2
@REFERENCE2
There is no limit to the number of name references an object may have.
Resolving name references is less efficient than resolving a dbref. The
length of names for references is currently limited to 64 characters.
References are not persistent between restarts. Therefore, any references
that you wish to be permanently defined should be placed in a @startup.
Global references can be listed using '@reference/list'. You can list your
own references using '@reference/list me'. Furthermore, you can list the
references of any player you control by using '@reference/list <player>'.
Example:
> @create Data
Data created as object #58
> @va Data = Test
Set.
> @reference myobj = Data
Referenced.
> say [get(#_myobj/VA)]
You say, "Test"
& @REMIT
@REMIT
COMMAND: @remit <room dbref#> = <message>
Sends <message> to the contents of <room>.
Related Topics: @femit, @oemit, @pemit, @npemit, @emit, SPOOFING.
& @RFAIL
@RFAIL
COMMAND: @rfail <object> = <message>
ATTRIBUTE: Rfail
Sets the message that a player sees when he tries to give an object to
someone else, but the receiver refuses to accept the object because
the object didn't pass its receive lock.
Function references and %-substitutions are allowed in receive failure
messages, and are evaluated when someone tries to give away the object.
In function references, 'me' refers to the intended recipient of the object,
while %-substitutions that refer to the enactor (such as %n, %#, %p, etc)
refer to the (attempted) giver.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @gfail merchant = The merchant doesn't want your worthless trash.
Related Topics: give, @agfail, @arfail, @gfail, @ogfail, @orfail, @lock.
& @ROBOT
@ROBOT
COMMAND: @robot <name>=<password>
Creates a robot player owned by you. The robot has its ROBOT flag set, so
it may use the outputprefix and outputsuffix commands that some publicly
available robot programs require. This command costs 1000 coins.
Note that some sites do not restrict outputprefix and outputsuffix to
robots.
Related Topics: outputprefix, outputsuffix, ROBOT, OBJECT TYPES.
& @RUNOUT
@RUNOUT
COMMAND: @runout <object> = <command list>
ATTRIBUTE: Runout
Sets the actions to be taken by <object> when another of its attributes is
triggered (either automatically or via the @trigger command) and its
Charges attribute is zero. When this occurs, the Runout attribute is run
INSTEAD OF the attribute that would have run normally.
Example: @runout magic wand = :fizzles and turns to dust.; @destroy me
Related Topics: @charges.
& @SAYSTRING
@SAYSTRING
Command: @saystring <object> = <string>
Sets the substitute string that is used instead of the default 'says,'
when you talk in a location or on the comsys. The message is passed
as %0 and the command (say, @fsay, or channel) as %1.
Example:
> @saystring me=barks
> "Hello.
Player barks "Hello."
> @saystring me=case(right(%0,1),!,exclaims\,,?,asks\,,says\,)
> "Hello!
Player exclaims, "Hello!"
Related Topics: say, ", @speechmod.
& @SEARCH
@SEARCH
COMMAND: @search [<player>] [<class>=<restriction>[,<low>[,<high>]]]
Displays information about objects that meet the search criteria.
Because this command is computationally expensive, it costs 100 coins.
<player> restricts the search to the named player, while <class>
and <restriction> control the objects listed. Type 'help search classes'
for a list of the classes you may use.
Except when getting lists of players ('@search type=player' or
'@search flags=P'), you may only search for objects that you own.
You may limit the range of the search with <low> and <high>, which specify
the objects to start and stop the search at, respectively. The default for
<low> is #0 and the default for <high> is the last object in the database.
Examples:
@search flags=PWc <-- search for connected wizards.
@search type=room <-- list all rooms owned by me.
@search eval=gt(money(##),10) <-- search for things worth more than 10.
@search type=room,100,300 <-- Rooms between #100 and #300, inclusive
@search object=Test,5000 <-- Things starting with Test from object
#5000 to the end of the database.
Related Topics: @find, search().
& @SET
@SET
COMMAND: @set[/<switch>] <object>=[!]<flag1> [[!][<flag2> [...]]
@set[/<switch>] <object>=<attribute>:<value>
@set[/<switch>] <object>=<attribute>:_<fromobj>/<fromattr>
@set[/<switch>] <object>/<attr>=[!]<attrflag>
The first form sets (or clears) the indicated flag or flags on <object>,
the second form sets the <attribute> attribute on <object> to <value>,
creating a new user-named attribute if there is no attribute named
<attribute>. The third form copies an attribute from another object, and
the fourth form sets (or clears) an attribute flag on the <attr> attribute
of <object>.
When setting attributes on an object, you may also use the command
'@<attribute> <object> = <value>' if the attribute is a predefined
attribute. You may also use the command '&<attribute> <object> = <value>'
to set either predefined attributes or user-named attributes. Either of
these is equivalent to the second form of the @set command.
{ 'help @set2' for more }
& @SET2
@SET (continued)
The following flags may be set using the fourth form of the @set command:
case - $-command matching will not be case-sensitive.
Non-functional unless the 'R' flag is also set.
hidden - The attribute is only visible to wizards.
html - Emits from attr, oattr, aattr are not HTML-escaped.
no_command - Prevent $-commands and ^-patterns defined in the attribute
from being performed.
no_inherit - Prevents children of the object from obtaining the
attribute. From their perspective, the attribute does not
exist.
no_name - If set on an @o-attr, don't prepend the name of the
enactor. This also affects @verb behavior.
regexp - When $-commands are matched, treat the pattern as a
regular expression rather than a wildcard glob pattern.
trace - The attribute will generate trace output.
visual - Anyone may see the attribute when they examine you, and
may get the attribute with get().
wizard - The attribute may only be changed by wizards.
The @set command takes the following switch:
quiet - Inhibit 'Set.' acknowledgement messages.
Related Topics: ATTRIBUTE FLAGS, @lock, @lock, examine, FLAGS, &.
& @SEX
@SEX
COMMAND: @sex <object> = <gender>
ATTRIBUTE: Sex
Sets the gender for <object>, which is used to determine which pronouns to
use when replacing %p, %o, %s, and %a parameters in messages that apply to
<object>. Genders that start with M or m are considered male, those
starting with F, f, W, or w are considered female, those starting with
P or p are considered plural, and anything else is considered neuter.
Example: @sex me = female
@sex me = No thank you (Silly, but possible. Treated as neuter)
Related Topics: GENDER.
& @SIGNATURE
@SIGNATURE
COMMAND: @signature <player> = <message>
ATTRIBUTE: Signature
Sets a message to be appended to every @mail message you send. It is
appended directly at the end of the message, so if you wish to start the
signature on a new line you should begin it with a %r.
Example: @signature me=%rThis is a mail signature. (Note: You might want
to include the %r at the front of the signature, other wise it will be
combined with the @mail message.)
Related Topics: @mailsucc, @amail, @mail.
& @SPEECHMOD
@SPEECHMOD
Command: @speechmod <object> = <string>
Attribute: SpeechMod
Sets a filter to be applied to all of <object>'s speech. <string> is
evaluated with the original speech as %0 and the command as %1. It is
then displayed in place of the original speech. You can use this to
colorize each word of what you say, say things backwards, etc.
@speechmod affects: " \\ ; : page pose say whisper @fpose
@fsay @wall on-channel speech
%1 may be one of: channel channel/pose page pose say whisper
@emit (for \\) @fpose @fpemit @fsay @wall
Example:
> @speechmod me=ucstr(%0)
> "Hello.
Player says "HELLO."
Related Topics: say, ", @saystring.
& @STARTUP
@STARTUP
COMMAND: @startup <object> = <command list>
ATTRIBUTE: Startup
Sets a list of commands to be performed by <object> when the game is
started up. Typical actions include going home, cleaning visitors out of
a room, resetting a puzzle or complex object to its initial state, or
starting up an object that wants to run continuously.
Example: @startup me = @vz me=MUX was last restarted at [time()].
@startup me = home
& @STATS
@STATS
COMMAND: @stats[/all] [<player>]
Display the number of objects in the game. @stats/all gives a
breakdown by object types. If <player> is specified, the breakdown
for the named player is given. You may only list individual counts
for yourself. If invoked with no arguments or switches this command is
free, but if you specify either /all or <player>, then this command costs
100 coins to run, because it is computationally expensive.
Related Topics: garbage, stats().
& @SUCCESS
@SUCCESS
COMMAND: @success <object> = <message>
ATTRIBUTE: Succ
Sets the message that is shown to the player who successfully picks up the
named player or thing, goes through the named exit, or looks at the room
and passes the room's lock.
Example: <object> @succ vase = You carefully pick up the delicate vase.
<exit> @succ doorway = You open the door and walk through the
doorway.
Related Topics: get, look, @asuccess, @osuccess, SUCCESS.
& @SWEEP
@SWEEP
COMMAND: @sweep[/<switches>]
This command tells you all of the objects, players, and exits that are
listening in the room you are currently in, as well as the objects you are
carrying. Most objects only listen for a particular string or phrase, so
they normally do not pose a problem if you need privacy. You will have to
be careful of players, puppets, and audible exits since they will hear
everything you say and do. There are several switches that may be used to
limit the type of listeners that are checked for. They are:
/here - Check the room I am in.
/inventory - Check my inventory.
/exits - Check exits in the room.
/commands - Check for objects that have $-commands set on them.
/connected - Check for connected players and their puppets.
/listeners - Check for objects with @listen set to something.
/players - Check for players and their puppets, whether or not they
are connected.
The default is to search for everything. If you specify one or more
switches from either category (either location or listener type then only
that location or listener type is checked.
Related Topics: @listen, AUDIBLE, PUPPETS.
& @SWITCH
@SWITCH
COMMAND: @switch[/<switches>] <string>=<t1>,<c1> [,<tN>,<cN>]... [,<cD>]
Compares <string> against the targets <t1>, <t2>, etc, until a match is
found, at which time the corresponding list of commands is performed.
#$ is substituted with the value of <string>. In this way, the commands in
<c1>..<cN>..<cD> have a short-hand way of getting at the matched value.
Wildcards match strings, and the < and > operators allowing matching by
numeric value. By default, any list whose target matches the string is
executed (the targets are not mutually exclusive). If no target matches,
the default list <cD> is executed.
The following switches are available:
/all - (default) Perform the action lists associated with all targets
that match <string>.
/first - Perform only the action list associated with the first target
that matches <string>.
/notify - Queues an '@notify' after all commands in the list.
Related Topics: switch(), ifelse().
& @TELEPORT
@TELEPORT
COMMAND: @teleport [<object>=] <room/thing>
@teleport [<object>=] <exit>
@teleport [<object>=] home
The first form of the @teleport command moves <object> (or you) to the named
room or thing. The second form sends <object> (or you) to the destination
of the named exit, while the third form sends <object> (or you) home.
If the destination room has a drop-to, the object will go to the drop-to
instead of the named location.
For the first form of the @teleport command, the object being teleported
must pass its location's TeloutLock; and you must control the destination,
or it must be JUMP_OK and you must pass the destination's TportLock.
The second and third forms let you remove any object from locations you
control by sending them through an exit or to their home.
The following switches are available:
/quiet - Teleports without setting off success or failure messages.
/list - Interpret <object> as a space-delimited list of objects.
Related Topics: JUMP_OK, @lock (TportLock and TeloutLock), @tfail, @otfail,
@atfail, @tofail, @otofail, @atofail.
& @TFAIL
@TFAIL
COMMAND: @tfail <object> = <message>
ATTRIBUTE: Tfail
Sets the message that a player sees when he tries to teleport to somewhere
he does not have permission. You do not see this message if you couldn't
teleport out of your present location.
Function references and %-substitutions are allowed in teleport failure
messages, and are evaluated when someone attempts to teleport to the
specified destination. In function references, 'me' refers to the teleport
destination, while %-substitutions that refer to the enactor (such as %n,
%#, %p, etc) refer to the player attempting the teleport.
When a player teleports another object (@tel <object>=<destination>), the
lock is checked against the player, not the object.
Example: @tfail here = A psychic barrier prevents you from teleporting there.
Related Topics: @teleport, @atfail, @otfail, @lock.
& @TOFAIL
@TOFAIL
COMMAND: @tofail <object> = <message>
ATTRIBUTE: Tofail
Sets the message that a player sees when he tries to teleport from somewhere
he does not have permission.
Function references and %-substitutions are allowed in teleport failure
messages, and are evaluated when someone attempts to teleport out of their
location. In function references, 'me' refers to the player's current
location, while %-substitutions that refer to the enactor (such as %n,
%#, %p, etc) refer to the player attempting the teleport.
Example: @tofail here = A psychic barrier prevents you from teleporting
out.
Related Topics: @teleport, @atofail, @otofail, @lock.
& @TPORT
@TPORT
COMMAND: @tport <object> = <message>
ATTRIBUTE: Tport
Sets the message that an object sees whenever it teleports.
The message is displayed after the object moves to its new location.
This attribute is only meaningful for players and things, and will never be
automatically triggered on other object types.
Example: @tport me = Hey! I teleported. Wow!
Related Topics: @atport, @otport, @oxtport, @teleport.
& @TRIGGER
@TRIGGER
COMMAND: @trigger[/<switch>] <object>/<attr> [=<param> [, <param>]... ]
Invokes an action list stored in an attribute on an object. The triggering
object becomes the enactor and the positional parameters %0 through %9
are set to the supplied parameters.
The @trigger command supports the following switch:
/quiet - Inhibits 'Triggered.' acknowledgement messages.
/notify - Queues a '@notify' after all commands in the list.
Related Topics: LOOPING.
& @UFAIL
@UFAIL
COMMAND: @ufail <object> = <message>
ATTRIBUTE: Ufail
Sets the message that someone sees when they try to use object but fail
the object's use lock. Note that the other functions controlled by the use
lock (paying, listening, and $-commands) do not trigger ufail.
Example: @ufail robot = The robot pointedly ignores you.
Related Topics: @aufail, @oufail, @use.
& @UNLINK
@UNLINK
COMMAND: @unlink <room/exit>
This command removes drop-tos on rooms and clears the destination on exits.
Once unlinked, an exit may be taken over by anyone with the @link command.
Related Topics: @link, LINKING, OBJECT TYPES.
& @UNLOCK
@UNLOCK
COMMAND: @unlock[/<whichlock>] <object>
@unlock <object>/<attrib>
The first form removes the lock on <object>, so that anyone may pass
through (if an exit) or pick it up (if a player or an object).
The second form clears the locked flag on the indicated attribute of the
named object. This allows the attribute to change ownership to the new
owner automatically when the object is @chowned, and allows the owner
of the object to @chown the attribute to them self or to overwrite it.
You must own the attribute to be unlocked, but you do not need to own the
object.
Related Topics: @chown, @lock, @lock keys, @lock locks,
ATTRIBUTE OWNERSHIP.
& @USE
@USE
COMMAND: @use <object> = <message>
ATTRIBUTE: Use
Sets the message that is shown to the player who uses <object>.
This attribute is only meaningful for players and things, and will never
be automatically triggered on other object types.
Example: @use camera = You take a picture with the camera. Click.
Related Topics: use, @ause, @ouse.
& @VERB
@VERB
COMMAND: @verb <victim>=<actor>,<what>,<def>,<owhat>,<odef>,<awhat>,<args>
This command provides a way to do user-defined verbs with associated
@attr/@oattr/@aattr groups. Invoking it does the following:
<actor> sees the contents of <victim>'s <what> attribute, or
the <def> string if you can't read <victim>'s <what> attribute.
Everyone in the same room as <actor> sees the contents of
<victim>'s <owhat> attribute, with <actor>'s name prepended,
or <odef>, also with <actor>'s name prepended, if you can't read
<victim>'s <owhat> attribute.
If you control <victim>, then he executes the contents of his <awhat>
attribute.
By supplying up to nine <args>, you may pass those values on
the stack (i.e. %0, %1, %2, etc. up through %9).
You must control the actor, but need not control the victim. Note that
if you don't have the ability to read the appropriate attributes (whether
because you control the victim, he is VISUAL, or the attributes are set
VISUAL), the default messages will be used.
{ 'help @verb2' for more }
& @VERB2
@VERB (continued)
Here is a description of the arguments to @verb:
victim - The object that is searched for attributes, and which runs the
<awhat> attribute if it is found.
actor - The object that 'did' the verb, this is the value for %#/%n/etc
in substitutions, and this object's name is included in the
message to others in the same location.
what - The name of the attribute containing the message to be delivered
to the actor.
whatd - The message to deliver to the actor if the victim does not have a
<what> attribute, or if it cannot be read.
owhat - The name of the attribute containing the message that is sent to
everyone in the room with the actor. The message is prefixed
by the actor's name unless no_name flag is present on the
attribute.
owhatd - The message to deliver to others in the room with the actor if
the victim does not have an <owhat> attribute, or it cannot be
read. The message is prefixed by the actor's name unless
/no_name switch is specified.
awhat - The name of the attribute that is to be executed by the victim.
args - The comma-separated arguments to be passed for substitution
(%0-%9). If there is more than one argument, enclose all the
arguments within curly braces. Any argument that contains an
embedded comma needs to be enclosed in curly braces as well.
{ 'help @verb3' for more }
& @VERB3
@VERB (continued)
Examples:
> &xtest test1=You just xtested test1.
> &oxtest test1=just xtested test1.
> &axtest test1="I was xtested. Yikes. Arg1=%0, Arg2=%1, Arg3=%2.
> @verb test1=me,xtest,XTEST DFLT,oxtest,OXTEST DFLT,axtest,{a,b c,de}
You just xtested test1.
test1 says "I was xtested. Yikes. Arg1=a, Arg2=b c, Arg3=de."
> &xtest test1
> @verb test1=me,xtest,XTEST DFLT,oxtest,OXTEST DFLT,axtest,{a,b c,de}
XTEST DFLT
test1 says "I was xtested. Yikes. Arg1=a, Arg2=b c, Arg3=de."
> @fo test1={@verb test1=me,xtest,XTEST D,oxtest,OXTEST D,axtest,{a,b,de}}
test1 just xtested test1.
test1 says "I was xtested. Yikes. Arg1=a, Arg2=b, Arg3=de."
Related Topics: locate().
& @VRML_URL
@VRML_URL
Command: @vrml_url <location> = <url>
Attribute: VRML_URL
Sets the URL of a VRML page to be shown to Pueblo users when they connect
in location.
See also: PUEBLO, HTML, @htdesc
& @WAIT
@WAIT
COMMAND: @wait[/until] <seconds>=<command>
@wait[/until] <object>[/<seconds>]=<command>
@wait <object>/<attribute>=<command>
Generally, @wait defers the execution of <command> until some future
condition or combination of conditions.
The first form of @wait executes <command> at some future time.
The second form executes <command> when the object's semaphore is
notified. If <seconds> is specified in this second form, <command> is
executed at some future time even if the object's semaphore isn't
notified. This is sometimes referred to as a 'timeout'.
The third form allows the use of an attribute other than 'semaphore'. It
allows multiple sets of semaphore-blocked commands to use the same object.
This command charges a deposit of 10 coins which is refunded when
<command> is executed or otherwise leaves the queue.
By default, <seconds> is relative to the time @wait is processed, however
if /until used, <seconds> is taken as absolute (See secs, convtime and
convsecs). <seconds> can also express fractional seconds.
Examples:
> @wait 2.001=think FooBar
FooBar
> think secs()
1004732313
> @wait/until 1004732400.5=think FooBar
FooBar
> @dolist [setq(0,iadd(secs(),2))]75 0 25=@wait/until %q0.##=think ##
0
25
75
Related Topics: @drain, @notify, @ps, SEMAPHORES, secs, convtime, convsecs.
& @WIPE
@WIPE
COMMAND: @wipe <object>[/<wild-attr>]
This command erases attributes from an object. All attributes that match
<wild-attr> (or all attributes, if <wild-attr> is not specified) are removed
from <object>. Attributes that you do not have permission to modify (such
as read-only or locked attributes) are not removed.
& ABODE
ABODE
FLAG: ABODE(A) ()
If a room is set ABODE, players can set their homes there,
and can set the homes of objects there. It does not mean that a
player can open an exit to that room, only that they can set their
home there.
Related Topics:
& ABS()
ABS()
FUNCTION: abs(<number>)
Returns the absolute value of its argument.
The number may be a floating point number, in which case a
floating point result is returned.
Examples:
> say abs(4)
You say, "4"
> say abs(-4)
You say, "4"
> say abs(0)
You say, "0"
Related Topics: iabs(), isign(), sign().
& ACCENT()
ACCENT()
FUNCTION: accent(<string>, <template>)
The accent() function will return <string>, with characters in it
possibly changed to accented ones according to <template>. Both
arguments must be the same number of characters.
Whether or not the resulting string is actually displayed correctly
is client-dependent.
("help accent2" for more)
& ACCENT2
ACCENT() (continued)
For each character in <string>, the corresponding character of
<template> is checked according to the table below, and a replacement
done. If either the current <string> or <template> characters aren't
in the table, the <string> character is passed through unchanged.
Accent Template String
Name Description Character Character
-----------------------------------------------------------------
double acute Two foward slants " O,U,o,u
acute Forward slant ' A,C,E,I,L,N,O,R,S,T,U,Y,Z,a,c,
above letter e,i,l,n,o,r,s,u,y,z
cedilla Small tail below , A,C,E,G,I,K,L,N,R,S,T,U,a,c,e,
letter g,i,k,l,n,r,s,t,u
macron dash above letter - A,D,E,I,O,U,a,e,i,o,u
dot dot above letter . C,E,G,I,Z,c,e,g,i,z
stroke diagonal or / D,H,L,O,d,h,l,o
horizonal through
letter
umlaut Two dots above : A,E,I,O,U,Ya,e,i,o,u,y
diaeresis letter
circumflex carat above ^ A,C,E,G,H,I,J,O,S,U,W,Y,a,c,e,
letter g,h,i,j,o,s,u,w,y
grave Backward slant ` A,E,I,O,U,a,e,i,o,u
above letter
ring Small circle above o A,U,a,u
letter
breve rounded half-circle u A,E,G,I,O,U,a,e,g,i,o,u
above letter
caron inverted circumflex v C,D,E,L,N,R,S,T,Z,c,e,l,n,r,t,z
tilde Wavy line above ~ A,I,N,O,U,a,i,n,o,u
letter
("help accent3" for more)
& ACCENT3
ACCENT() (continued)
These are non-accent special characters, mostly punctuation and
non-roman letters.
Template String
Description Character Character
--------------------------------------------------------------
Upside-down ? u ?
Upside-down ! u !
<< quote mark " <
>> quote mark " >
German sharp s B s
Capital thorn | P
Lower-case thorn | p
Capital eth - D
Lower-case eth & o
Eng or engma G N
Eng or engma g n
Kra q K
These are ligatures.
Template String
Description Character Character
--------------------------------------------------------------
Ligature AE E A
Ligature IJ J I
Ligature OE E O
Ligature ae e a
Ligature ij j i
Ligature oe e o
("help accent4" for more)
& ACCENT4
ACCENT() (continued)
Examples:
> think accent(Aule, ===:)
Aul(e-with-diaeresis)
> think accent(The Nina was a ship, The Ni~a was a ship)
The Ni(n-with-~)a was a ship
> think accent(Khazad ai-menu!, Khaz^d ai-m^n=!)
Khaz(a-with-^)d ai-m(e-with-^)nu!
Related Topics: ASCII, chr(), ord(), stripaccents().
& ACOS()
ACOS()
FUNCTION: acos(<number>[, <units>])
Returns the arc-cosine of <number>. The value returned will be expressed in
<units>. <units> may be 'radians', 'degrees', or 'gradians' or just the
first letter of any of these. By default, <units> is 'radians'.
In a circle, there are 2*pi() radians, 360 degrees, and 400 gradians.
Examples:
> say acos(0)
You say, "1.570796"
> say acos(1)
You say, "0"
> say acos(0.707101)
You say, "0.785406"
> say acos(0.866025)
You say, "0.5236"
Related Topics: asin(), atan(), cos(), pi(), sin(), tan().
& ADD()
ADD()
FUNCTION: add(<number1>[,<numberN>]...)
Returns the result of adding its arguments together. You may add up
to 100 numbers in one add() call. <numberN> may be a floating point
number, and a floating-point result is returned.
Example:
> say add(2,4)
You say, "6"
> say add(5,3,7,-4)
You say, "11"
Related Topics: dec(), iadd(), idiv(), imul(), inc(), isub(),
fdiv(), mod(), mul(), sub().
& ADDCOM
ADDCOM
COMMAND: addcom <alias>=<channel>
The alias and the channel name are case sensitive.
Using this command, you can join a pre-existing channel by specifying the
alias you wish to use. If the channel is named 'Public', then you must type
it with the same case. Likewise the alias is case sensitive. If you use
'addcom Pub=Public', then to use the channel you must type 'Pub Hello'
instead of 'pub Hello'.
One other thing to be careful of: adding a channel multiple times with
different aliases. While possible, it can be confusing.
Example:
>addcom pub=Public
Channel Public added with alias pub.
Related Topics: delcom, @clist, comlist, alias, comtitle.
& AFTER()
AFTER()
FUNCTION: after(<string1>[,<string2>])
This function is case sensitive.
Returns the portion of <string1> that occurs after <string2> or after
the first word if <string2> isn't given. If <string2> does not occur
in <string1>, a null string is returned. If you want to return the
portion of the string after the first space, use the rest() function
instead.
Examples:
> say after(This is a test,a)
You say, " test"
> say after(This is a test,is)
You say, " is a test"
> say after(This is a test, nope)
You say, ""
Related Topics: before(), first(), rest().
& ALIAS
ALIAS
COMMAND: <channel alias> <on|off|who|message|:pose|;pose>
The channel alias allows you to use the channel, to turn it on and off and
check who is online. If you have forgotten what your aliases are, see the
help for 'comlist'.
'on' allows you to turn an alias/channel on.
'off' lets you turn off that alias/channel.
'who' shows you who is on that channel, which the channel name appended
to the bottom.
You may send a message over the channel with <alias> <text>, where <text>
is the message to be sent, or you can pose on a channel with
<alias> :<text> or <alias> ;<text>
Example:
> pub Hello, World!
[Public] Player say, "Hello, World!"
Related Topics: allcom, comlist, addcom, delcom.
& ALLCOM
ALLCOM
COMMAND: allcom <on|off|who>
This works like using a single alias except that it does an action for
every alias you have. You can turn every alias on, or off, or see who is
on every channel you subscribe to.
Example:
> allcom who
-- Players --
Player1
Player2
-- Objects --
-- Public --
-- Players --
Staff1
Player1
-- Objects --
-- Staff --
Related Topics: alias, comtitle, delcom, addcom.
& ALPHAMAX()
ALPHAMAX()
FUNCTION: alphamax(<word1>, <word2>, <word3>, ...)
Returns the word whose order is lexicographically last.
Related Topics: alphamin().
& ALPHAMIN()
ALPHAMIN()
FUNCTION: alphamin(<word1>, <word2>, <word3>, ...)
Returns the word whose order is lexicographically first.
Related Topics: alphamax().
& AND()
AND()
FUNCTION: and(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN-Z values, and returns 1 (TRUE) if all arguments
are TRUE.
Related Topics: andbool(), BOOLEAN VALUES, cand(), or(), not(), t(), xor().
& ANDBOOL()
ANDBOOL()
FUNCTION: andbool(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN values, and returns 1 (TRUE) if all arguments
are TRUE.
Related Topics: and(), BOOLEAN VALUES, or(), not(), t().
& ANDFLAGS()
ANDFLAGS()
FUNCTION: andflags(<object>,<list of flags>)
This function returns 1 (TRUE) if <object> has all the flags in a specified
list, and 0 (FALSE) if it does not. The list is specified with a single
letter standing for each flag, like the output of the FLAGS() function. A
'!' preceding a flag letter means "not flag".
Thus, ANDFLAGS(me,WD) would return 1 if I were set WIZARD and DARK.
ANDFLAGS(me,W!Dc) would return 1 if I were set WIZARD, not DARK,
and CONNECTED.
If a letter does not correspond to any flag, <object> doesn't have
it, so the function returns 0. There can be an arbitrary number of
flags. Do not put spaces between flag letters.
Related Topics: flags(), orflags().
& ANSI
ANSI
FLAG: ANSI(X)
When set on a player, enables at least the 16-color ANSI palette. If not
set, TinyMUX strips all color and other appearance-related attributes from
text before it is sent to the client.
See COLOR256 for how to enable the 256-color palette.
While TinyMUX uses 24-bit color (i.e., 16777216 colors) internally,
currently, only the MXP protocol (via the HTML flag) provides a path for
this to clients. Therefore, for each client, the server must remap each
requested color to the nearest palette color.
{ 'help ansi2' for more }
& ANSI2
ANSI2
Typically, clients make the 16-color palette user-configurable. While
TinyMUX makes minimal assumptions about the 16-color palette, when colors
must be remapped, it uses the following xterm palette:
Normal Intense
Red Green Blue Red Green Blue
black (x) 0 0 0 85 85 85
red (r) 187 0 0 255 85 85
green (g) 0 187 0 85 255 85
yellow (y) 187 187 0 255 255 85
blue (b) 0 0 187 85 85 255
magenta (m) 187 0 187 255 85 255
cyan (c) 0 187 187 85 255 255
white (w) 187 187 187 255 255 255
Related Topics: ansi(), COLOR256, ANSI CODES, ANSI SUBSTITUTION,
NOBLEED.
& ANSI CODES
ANSI CODES
f - flash i - inverse
h - highlight n - normal
u - underline
x - black foreground X - black background
r - red foreground R - red background
g - green foreground G - green background
y - yellow foreground Y - yellow background
b - blue foreground B - blue background
m - magenta foreground M - magenta background
c - cyan foreground C - cyan background
w - white foreground W - white background
<#RRGGBB> HTML color code
<R G B> RGB decimal vector
/ Background indicator prefix
Examples:
ansi(fc, Test) would highlight "Test" is flashing cyan.
ansi(<#FF8040>/<#800080>, Test) uses Orange on Dark Purple.
Related Topics: ansi(), ANSI SUBSTITUTION, COLOR256.
& ANSI SUBSTITUTION
ANSI SUBSTITUTION
The ANSI percent substitutions (%x, %X, %c, and %C) can be used instead of
ansi(), and they are more efficient. For example, the equivalent to
'[ansi(rBf,Color!)]' would be: '%xr%xB%xfColor!%xn'. The %xn (return to
normal) is understood and therefore optional.
%x is equivalent to %c, and %X is equivalent to %C, however, translate()
always produces sequences of %x and %X. So, %x and %X are 'preferred'.
The color code following %x or %X can be:
Single letter (%xb, %xc, %xf, %xg, %xh, %xi, %xm, %xn, %xr, %xu, %xw, %xx,
%xy, %xB, %xC, %xG, %xM, %xR, %xW, %xX, and %xY)
HTML color code (%x<#RRGGBB> or %x<#000000> through %x<#FFFFFF>)
RGB decimal vector (%x<R G B> or %x<0 0 0> through %x<255 255 255>)
Red, Green, and Blue are abbreviated as R, G, and B.
For the single-letter form, the case of the letter determines whether the
color specifies foreground (lower-case) or background (upper-case). For the
HTML and decimal-vector forms, the case of the %x or %X determines whether
the specified color is foreground or background.
Related Topics: ansi(), ANSI CODES, COLOR256, translate().
& ANSI()
ANSI()
FUNCTION: ansi(<codes>,<string>[,<codes>,<string>[,...]])
This allows you to highlight a string using ANSI terminal effects. The
string is terminated with a "return to normal" code, and the codes are
utilized in the order they are specified.
Related Topics: ANSI CODES, ANSI SUBSTITUTION.
& APOSS()
APOSS()
FUNCTION: aposs(<object>)
Returns the proper absolute possessive pronoun (his, hers, its, theirs) for
referring to <object>, based on the object's sex attribute. You must either
control or be near <object>.
Related Topics: obj(), poss(), subj(), SUBSTITUTIONS.
& ARBITRARY COMMANDS
ARBITRARY COMMANDS
You may define commands that are triggered whenever someone enters a command
that matches the command template (wildcard-ing allowed). These commands
are called arbitrary commands, user-defined commands, or $-commands (for how
they are defined), and they are checked for only after the check for
single-character commands, exits, and internal commands have been performed
and have failed (so an arbitrary command that matches 'page *' will never
be performed).
You define an arbitrary command by storing a string of the form
'$<template>:<command list>' in an attribute of an object, then the command
will be available to anyone who carries the object, is in the same room as
the object, or is inside the object. Only use user-named attributes and
VA-VZ for arbitrary commands, as many of the predefined attributes are not
for arbitrary commands. <template> is the pattern to check for (it may
contain wildcards), and <command list> is a semicolon-separated list of
commands to perform. The text that the wildcard characters matched are
available in the variables %0 through %9.
{ 'help arbitrary2' for more }
& ARBITRARY2
ARBITRARY COMMANDS (continued)
Example:
> @va testobj = $foobar *:"I was foobar'ed with %0.
Set.
> foobar xyzzy
testobj says "I was foobar'ed with xyzzy"
You can prevent individual attributes from being checked for $-commands
with the command '@set <obj>/<attr> = no_command'. Attributes so set
are reported with ($) following the attribute name when examined.
The command '@set <obj>/<attr> = !no_command' clears the flag.
You can also match a regular expression rather than wildcards. See
'help regexp syntax' for details.
The following attributes are never checked for $-commands: ALIAS CHARGES
DESC DROP FAIL IDESC ODESC ODROP OFAIL OSUCC SEX SUCC.
Related Topics: @set.
& ART()
ART()
FUNCTION: art(<string>)
This function returns the proper article, "a" or "an", for the <string> by
attempting to match it against a set of rules. This function isn't always
right, but it makes a good guess most of the time.
Example:
> say art(TinyMUX)
You say, "a"
> say art(umbrella)
You say, "an"
> say art(unicycle)
You say, "a"
> say art(ytterbium)
You say, "an"
> say art(one-sided)
You say, "a"
> say art(avocado)
You say, "an"
Related Topics: article_rule.
& ASCII
ASCII
FLAG: ASCII(~)
When set on a player, it forces the client character set in all sessions to
be 7-bit ASCII. All ISO 8859-1 and UTF-8 characters are then translated and
approximated with 7-bit ASCII characters. Any character which cannot be
approximated are shown with a single '?'.
The default is for each client to negotiate its character set ability on a
per session basis.
Related Topics: stripaccents(), chr(), ord(), UNICODE.
& ASIN()
ASIN()
FUNCTION: asin(<number>[, <units>])
Returns the arcsine of <number>. The value returned will be expressed in
<units>. <units> may be 'radians', 'degrees', or 'gradians' or just the
first letter of any of these. By default, <units> is 'radians'.
In a circle, there are 2*pi() radians, 360 degrees, and 400 gradians.
Examples:
> say asin(0)
You say, "0"
> say asin(1)
You say, "1.5707963267948966"
> say asin(fdiv(sqrt(2),2),d)
You say, "45"
> say asin(0.5,d)
You say, "30"
Related Topics: acos(), atan(), ctu(), cos(), pi(), sin(), tan().
& ATAN()
& ATAN2()
ATAN()
ATAN2()
FUNCTION: atan(<number>[, <units>])
atan2(<number1>, <number2>[, <units>])
Returns the arctangent of <number> or <number1>/<number2>. The range of
atan() is always an angle in quadrants 1 and 4. Taking into consideration
the sign of <number1> and <number2>, atan2() can return an angle in all four
quadrants. The value returned will be expressed in <units>. <units> may be
'radians', 'degrees', or 'gradians' or just the first letter of any of these.
By default, <units> is 'radians'.
In a circle, there are 2*pi() radians, 360 degrees, and 400 gradians.
Examples:
> say atan(0)
You say, "0"
> say tan(1)
You say, "1.5574077246549023"
> say atan(1.5574077246549023)
You say, "1"
Related Topics: acos(), asin(), cos(), ctu(), pi(), sin(), tan().
& ATTRCNT()
ATTRCNT()
FUNCTION: attrcnt(<object>[/<wild-pattern>])
Returns a count of the attributes set on <object>. If <wild-pattern> is
given, only attributes matching it are counted.
Related Topics: lattr()
& ATTRIB2
ATTRIBUTE OWNERSHIP (continued)
Locked attributes may not be modified or removed, and do not change ownership
when the object containing them is @chowned.
You may not modify or remove attributes that you own that are stored
on objects that you do not own, but you may modify or remove attributes
owned by others on your objects (if you do this, the attribute becomes owned
by you).
If an attribute is owned by someone other than the object's owner, then
the number of the attribute's owner is shown in parentheses immediately
after the attribute name. If there are any flags set on the attribute,
those flags are indicated in the parentheses too.
{ 'help attrib3' for more }
& ATTRIB3
ATTRIBUTE OWNERSHIP (continued)
When checking an attribute lock against an object, the lock will
always fail if the locked object is not owned by the same player as
the attribute being tested. The comparison specified in the lock is
only performed if the owner of the locked object also owns the
attribute on the object being checked.
Related Topics: ATTRIBUTE FLAGS, @chown, examine, @lock, @set,
@unlock.
& ATTRIBUTE FLAGS
ATTRIBUTE FLAGS
The following lists the possible flags on attributes:
case (C) - $-command matching will not be case-sensitive.
Non-functional unless the 'R' flag is also set.
const - No one can change this attribute.
no_command ($) - The attribute is not checked when looking for
$-commands. Note that the predefined attributes
DESC, IDESC, ODESC, FAIL, OFAIL, SUCC, OSUCC, DROP,
ODROP, SEX, and CHARGES are never checked.
dark - Only God can see this attribute.
god - Only God can modify this attribute.
hidden (M) - Only wizards and royalty can see this attribute.
html (H) - Emits from attr, oattr, aattr are not HTML-escaped.
{ 'help attribute flags2' for more }
& ATTRIBUTE FLAGS2
ATTRIBUTE FLAGS (continued)
no_inherit (I) - This attribute is not inherited by children of the
object. From their perspective, the attribute does not
exist.
locked (+) - The attribute is locked, it does not change
ownership when the object is @chowned and may not
be modified.
no_name (N) - If set on an @o-attr, don't prepend the name of the
enactor. This also affects @verb behavior.
no_parse (P) - $-commands and ^-listens matching is performed against
the unparsed (non-evaluated) string.
private - Only attribute owner and wizards can see this
attribute.
regexp (R) - $-command matching on this attribute uses
PCRE-style regular expressions.
trace (T) - The attribute will generate trace output.
{ 'help attribute flags3' for more }
& ATTRIBUTE FLAGS3
ATTRIBUTE FLAGS (continued)
visual (V) - The attribute is visible to anyone who examines
you. Note that the predefined attributes DESC,
SEX, and LAST are always VISUAL
wizard (W) - Only wizards can modify this attribute.
Related Topics: ATTRIBUTE OWNERSHIP, examine, @verb.
& ATTRIBUTE OWNERSHIP
ATTRIBUTE OWNERSHIP
The attributes on an object may be owned independently from the object.
Normally, the owner of the object owns all of its attributes.
In addition to an owner, each attribute also has a locked flag,
set or cleared with @lock <obj>/<attr> and @unlock <obj>/<attr>.
This flag controls whether or not the owner of the object may
@chown the attribute to himself with @chown <object>/<attrib>,
as well as whether or not the attribute is automatically @chowned to
the new owner when the object is @chowned.
You may lock and unlock attributes that you own on any object (whether
you own the object or not), and you may @chown an attribute that you own
to the owner of the object if it is unlocked. The examine command
will show you all attributes that you own on an object, even if you
don't own the object.
{ 'help attrib2' for more }
& AUDIBLE
AUDIBLE
FLAG: AUDIBLE(a) (all types)
When set on an object, player, or room everything from a say, pose, or emit
inside the object will be sent to every object in the location of that
object (except for rooms which have no location) as well as to all objects
mentioned in the object's Forwardlist attribute. When set on an exit,
everything from a say, pose, or emit in the room the exit is in will be
forwarded to the room the exit points to. In both cases the @prefix
attribute will be inserted in front of the text, or a default prefix if no
@prefix attribute is set. If the @filter attribute is present, it will be
used to suppress those messages matching any of the patterns specified.
Related Topics: @filter, @forwardlist, @prefix.
& AUDITORIUM
AUDITORIUM
FLAG: AUDITORIUM(b) ()
When set on a room, object, or player, it enables the checking
of speechlocks.
Related Topics:
& BAND()
BAND()
FUNCTION: band(<number>[, <number>[, ...]])
Arguments must be an integer and are treated as a bit-field. It performs a
bitwise logical AND between these two bit-fields and returns the resulting
bit-field as an integer which can be further treated as an integer, a
bit-field, or a logical boolean depending on your intentions.
> think band(922,785)
784
In the above example, 922 in base 10 is equivalent to 39A in base 16 or
0011 1001 1010 in base 2. Likewise, 785 in base 10 is the same as 311 in
base 16 and or 0011 0001 0001 in base 2.
0011 1001 1010 (922)
(BAND) 0011 0001 0001 (785)
--------------
0011 0001 0000 (784)
The result may be expressed as 310 in base 16 or 784 in base 10.
So, this function is useful for testing whether a particular bit in the
field is 'on' or 'off'. More than one bit can be tested at a time. If all
bits are 'off', the result is zero which can also be interpreted as a
boolean false in softcode.
Related Topics: shl(), shr(), bnand(), bor(), bxor().
& BASECONV()
BASECONV()
FUNCTION: baseconv(<number>, <input radix>, <output radix>)
Converts <number>, which is in base <input radix> to base <output radix>.
The bases can be between 2 (binary) and 64, inclusive. Positive and
negative numbers are supported except for bases 63 and base 64 where - is
not available. When converting from base 64, + and / have place value 62 and
63, respectively.
Bases 36 and under use the following symbols:
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
Bases over 36 use base64 url string:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_
Related Topics: pack(), unpack()
& BEEP()
BEEP()
FUNCTION: beep()
This function simply outputs the beep character, which on most terminals
with sound, will emit a short beep. Only wizards may use this function.
Related Topics:
& BEFORE()
BEFORE()
FUNCTION: before(<string1>, <string2>)
This function is case sensitive.
Returns the portion of <string1> that occurs before <string2>. If <string2>
does not occur in <string1>, the entire string is returned.
If you want to return the portion of the string after the first space,
use the first() function instead.
Examples:
> say before(This is a test,a)
You say, "This is "
> say before(This is a test,is)
You say, "Th"
> say before(This is a test, nope)
You say, "This is a test"
Related Topics: after(), first(), rest().
& BEING KILLED
BEING KILLED
Getting killed is no big deal. If you are killed, you return to your home,
and all things you carry return to their homes. You also collect 50 coins
in insurance money (unless you have >= 10000 coins or you were killed via
the Wizard slay command). Generally, killing is not encouraged unless
absolutely necessary. (Note: Killing a wizard is a quick way to discover
the many uses of the @boot command... and killing anyone can be very
rude.)
Related Topics: kill, @akill, @kill, @okill, IMMORTAL, WIZARD.
& BITTYPE()
BITTYPE()
Function: bittype([<object>])
Returns a number from the following table based on the owner of <object>.
God 7
Wizard 5
Royalty 4
Staff/Builder 3
Head/Immortal 2
Mortal 1
Uninspected/Guest 0
ERROR #-1
If a player has more than one bit flag set, their highest one takes
precedence. If no argument is given, <object> defaults to 'me'.
This function is from RhostMUSH, there is no 6 because MUX has no
equivalent for Rhost's Immortal.
Related Topics: hasflag(), orflags(), andflags().
& BLIND
BLIND
FLAG: BLIND(B)
This flag suppresses the '<who> has arrived.' and '<who> has left.' messages.
When set on a player, the messages caused by their movement are suppressed.
When set on a location, the messages for everyone entering or leaving that
location are suppressed.
This flag can only be set by Wizards.
Related Topics: DARK
& BNAND()
BNAND()
FUNCTION: bnand(<number1>, <number2>)
Both arguments are an integer that is treated as a bit-field. It
performs a bitwise logical AND between <number1> and the complement
of <number2> which has the effect of forcing certain bits in
<number1> off in the result.
> think bnand(922,785)
138
In the above example, 922 in base 10 is equivalent to 39A in base
16 or 0011 1001 1010 in base 2. Likewise, 785 in base 10 is the same
as 311 in base 16 and or 0011 0001 0001 in base 2. The complement
of 785 (specifically the one's complement) is 1100 1110 1110 in base
2, and is a simple bitwise reversal of 1's and 0's.
0011 1001 1010 (922)
(BAND) 1100 1110 1110 (Complement of 785)
--------------
0000 1000 1010 (138)
The result may be expressed as 08A in base 16 or 138 in base 10.
Related Topics: shl(), shr(), band(), bor(), bxor().
& BOGUS COMMANDS
BOGUS COMMANDS
Bogus commands can be made using exits. For example, to make a 'sit'
command, one could "@open sit", then "@link sit=here" (because unlinked
exits can be stolen), "@lock sit=#0" (impossible for a room to pass a lock,
#0 is always a room, therefore the lock always fails), and "@fail sit=You
sit on the chair."; "@ofail sit=sits on the chair.". Since nobody can go
through it, it always fails. The @fail message is displayed to the player,
and the @ofail message (preceded by the player's name) to everyone else.
Related Topics: @afail, @fail, @link, @lock, @ofail, @open.
& BOOLEAN VALUES
BOOLEAN VALUES
There are three types of Boolean Values in MUX: BITS, BOOLEAN, and
BOOLEAN-Z. In each case, a Boolean Value is either TRUE or FALSE, and all
possible strings are mapped onto one of those two.
1. The most comprehensive definition of Boolean Value is denoted simply as
BOOLEAN. Newer functions and features use the BOOLEAN definition of a
Boolean Value. MUX maps the following to FALSE:
- Numbers (integer and floating-point) with a value of zero.
- The Special floating-point values of NaN, Ind, +Inf, and -Inf.
- Strings with zero-length.
- Any error message of the form "#-N <msg>".
All other strings are understood as TRUE including negative numbers and
dbrefs.
2. BITS is another form of a Boolean value. An integer can be broken down
into BITS. Taken together, the server shows them as an integer, but
there are functions which indirectly manipulate individual BITS.
3. BOOLEAN-Z defines FALSE as an integer zero. This definition still
appears in MUX for softcode compatibility.
Alphabetic strings are FALSE. Everything after the decimal point in a
floating-point number is ignored. Dbrefs are not recognized but mapped
to FALSE. TRUE is then any non-zero number.
NOTE: T() allows a BOOLEAN value to be used with a BOOLEAN-Z function, and
Boolean Values from functions can be interpreted correctly by either BOOLEAN
or BOOLEAN-Z definitions.
Examples:
not(foo) --> 0 not() --> 1 not(-66) --> 0
not(0) --> 1 not(#-1) --> 1 not(#12) --> 0
t(1) --> 1 t(#-1) --> 0 t(-66) --> 1
Related Topics: not(), t()
& BOR()
BOR()
FUNCTION: bor(<number>[, <number>[, ...]])
Arguments must be an integer and are treated as a bit-field. It performs a
bitwise logical OR which has the effect of forcing certain bits on in the
result.
> think bor(922,785)
923
In the above example, 922 in base 10 is equivalent to 39A in base 16 or
0011 1001 1010 in base 2. Likewise, 785 in base 10 is the same as 311 in
base 16 and or 0011 0001 0001 in base 2.
0011 1001 1010 (922)
(BOR) 0011 0001 0001 (785)
--------------
0011 1001 1011 (923)
The result may be expressed as 39B in base 16 or 923 in base 10.
Related Topics: shl(), shr(), band(), bnand(), bxor().
& BXOR()
BXOR()
FUNCTION: bxor(<number>[, <number> [, ...]])
Arguments must be integers and they are treated as a bit-field. It performs
a bitwise logical eXclusive-OR which has the effect of toggling certain bits
on in the result.
> think bxor(922,785)
139
Related Topics: shl(), shr(), band(), bnand(), bor().
& CAND()
CAND()
FUNCTION: cand(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN-Z values, and returns 1 (TRUE) if all arguments
are TRUE. cand() evaluates its arguments from left to right until either
all arguments evaluate to TRUE or one of the arguments evaluate to FALSE.
This is unlike and() in that some arguments may not be evaluated.
Related Topics: and(), candbool(), BOOLEAN VALUES, cor().
& CANDBOOL()
CANDBOOL()
FUNCTION: candbool(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN values, and returns 1 (TRUE) if all arguments are
TRUE. candbool() evaluates its arguments from left to right until either
all arguments return TRUE or one of the arguments returns FALSE. This is
unlike andbool() in that some arguments may not be evaluated.
Related Topics: andbool(), cand(), BOOLEAN VALUES, corbool().
& CANSEE()
CANSEE()
FUNCTION: cansee(<looker>, <lookee>[,<lookee_action>])
NOTE: This function is not available unless either WOD Realms or Reality
Levels was enabled at compile-time.
For WOD Realms:
CANSEE returns 1 or 0 depending on whether it's possible for the looker
to see the lookee or not. This is useful for wizard code in the master
room, help it decide who/what should be able to see who/what, and saves
the softcoders the hassle of duplicating these rules in softcode.
The third parameter is optional, but if present should be 0 for standing
still, 1 for moving, and 2 for talking.
For Reality Levels:
Returns 1 if <victim>'s Rx levels intersect with <target>'s Tx levels. It
does not take into account the location of the objects or other flags like
DARK.
Related Topics:
& CAPSTR()
CAPSTR()
FUNCTION: capstr(<string>)
Returns <string> with the first character capitalized. If the first
character is not a letter, this function returns the string unmodified.
Example:
> say capstr(this is a string I want capitalized)
You say, "This is a string I want capitalized"
Related Topics: lcstr(), ucstr().
& CASE()
CASE()
FUNCTION: case(<str>[,<pat1>,<res1>]...[,<dflt>])
case() is similar to switch() but does not perform wildcard matching
(i.e., using * or ? in the pattern). In cases where wildcards are not
needed, it performs marginally faster.
Before <resI> is evaluated for return, #$ is substituted with the value
of <str>. In this way, <resI> has a short-hand way of getting at the
<str> that matched its corresponding pattern.
Related Topics: @switch, match(), ifelse(), switch().
& CAT()
CAT()
FUNCTION: cat(<string>[,<stringN>])
cat returns a string made up of the contents of string1 through stringN,
with each string separated from its neighbors by a space.
Example:
> say cat(this is, a test)
You say, "this is a test"
> say cat(This is,another,test of the,CAT function)
You say, "This is another test of the CAT function"
Related Topics:
& CEIL()
CEIL()
FUNCTION: ceil(<number>)
Returns the smallest integer greater than or equal to <number>. <number>
may be a floating point number, and an integer result is returned.
Examples:
> say ceil(5)
You say, "5"
> say ceil(5.2)
You say, "6"
> say ceil(5.8)
You say, "6"
> say ceil(-5)
You say, "-5"
> say ceil(-5.2)
You say, "-5"
Related Topics: fdiv(), floor(), idiv(), mod(), round(), trunc().
& CEMIT()
CEMIT()
FUNCTION: cemit(<channel>, <message>)
Sends <message> over <channel> prefixed by the channel's name. You must own
or control the channel to do this. This is a functional equivalent of
@cemit.
Related Topics: @cemit
& CENTER()
CENTER()
FUNCTION: center(<string>, <width>[, <fill>])
This function centers <string> within a <width>-sized field.
The background of this field is specified by a repeating pattern of <fill>
characters. The origin of this repeating pattern is at the first position
of the field. Another way of saying this is that the repeating pattern
starts in first position and repeats to the right. The last <fill> pattern
may be truncated.
By default, <fill> is a single, normal-colored space. The color of
<string> and <fill> is maintained.
If the visual width of <string> is longer than <width> characters, it is
truncated to fit.
Example:
> say center(a,5,-)
You say, "--a--"
> say center(*BAMF*,15)
You say, " *BAMF* "
> say center(%xh%xrR%xgG%xbB,31,%xy--%xm+)
--+--+--+--+--RGB+--+--+--+--+-
Related Topics: cpad(), ljust(), lpad(), rjust(), rpad().
& CHANNEL OBJECT
CHANNEL OBJECT
In the comsystem, you may specify a channel object for each channel.
(@cset/object channel=<object>). See 'help @cset' for help.
Channel objects allow you to specify a description for a channel and
place certain restrictions on joining, transmitting, and receiving. If
present on the channel object, the @comjoin, @comleave, @comon, and @comoff
messages are evaluated and then sent to members performing the join, leave,
on, and off actions, respectively.
NOTE: If a channel flag is set by @cpflags or @coflags, those will ALWAYS
override the equivalent lock. The flags are set by default, so you will
have to clear them before your locks work.
The join lock for a channel is a normal @lock on the channel object.
The transmit lock for a channel is a use @lock on the channel object.
The receive lock for a channel is an enter @lock on the channel object.
The description of a channel is the @desc of the channel object.
If the channel object has @speechmod or @saystring set, those settings
will override the player settings.
Related Topics: @comjoin, @comleave, @comoff, @comon, @ccreate, @create,
@cset, @speechmod, @saystring.
& CHANNELS()
CHANNELS()
FUNCTION: channels([player])
This function lists channels that you can see, much like @clist. If the
argument is omitted or is 'all', then all are returned, otherwise only
those owned by the named player are returned.
Example:
> say channels()
You say, "Wizard Staff Guest Public Code"
> say channels(#1)
You say, "Wizard Staff Guest Public"
> say channels(me)
You say, "Code"
Related Topics: comalias(), comtitle(), cwho()
& CHANOBJ()
CHANOBJ()
FUNCTION: chanobj(<channel name>)
This function returns the channel object for the given <channel name>. As
with all comsys commands, <channel name> is case sensitive. If the channel
name matches a comsys channel with a channel object set, the dbref of the
object is returned. If the channel has no channel object, #-1 is returned.
By default, the chanobj() function is restricted to wizards.
Related Topics: comalias(), comtitle(), cwho(), CHANNEL OBJECT, @cset
& CHILDREN()
CHILDREN()
FUNCTION: children(<object>)
Returns a list of objects that are parented to <object>.
Related Topics:
& CHIMERA
CHIMERA
The CHIMERA flag is used to denote an object who is invisible to all but
those set CHIMERA and FAE.
& CHOOSE()
CHOOSE()
FUNCTION: choose(<item list>, <weight list>[, <delim>])
This function picks an item from <item list> at random controlled by the
distribution given in <weight list>.
Examples:
> think choose(1 2 3,1 0 0)
1
& CHOWN_OK
CHOWN_OK
FLAG: CHOWN_OK(C) ()
This flag, when set, allows you to transfer ownership to
another player. To set it, you must be carrying the object. You
also have to be in the room if you want to set this flag on rooms
or exits. After this flag is set, the new player may gain
ownership of the object by using the @chown command.
Related Topics: @chown
& CHR()
CHR()
FUNCTION: chr(<ord>)
Returns a single character that corresponds to the <ord>'th position in the
character set.
Related Topics: ord().
& CLEARCOM
CLEARCOM
COMMAND: clearcom
This command will erase all channel information.
The 'clearcom' command is equivalent to typing 'delcom <alias>' for each
channel. It will remove you from all channels and erase your status and
title.
Example:
> clearcom
You have left channel Public.
Channel Public deleted.
You have left channel Staff.
Channel Staff deleted.
Related Topics: addcom, delcom.
& CMDS()
CMDS()
FUNCTION: cmds(<player>)
Returns the number of commands entered by a connected <player|port>. If
<player|port> is not connected or the enactor has insufficient permissions,
then -1 is returned.
If <player|port> is numeric, it's taken as a port number (as shown in
SESSION). Otherwise, it's treated as a player name. If the named player is
connected more than once, the first connection is returned.
Example:
> say cmds(me)
You say, "100"
> say cmds(me)
You say, "101"
Related Topics:
& COLOR256
COLOR256
FLAG: COLOR256
When set on a player, enables the use of the 256-color palette. If ANSI is
set but COLOR256 is not, TinyMUX attempts to re-map from the 256-color
palette to the 16-color palette.
Related Topics: ansi(), ANSI CODES, ANSI SUBSTITUTION, NOBLEED.
& COLORDEPTH()
COLORDEPTH()
FUNCTION: colordepth(<player|port>)
Returns the expected color depth of the client.
0 - Client does not see color.
4 - ANSI escapes (highlight + 8 colors).
8 - XTERM-style 256-color palette.
24 - MXP/HTML-style color tags.
If <player|port> is numeric, it's taken as a port number (as shown in
SESSION). Otherwise, it's treated as a player name. If the named player is
connected more than once, the color depth of the session having the smallest
idle time is returned.
Even though the function accepts a port number, there is currently no means
to negotiation client color depth, so the result is always based upon player
flags which are the same in every session. The flags are ANSI, COLOR256, and
HTML.
You and any object with the See_All @power may obtain the color depth of
your sessions.
Example:
> say colordepth(me)
You say, "24"
> @set me=!ANSI
> say colordepth(me)
You say, "0"
Related Topics: height(), terminfo(), width().
& COLUMNS()
COLUMNS()
FUNCTION: columns(<list>, <width>[, <delim>[, <indent>]])
Formats a delimited <list> into fixed-width columns. Any element
longer than <width> is truncated. <indent> specifies a left margin.
This function fits the margin and as many columns as possible into a
78-wide screen.
The input delimiter, <delim>, defaults to a space.
The left margin width, <indent>, defaults to zero.
Related Topics: table()
& COMALIAS()
COMALIAS()
FUNCTION: comalias(<player>, <channel>)
comalias() returns the alias the player uses to access the named channel.
Wizards can retrieve the comalias for anyone. Players and objects can check
for themselves. Objects that Inherit can check for their owners.
Example:
> say comalias(me,Public)
You say, "pub"
Related Topics: channels(), comtitle(). cwho().
& COMLIST
COMLIST
COMMAND: comlist
This command displays a list of all the channels you are connected to, the
alias you're using for the channel, whether you are 'on' or 'off' on the
channel and what your comtitle is.
Example:
> comlist
Alias Channel Status Title
pub Public off Roleplay Staff
staff Staff on
Related Topics: comtitle, addcom, alias, delcom.
& COMMAND EVALUATION
COMMAND EVALUATION
When you submit a command to be executed by MUX (whether by typing it in or
by having a machine run it, the following steps are performed, in sequence.
If the command matches something in a step, the matching actions are
performed and the walk down the list stops.
- The first letter of the command is checked to see if it is a single-
character command (", :, etc). If so, %-substitution and function
evaluation may be performed (depending on the command), and the command
is executed.
- The comsystem checks for a channel alias.
- The command is checked to see if it is the 'home' command. If so, the
player or object performing the command goes home.
- The command is checked against the exits in its current room. If one
matches, it is performed. If more than one matches, one is picked randomly
from the exits for which the player passes the lock (If the player does not
pass any locks, then the exit to be tried is picked randomly.
{ 'help command evaluation2' for more }
& COMMAND EVALUATION2
COMMAND EVALUATION (continued)
- The first word of the command is checked to see if it is an internal MUX
command. If so, the remainder of the command is broken up into arguments,
%-substitution and function evaluation may be performed on the (split up)
arguments, and the command is executed.
- %-substitution and function evaluation is performed on the command.
- All objects in the player's inventory, all objects in the player's
location, and the location itself are searched for $-commands that match
the command. All that match are performed. The player may or may not be
checked, depending on how the MUX is configured.
- The commands defined in the zone tree you or your location is in.
Note: Commands that can cause other commands to be executed (such as @wait,
@switch, @trigger, etc) never perform substitution on their arguments, they
leave the evaluation to the command that is to be executed. This prevents
most of the problems with getting objects to perform unintended commands by
putting a ';', '}', or ',' in an argument. The @force command is an
exception in that it evaluates its argument, so it should be used with
caution (preferably by never using it to pass information that someone else
entered, use @trigger instead).
Also, the construct '$xx *:%0' does not work (and is very dangerous
programming), use '$xx *:@force me=%0' if you need this functionality.
& COMMANDS
COMMANDS
Help available for MUX Commands:
drop enter examine get give goto
help INFO inventory kill leave LOGOUT
look move news OUTPUTPREFIX OUTPUTSUFFIX page
pose QUIT read report say score
SESSION take think throw train use
version whisper WHO " : ;
& # \\
@@ @assert @break @cemit @chown @chzone
@clone @cpattr @create @decompile @destroy @dig
@doing @dolist @drain @edit @email @emit
@entrances @eval @femit @find @force @fpose
@fsay @halt @htdesc @if @last @link
@list @listmotd @lock @mail @mvattr @name
@nemit @notify @npemit @oemit @open @parent
@password @pemit @power @program @ps @query
@quitprogram @quota @reference @remit @robot @search
@set @stats @sweep @switch @teleport @trigger
@unlink @unlock @verb @vrml_url @wait @wipe
{ 'help commands2' for more }
& COMMANDS2
COMMANDS (continued)
The following are @-related:
@aahear @aclone @aconnect @adescribe @adfail @adisconnect
@adrop @aefail @aenter @afail @agfail @ahear
@akill @alead @aleave @alfail @alias @amail
@amhear @amove @aparent @apay @arfail @asuccess
@atfail @atofail @atport @aufail @ause @away
@charges @color @comjoin @comleave @comoff @comon
@conformat @cost @daily @descformat @describe @dfail
@drop @ealias @efail @enter @exitformat @exitto
@fail @filter @forwardlist @gfail @idesc @idle
@idletimeout @infilter @inprefix @kill @lalias @lead
@leave @lfail @listen @mailsucc @mfail @moniker
@move @nameformat @odescribe @odfail @odrop @oefail
@oenter @ofail @ogfail @okill @olead @oleave
@olfail @omove @opay @orfail @osuccess @otfail
@otofail @otport @oufail @ouse @oxenter @oxleave
@oxtport @pay @prefix @queuemax @reject @rfail
@runout @saystring @sex @signature @speechmod @startup
@success @tfail @tofail @tport @ufail @use
& COMP()
COMP()
FUNCTION: comp(<string1>, <string2>)
Comp compares two strings. It returns 0 if they are the same, 1 if
string2 is less than/precedes alphabetically string1, and -1
otherwise.
Related Topics:
& COMSYS
COMSYS
This is the help for the MUX comsystem. Note that the channel names and
aliases are case-sensitive. Many games are configured to have a new player
automatically join the 'Public' channel, and a Guest join the 'Guest'
channel. If you are a wizard, see 'wizhelp config' for the parameters
relating to this.
A comsys allows the various players to communicate with each other. A
comsys can consist of one Public channel for all players, or various
channels set aside for various groups within the game, thus allowing each
group to communicate with the other members of that group.
Two of the most accepted reasons for using a comsys are to allow players to
interact with members of their group, and to provide a venue for OOC
chatting.
Related Topics: comsys commands, comsys examples
& COMSYS COMMANDS
COMSYS COMMANDS AND FUNCTIONS
These are the topics for the MUX comsystem:
User Commands: @clist, addcom, alias, allcom, comlist, comtitle,
clearcom, delcom
Administrative Commands: @cboot, @ccharge, @cchown, @ccreate, @cdestroy,
@cemit, @clist, @coflags, @cpflags, @cset, @cwho
Functions: channels(), chanobj(), comalias(), comtitle(),
cwho()
General Information: channel object, comsys examples
& COMSYS EXAMPLES
COMSYS EXAMPLES
Examples:
> addcom public=Public
Channel Public added with alias public.
> pub off
[Public] Foobar has left this channel.
> pub on
You have joined channel Public.
[Public] Foobar has joined this channel.
> pub who
-- Players --
Foobar(#23PWc)
Wizard(#1PWc)
-- Objects --
-- Public --
> pub Hello world!
[Public] Foobar says, "Hello world!"
> pub last 10
-- Begin Comsys Recall --
[Public] Foobar has joined this channel.
[Public] Foobar has left this channel.
[Public] Foobar has joined this channel.
[Public] Foobar says, "Hello world!"
-- End Comsys Recall --
Related Topics: comsys commands
& COMTITLE
COMTITLE
COMMAND: comtitle <alias>=<title>
comtitle[/<option>] <alias>
This command allows you to prefix your name on a channel with a title.
The second form contains a switch that allow you to turn on or off
the ability to see comtitles. <option> can be on of the following:
on - comtitles are shown to you.
off - poses are shown to you without their comtitles.
Anonymous channels (@cset/anon) do not allow their comtitles to be
turned off.
Examples:
> comtitle pub=The Great and Powerful
Title set to 'The Great and Powerful' on channel Public.
> pub :waves to everyone.
[Public] The Great and Powerful Foobar waves to everyone.
Related Topics: comlist, addcom, alias, delcom, @cset
& COMTITLE()
COMTITLE()
FUNCTION: comtitle(<player>, <channel>)
comtitle() returns the comtitle the player has set on the named channel.
Non-wizards can only use it to return their own comtitles.
Example:
> say comtitle(me,Public)
You say, "The mighty Wizard"
Related Topics: channels(), comalias(), cwho()
& CON()
CON()
FUNCTION: con(<object>)
Con returns the first object in the list of objects carried by
thing. Just the first, and only the first.
Related Topics: next().
& CONFIG()
CONFIG()
FUNCTION: config([<parameter name>])
Most server configuration options are exposed programmatically via
this function. Given a <parameter name>, this function returns the
value currently in force. If no args are given, the function returns
a list of all options the player has permission to view.
For boolean configuration options, config() does not return 'yes' or
'no'. It returns the boolean in the form compatible with BOOLEAN.
Configuration options are determined in order by:
- Server defaults,
- Configuration file, and
- @admin changes.
Related Topics: BOOLEAN, CONFIG PARAMETERS in wizhelp
& CONN()
CONN()
FUNCTION: conn(<player|port>)
Returns the number of seconds that <player|port> has been connected. If
<player|port> is not connected then -1 is returned.
If <player|port> is numeric, it's taken as a port number (as shown in
SESSION). Otherwise, it's treated as a player name. If the named player is
connected more than once, the longest connect time is returned.
Example:
> WHO
Player Name On For Idle Doing
Wizard 00:04 1m
Mortal 00:11 0s
Evinar 00:12 6m Idle. :)
3 Players logged in.
> say conn(wiz)
You say, "251"
> say conn(e)
You say, "770"
> say conn(frobozz)
You say, "-1"
Related Topics: WHO, idle(), lwho().
& CONNECTED
CONNECTED
FLAG: CONNECTED(c) ()
This flag applies only to players and it shows if the
player is connected or not. Thus, each time you are connected to
the game, you should see the 'c' flag set, otherwise, you are DEAD!
You cannot reset this flag, and it is used internally by the code
for things like tabulating players for the WHO list, etc.
Related Topics:
& CONNLAST()
CONNLAST()
FUNCTION: connlast(<player>)
Returns the number of seconds that <player>'s last connection to
the MUX was.
Related Topics: conntotal(), connmax(), connnum(), connleft(), secs(),
conn().
& CONNLEFT()
CONNLEFT()
FUNCTION: connleft(<player>)
Returns the time stamp (number of seconds elapsed since midnight,
January 1, 1970) that represents when the <player> last
disconnected from the MUX.
Related Topics: conntotal(), connmax(), connlast(), connnum(), secs(),
conn().
& CONNMAX()
CONNMAX()
FUNCTION: connmax(<player>)
Returns the longest connection time that <player> has been
connected to the MUX -- perhaps even the current session.
Related Topics: conntotal(), connlast(), connnum(), connleft(), secs(),
conn().
& CONNNUM()
CONNNUM()
FUNCTION: connnum(<player>)
Returns the number connections that <player> has had to the MUX
including the current connection.
Related Topics: conntotal(), connmax(), connlast(), connleft(), secs(),
conn().
& CONNRECORD()
CONNRECORD()
FUNCTION: connrecord()
Returns the record number of connections to the game since the database was
created.
& CONNTOTAL()
CONNTOTAL()
FUNCTION: conntotal(<player>)
Returns the number of seconds that <player> has been connected to
the MUX. This also includes the current connection time.
Related Topics: connmax(), connlast(), connnum(), connleft(), secs(),
conn().
& CONTROL
CONTROL
There are 6 rules to controlling objects:
1) You control anything you own.
2) Anything you own that has its INHERIT flag set controls anything you
own (including you).
3) Anything you own that does not have its INHERIT flag set only controls
other things that you own that do not have their INHERIT flag set and
do not control you, unless YOU have your inherit flag set.
4) A wizard controls everything.
5) Anybody controls an unlinked exit, even if it is locked.
6) The object is in a part of a zone tree that you control.
Builders should beware of 5, lest their exits be linked or stolen.
Most of the commands for altering the database and many commands and
functions that retrieve information only work on objects that you control.
& CONTROLS()
CONTROLS()
FUNCTION: controls(<object>,<victim>)
Returns 1 if <object> controls <victim>, 0 otherwise.
Examples:
> say controls(me,me)
You say, "1"
> say controls(me,#1)
You say, "0"
> say controls(#1,me)
You say, "1"
Related Topics: CONTROL.
& CONVSECS()
CONVSECS()
FUNCTION: convsecs(<seconds> [, <zonename>][, <precision>])
By default, this function converts an integer (representing a count
of seconds from Jan 01 00:00:00 1970 UTC) to a local time string --
where local time is the time at the machine running the MUX. This
conversion includes a timezone/daylight savings time conversion
between UTC and the local time zone.
If a second argument is given, it is the <zonename>:
local - indicates that a conversion for timezone/DST of the 'local'
server time should be applied (the default).
utc - indicates that no timezone/DST conversions should be applied.
When used this way, there is a unique one-to-one relationship
between an integer and it's corresponding text-string which
may be useful for handling other time zones and fictional
settings.
<precision> determines the number of fractional seconds shown.
By default, no fractional seconds are shown.
Example:
> say secs()
You say, "957558109"
> say secs(local)
You say, "957532909"
> say convsecs(957558109)
You say, "Fri May 05 13:21:49 2000"
> say convsecs(957532909, utc)
You say, "Fri May 05 13:21:49 2000"
Related Topics: convtime(), secs(), time().
& CONVTIME()
CONVTIME()
FUNCTION: convtime(<time string> [, <zonename>][, <precision>])
By default, this function converts a time string (of format
[Ddd] Mmm DD HH:MM:SS YYYY) into an integer which represents a
count of seconds since Jan 01 00:00:00 1970 UTC not including leap
secs where Ddd, if given, is the day of the week, Mmm is the month
name, DD is the day of the month, HH is the hour in 24-hour time,
MM is the minutes, SS is the seconds, and YYYY is the year.
Keep in mind that the year may not be exactly four characters, and
it can also be negative. This server provides a proleptic Gregorian
calendar with a range of supported years between 27257 BC and
30826 AD. Year 0 is 1 BC, -1 is 2 BC, ..., so 27257 BC should be
given as -27256. This follows the astronomical conventions.
Note: The time string can also be free form and this function will
attempt to parse.
{ 'help convtime2' for more }
& CONVTIME2
CONVTIME() (continued)
If a second argument is given, it is the <zonename>:
local - indicates that a conversion for timezone/DST of the 'local'
server time should be applied (the default).
utc - indicates that no timezone/DST conversions should be applied.
When used this way, there is a unique one-to-one relationship
between an integer and it's corresponding text-string which
may be useful for handling other time zones and fictional
settings.
<precision> determines the number of fractional seconds shown.
By default, no fractional seconds are shown.
{ 'help convtime3' for more }
& CONVTIME3
CONVTIME() (continued)
Examples:
> say time()
You say, "Wed Jun 24 10:22:54 1992"
> say convtime(Wed Jun 24 10:22:54 1992)
You say, "709406574"
> say convtime(Wed Jun 24 10:22:54 1992, utc)
You say, "709381374"
> say convtime(June 24th 1992 10:22:54.0001am Z)
You say, "709381374"
> say convtime(Wed 24 Jun 1992 10:22:54 -0700)
You say, "709406574"
> say convtime(2001-01-01T100000Q)
You say, "978357600"
> say convtime(-1605-120T123456M)
You say, "-112805738704"
> say convtime(23456W12-1T123456T)
You say, "678039276896"
Related Topics: convsecs(), secs(), time().
& COR()
COR()
FUNCTION: cor(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN-Z values, and returns 1 (TRUE) if at least one
argument is TRUE. cor() evaluates its arguments from left to right until
either all arguments evaluate to FALSE or one of the arguments evaluates to
TRUE. This is unlike or() in that some arguments may not be evaluated.
Related Topics: BOOLEAN VALUES, cand(), corbool(), not(), or(), t().
& CORBOOL()
CORBOOL()
FUNCTION: corbool(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN values, and returns 1 (TRUE) if at least one
argument is TRUE. corbool() evaluates its arguments from left to right
until either all arguments evaluate to FALSE or one of the arguments
evaluates to TRUE. This is unlike orbool() in that some arguments may not
be evaluated.
Related Topics: BOOLEAN VALUES, candbool(), cor(), not(), orbool(), t().
& COS()
COS()
FUNCTION: cos(<number>[, <units>])
Returns the cosine of <number> where <number> is expressed in <units>.
<units> may be 'radians', 'degrees', or 'gradians' or just the first letter
of any of these. By default, <units> is radians.
In a circle, there are 2*pi() radians, 360 degrees, and 400 gradians.
Examples:
> say cos(0)
You say, "1"
> say cos(fdiv(pi(),2))
You say, "0"
> say cos(fdiv(pi(),4))
You say, "0.707107"
> say cos(fdiv(pi(),6))
You say, "0.866025"
Related Topics: acos(), asin(), atan(), pi(), sin(), tan().
& COSTS
COSTS
Certain commands cost money to use, they will fail if you don't have
enough. Use the @list costs command to find out what these commands are
and how much they cost.
Related Topics: @list.
& CPAD()
CPAD()
FUNCTION: cpad(<string>, <width>[, <fill>])
This function centers <string> within a <width>-sized field.
The background of this field is specified by a repeating pattern of <fill>
characters. The origin of this repeating pattern is at the first position
of the field. Another way of saying this is that the repeating pattern
starts in first position and repeats to the right. The last <fill> pattern
may be truncated.
By default, <fill> is a single, normal-colored space. The color of
<string> and <fill> is maintained.
Unlike center(), if the visual width of <string> is longer than <width>
characters, it is not truncated to fit.
Example:
> say cpad(a,5,-)
You say, "--a--"
> say cpad(*BAMF*,15)
You say, " *BAMF* "
> say cpad(%xh%xrR%xgG%xbB,31,%xy--%xm+)
--+--+--+--+--RGB+--+--+--+--+-
Related Topics: center(), ljust(), lpad(), rjust(), rpad().
& CRC32()
CRC32()
FUNCTION: crc32(<string1>, ..., <stringN>)
Returns the Cyclic Redundancy Check of the strings or sequences of
strings as a positive number. The answer for the same sequence of
strings is always the same.
The usefulness of this number is broad, but could provide a unique
fingerprint, checksum pattern, or high-quality hash function.
Example:
> think crc32(MUX)
629126998
Related Topics: digest(), sha1(), unpack().
& CREATE()
CREATE()
FUNCTION: create(<object>, <cost>[, <type>])
Works the same as @create <object>, but returns the database number of
the object created. <cost> is the cost of making the object. <type>
is an optional parameter, 'r' for rooms, 't' for things, and 'e' for
exits. If no <type> is specified, then a thing will be created by
default. This is a side effect function, and should only be
used when necessary.
Related Topics: destroy()
& CREDITS
Topic: CREDITS
TinyMUX 2.10 is based on TinyMUX 2.9. It is currently maintained by
Stephen Dennis (AKA Brazil). There is a more complete list of credits
in the README files for the server itself.
See http://www.tinymux.org for an on-line version of these README files.
& CTIME()
CTIME()
FUNCTION: ctime(<object>)
Returns <object>'s creation time as a time() string.
Example:
> think ctime(me)
Mon Oct 08 18:33:03 2001
Related Topics: @create, @dig, @open, @pcreate, time().
& CTU()
CTU()
Function: ctu(<number>, <units-from>, <units-to>)
The ctu() function will convert <number> that was originally in the units
of <units-from> into the units of <units-to>.
The units available are (r)adians, (g)radians, and (d)egrees.
180 degrees = PI (3.141592653589793) radians = 200 gradians.
Examples:
> say ctu(180,d,g)
You say, "200"
> say ctu(180,d,r)
You say, "3.141592653589793"
Related Topics: sin(), cos(), tan(), asin(), acos(), atan(), pi()
& CWHO()
CWHO()
FUNCTION: cwho(<channel> [, <select>])
Returns a list of dbrefs from that channel. Use of this function is limited
to wizards and channel owners. If not given, <select> defaults to 'on',
but if given, may be any of the following:
on - all objects and connected players who are 'on' the channel.
off - all objects and connected players who are 'off' the channel.
all - all objects and players associated with the channel.
Example:
> say cwho(Public)
You say, "#13 #11"
Related Topics: alias, channels(), comalias(), comtitle().
& DARK
DARK
FLAG: DARK(D) ()
If a room is DARK, then no items are shown when a person
'looks' there. If a thing is DARK, then "look" does not list that
object in the room's Contents:, and if an exit is DARK, it doesn't
show up in the Obvious Exits: list. Puppets and objects that can
listen cannot be DARK.
Related Topics:
& DEAD
DEAD
This flag does not alter any behavior of the server itself. However, it may
be useful for softcode. This flag is only available if realms is enabled.
Related Topics:
& DEC()
DEC()
FUNCTION: dec(<number>)
Returns <number> minus 1. Faster and more efficient than
sub(<number>,1). Decimal places will be truncated.
Related Topics: sub(), add(), inc().
& DECRYPT()
DECRYPT()
FUNCTION: decrypt(<text>,<key>)
Decrypts <text> using <key>. <key> should be the same one used to encrypt
the text, and is case sensitive.
Related Topics: encrypt().
& DEFAULT()
DEFAULT()
FUNCTION: default(<obj>/<attr>,<default case>)
This function returns the value of <obj>/<attr>, as if retrieved via
the get() function, if the attribute exists and is readable by you.
Otherwise, it evaluates the default case, and returns that.
Note that the default case is only evaluated if the attribute does
not exist or cannot be read.
This is useful for code that needs to return the value of an attribute,
or an error message or default case, if that attribute does not exist.
Examples:
> &TEST me=apple orange banana
> say default(me/Test, No fruits!)
You say, "apple orange banana"
> &TEST ME
> say default(me/Test, No fruits!)
You say, "No fruits!"
Related Topics: get(), get_eval(), u(), edefault(), udefault().
& DELCOM
DELCOM
COMMAND: delcom <alias>
Deletes <alias> from your list of channel aliases. If the <alias> was the
only alias for the channel, then the channel has now been effectively
removed. In order to use that channel again, you will need to re-add the
channel with the 'addcom' command. If you only wish to have the channel
quiet for a time, then a better command is '<alias> off'.
Example:
>delcom pub
Channel Public deleted.
Related Topics: addcom, alias, comlist, clearcom.
& DELETE()
DELETE()
FUNCTION: delete(<string>,<first>,<len>)
Returns <string>, but with <len> characters starting after the character
at position <first> removed. In other words, this function copies <first>
characters, skips <len> characters, and then copies the remainder of the
string.
Example:
> say delete(abcdefgh, 3, 2)
You say, "abcfgh"
> say delete(Would you like coffee or perhaps tea?, 15, 18)
You say, "Would you like tea?"
Related Topics: mid(), ldelete()
& DESTROY()
DESTROY()
FUNCTION: destroy(<object>)
Works the same as @destroy <object>. The destroy() function has no
return value. This is a side effect function, and should only be
used when necessary.
Related Topics: create()
& DESTROY_OK
DESTROY_OK
FLAG: DESTROY_OK(d) ()
When set on an object, it allows any player to destroy
it as long as the object is not locked against them. This is good
for things like notes, whereby the recipient can destroy the note
after reading it, instead of having to look for you to destroy it.
The DESTROY_OK flag overrides the SAFE flag, so that you do not need to
give the /override switch to @destroy to destroy a thing that is both
DESTROY_OK and SAFE. When it is set on any object or the owner of that
object, that object is destroyed immediately, without delay.
Related Topics: @destroy, SAFE.
& DIE()
DIE()
FUNCTION: die(<number of times to roll die>, <number of sides on die>)
This function simulates rolling dice. It "rolls" a die with a given
number of sides, a certain number of times, and sums the results.
For example, DIE(2, 6) would roll "2d6" - two six-sided dice,
generating a result in the range 2-12.
Related Topics: lrand(), pickrand(), rand(), shuffle()
& DIGEST()
DIGEST()
FUNCTION: digest(<algorithm>[, <string>])
Returns a checksum (hash, digest, etc.) of <string> using the given
<algorithm>. While the exact list of algorithms varies when SSL support is
enabled, the following is a representative sample:
md2 md4 md5 sha sha1 sha224 sha256 sha384 sha512 dss1 mdc2 ripemd160
Without SSL, only the sha1 algorithm is enabled.
Related Topics: crc32(), sha1()
& DIGITTIME()
DIGITTIME()
FUNCTION: digittime(<seconds>)
This function converts a number of <seconds> to a digital time
string and prepends the number of days if the time is greater than
23:59.
Example:
> say digittime(2345)
You say, "00:39"
> say digittime(123456)
You say, "1d 10:18"
Related Topics: writetime(), singletime(), exptime(), secs(), time().
& DIST2D()
DIST2D()
FUNCTION: dist2d(x1, y1, x2, y2)
Returns the distance between the Cartesian points in two dimensions
(x1,y1) and (x2,y2).
Example:
> say dist2d(0,0,3,4)
You say, "5"
Related Topics: dist3d()
& DIST3D()
DIST3D()
FUNCTION: dist3d(x1, y1, z1, x2, y2, z2)
Returns the distance between the Cartesian points in three dimensions
(x1,y1,z1) and (x2,y2,z2).
Example:
> say dist3d(0,0,0,10,15,20)
You say, "27"
Related Topics: dist2d()
& DISTRIBUTE()
DISTRIBUTE()
FUNCTION: distribute(<numpoints>, <bins>[, <delim>])
Returns, as a <delim> delimited list, a random distribution of <numpoints>
into an equally weighted number of <bins>. <points> must be between 0 and
1,000,000, and <bins> must be between 1 and 2,000.
Examples:
> think distribute(100, 5, |)
25|16|17|22|20
Related Topics: choose(), die(), lrand(), rand().
& DIV()
DIV()
FUNCTION: div(<number1>,<number2>)
div() is an alias for idiv().
Related Topics: idiv().
& DOING()
DOING()
FUNCTION: doing(<player|port>)
Returns the @doing entry for the requested <player|port>.
If <player|port> is numeric, it's taken as a port number (as shown in
SESSION). Otherwise, it's treated as a player name. If the named player is
connected more than once, the @doing from the first connection is returned.
Related Topics: poll()
& DROP
DROP
COMMAND: drop[/<switch>] <object>
drop[/<switch>] <exit>
The first form removes <object> from your inventory and puts it in your
location, except for the following special cases: Dropping a STICKY thing
sends it home, and dropping a thing in a room with a drop-to sends the thing
to the drop-to location.
The second form removes <exit> from your list of exits and adds it to the
list of exits for the current location. Anyone in the same location as
you may then use the exit to travel to the exit's destination. You can
only drop exits when you own the location where you are dropping them.
The following switch is recognized:
/quiet - Don't perform the @odrop/@adrop attributes on the dropped
object. This switch only works if you control the object.
'throw' is the same as 'drop'.
Related Topics: get, @adrop, @drop, @odrop, DROP-TO, STICKY.
& DROP-TOS
DROP-TOS
When the @link command is used on a room, it sets a drop-to location. Any
object dropped in the room (if it isn't STICKY) will go to that location.
If the room is STICKY, the drop-to will be delayed until the last person in
the room has left.
Related Topics: @link, STICKY.
& DUMPING()
DUMPING()
FUNCTION: dumping()
Return a boolean indicator of whether a forked @dump is currently
in progress.
Example:
> think dumping()
0
Related Topics: @dump
& E()
E()
FUNCTION: e()
Returns the value of the numeric constant e to fifteen decimal places.
Example:
> say e()
You say, "2.718281828459045"
Related Topics: exp(), ln(), log(), power().
& EDEFAULT()
EDEFAULT()
FUNCTION: edefault(<obj>/<attr>,<default case>)
This function returns the evaluated value of <obj>/<attr>, as if
retrieved via the get_eval() function, if the attribute exists and
is readable by you. Otherwise, it evaluates the default case, and
returns that. The default case is only evaluated if the attribute
does not exist or cannot be read.
Example:
> &TEST me=You have lost [rand(10)] marbles.
> say edefault(me/Test,You have no marbles.)
You say, "You have lost 6 marbles."
> &TEST me
> say edefault(me/Test,You have no marbles.)
You say, "You have no marbles."
Related Topics: get(), get_eval(), u(), default(), udefault().
& EDIT()
EDIT()
FUNCTION: edit(<string>,<from>,<to>,[<fromN>,<toN>]...)
This function edits <string>, replacing all occurrences of the substring
<from> with the string <to>. If <from> is '$', then <to> is appended to
<string>, while if <from> is '^', then it is prepended. Successive edits
can be performed as on PennMUSH by providing additional pairs of from/to
strings.
Examples:
> say edit(This is a test,is,x)
You say, "Thx x a test"
> say edit(Atlantic,^,Trans)
You say, "TransAtlantic"
> say edit(Multiple edits.,edits,elepehants,e e,e pink e)
You say, "Multiple pink elephants."
Related Topics: @edit.
& ELEMENTS()
ELEMENTS()
FUNCTION: elements(<list of words>,<list of numbers>[,<idelim>[,<odelim>]])
This function returns the words in <list of words> that are in the
positions specified by <list of numbers>. <list of numbers> is always
delimited by spaces. <idelim> is the delimiter for <list of words>,
and the output is delimited by <odelim>
Examples:
> say elements(Foo Ack Beep Moo Zot,2 4)
You say, "Ack Moo"
> say elements(Foof|Ack|Beep|Moo,3 1,|)
You say, "Beep|Foof"
Related Topics:
& ELOCK()
ELOCK()
FUNCTION: elock(<object>[/<whichlock>],<victim>)
Checks if <victim> would pass the named lock on <object>. Only the object's
owner may test locks other than the default lock.
Related Topics:
& EMIT()
EMIT()
FUNCTION: emit(<message>)
A side effect function that has the same effect as @emit <message>.
Related Topics: @emit
& ENACTOR
ENACTOR
The enactor is the object that caused an action list to be performed.
So, the enactor of the Ahear action list is the player or object who
said/emoted/etc the message that matched the Listen attribute, the
enactor of the Apay attribute is the player who gave the object money, etc.
The enactor of an attribute that is run by a @trigger command is the
object that ran the @trigger command. The following substitutions can be
performed in an action list to return information about the enactor:
%# or [v(#)] - Database number of the enactor
%N/%n or [v(N)]/[v(n)] - Name of the enactor.
%O/%o ... - Objective pronoun for the enactor
(him her it them)
%P/%p ... - Possessive pronoun (his her its their)
%S/%s ... - Subjective pronoun (he she it they)
%A/%a ... - Absolute possessive pronoun (his hers its theirs)
Related Topics: SUBSTITUTION.
& ENCRYPT()
ENCRYPT()
FUNCTION: encrypt(<text>,<key>)
Encrypts <text> using <key>. The text can only be unlocked with <key>, and
<key> is case-sensitive.
Related Topics: decrypt().
& ENTER
ENTER
COMMAND: enter[/<switch>] <object>
The enter command is used to enter an object. Insides of objects are best
used for vehicles, or storage spaces when you don't have a home (or even
as a floating home). In order to enter an object you must either own it or
it must have its ENTER_OK flag set, and you must also pass the object's
EnterLock (if it has one).
The following switch is recognized:
/quiet - Don't perform the @oenter/@aenter or @oefail/@aefail
attributes on the entered object, and don't perform the
@oxleave attribute on your current location. This switch
only works if you control the object being entered.
Related Topics: leave, @aefail, @aenter, @efail, @enter, @idesc, @lock,
@oefail, @oenter, @oxleave, ENTER_OK.
& ENTER_OK
ENTER_OK
FLAG: ENTER_OK(e) ()
If an object or person is ENTER_OK, other players may
enter the object or person by using 'enter <object/person>. Players
must also have the ENTER_OK set if they wish to be able to receive
things given to them by other players via the
'give <player> = <object>'.
Related Topics:
& ENTRANCES()
ENTRANCES()
FUNCTION: entrances([<loc>[,<type>[,<low>[,<high>]]]])
Returns a space-separated list of links from elsewhere to <loc>. The
results may include exits and drop-to's leading to <loc> as well as players
and objects whose home is <loc>. Unlike @entrances, entrances() does not
report parent/child relationships. Use children() to obtain this
information. <type> can be used to restrict the type of entrances returned:
E (exit), T (thing), R (room), P (player). There is a search cost to this
function. <low> and <high> can be used to indicate where to start and stop
the search, respectively.
You may only use this command on locations that you control, or else the
results will be limited to items you can examine.
Defaults:
<loc> - your current room.
<type> - A (all).
<low> - beginning of database.
<high> - end of database.
Examples:
> say entrances() <- all links to here
> say entrances(object) <- all links to object
> say entrances(here,tp) <- everything that lives here
> say entrances(me,a,1000) <- all links to me from #1000 and above.
Related Topics: @entrances, @link, link(), children(), lexits().
& EQ()
EQ()
FUNCTION: eq(<integer1>,<integer2>)
Takes two integers, and returns a BOOLEAN (1 if they are equal and 0 if they
are not).
Warning: passing anything but integers will produce unexpected results,
as non-numeric strings usually are treated as numeric 0.
Example:
> say eq(1,-1)
You say, "0"
> say eq(5,5)
You say, "1"
> say eq(foo, bar)
You say, "1"
Related Topics: BOOLEAN VALUES, lt(), lte(), gte(), gt(), neq().
& ERROR()
ERROR()
FUNCTION: error(<string>)
This function is useful in softcoded commands, especially @addcommand'ed ones.
If the global_error_obj config parameter is not set, this will return the
default error message. If it is, it passes <string> as if the player had typed
it and gotten a bad command.
Example:
> say error()
You say, "Huh? (Type 'help' for help.)"
> say error(@pmit)
You typed '@pmit'.
Related Topics:
& ESCAPE()
ESCAPE()
FUNCTION: escape(<string>)
Returns <string> after adding an escape character (\) at the start of the
string and also before each of the characters %\[]{};,()^$ that appear in
the string. This prevents strings entered by players from causing undesired
side effects when used, such as making your object perform unintended
commands or give out information to which you have access. Note that this
function is only needed when the resulting string is to be passed through
the @force command or be used as an attribute for an object (like the
success message for a mail message object). This function has the
advantage over the secure() function in that the string the user sees
after evaluating it is the same as the original string.
Example:
> @va me=Sneak a peek at Wiz's desc... [get(#1/desc)]
> say escape(%va)
You say, "\Sneak a peek at Wiz's desc... \[get(#1/desc)\]
Note: 'say escape(Sneak a peek at Wiz's desc... [get(#1/desc)])' does not
produce the expected result because the argument is evaluated BEFORE being
processed by escape(), therefore the [get()] call has already been
performed.
Related Topics: secure().
& ETIMEFMT()
ETIMEFMT()
FUNCTION: etimefmt(<format>, <secs>)
Escape sequences in <format> are expanded out. All escape sequences start
with a $. Any unrecognized codes or other text is returned unchanged. An
optional field width may be given after the initial $ (but before any
modifier or format letters). All values are right-justified within the
specified field.
Modifier letters (can be used together):
x - Value is suffixed with the corresponding units (s, m, h, or d).
z - Enter escape becomes blank of corresponding value is zero.
Format letters:
$s - Seconds $S - Seconds, left-padded with zeroes.
$m - Minutes. $M - Minutes, left-padded with zeroes.
$h - Hours. $H - Hours, left-padded with zeroes.
$d - Days. $D - Days, left-padded with zeros.
$n - Newline $$ - $ character
Example:
> think etimefmt($2h:$2M, 3700)
1:01
Related Topics: convtime(), convsecs(), timefmt().
& EVAL()
EVAL()
FUNCTION: eval(<object>,<attribute>)
eval(<string>)
The first form of the eval function works exactly like the get_eval
function, but takes the object and attribute in two separate arguments
instead of an obj/attr pair. It is mainly used for compatibility with
PennMUSH 1.50. The second form simply evaluates <string>. This is normally
done when a function is called, however, it is useful in evaluating %q and
%v substitutions.
Related Topics: get_eval(), get(), xget().
& EXAMINE
EXAMINE
COMMAND: examine[/<switches>] <object>[/<wild-attrib>]
Displays all available information about <object>. <object> may be an
object, 'me', or 'here'. You must control the object to examine it,
or it must be set VISUAL. If you do not own the object, you will just
see the name of the object's owner, and optionally any public
attributes and attributes owned by you set on the object.
If an attribute is owned by a player other than the owner of the
object, the number of the attribute owner is shown in parentheses
immediately following the attribute name. Flag letters may appear in
parentheses also, to indicate the status of the attribute. A list of
this flag letters is given in the references.
{ 'help examine2' for more }
& EXAMINE2
EXAMINE (continued)
If you specify a wildcard-ed attribute name, then only those attributes
that match are shown. So, 'exam me/v?' will show all your attributes that
start with v and are two characters long.
The following switches are available:
/brief - Shows everything except attributes.
/full - When examining an object you don't control, show any public
attributes set on the object in addition to the owner's name.
/parent - Includes attributes that are not present on the object itself
but which are inherited from the object's parent.
Related Topics: look, @decompile, VISUAL, ATTRIBUTE FLAGS,
ATTRIBUTE OWNERSHIP.
& EXIT()
EXIT()
FUNCTION: exit(<object>)
Exit returns the first exit on the list of exits in the object. Dark exits
are not listed, unless you own the object. Unlike LEXITS(), this function
does not provide information about exits in parent objects.
Related Topics: con(), lcon(), lexits(), next().
& EXITS
EXITS
An exit links one location to another location, providing a way to travel
on the MUX. Although normally used to link rooms together, exits can be
made to and from players and objects.
You may pick up exits that you own, and drop exits into locations that
you own. When you pick up or drop an exit, anyone in the exit's new
location may use the exit and travel to its destination. Exits may also
be @teleported from one room to another.
If an exit is set DARK it will not show up in the list of obvious exits in
a room.
If multiple exits match in name, MUX chooses between them randomly.
Another way of creating 'variable' exits is to use the @exitto attribute.
Related Topics: @exitto, @link, @open.
& EXP()
EXP()
FUNCTION: exp(<power>)
Returns the result of raising the numeric constant e to <power>.
<power> may be a floating point number, and a floating point result
is returned.
Examples:
> say exp(0)
You say, "1"
> say exp(1)
You say, "2.718282"
> say exp(2)
You say, "7.389056"
Related Topics: e(), log(), ln(), power().
& EXPTIME()
EXPTIME()
FUNCTION: exptime(<seconds>)
This function converts seconds to a number of time elements (hours,
minutes, seconds) that is equivalent to the given number of
<seconds>.
This is very similar to the writetime() function, but the elements
are given their short names instead of long names.
Example:
> say exptime(45)
You say, "45s"
> say exptime(12345)
You say, "3h 25m 45s"
> say exptime(123456)
You say, "1d 10h 17m 36s"
Related Topics: writetime(), singletime(), digittime(), secs(), time().
& EXTRACT()
EXTRACT()
FUNCTION: extract(<string>, <first>, <length>[,<idelim>[,<odelim>]])
Extract returns a string of length words, starting with the first
word. Unlike letters, the first word in a string is number 1,
instead of 0.
The input delimiter for <string> is <idelim>. The output list
delimiter is <odelim>. <idelim> defaults to a space.
Examples:
> say extract(This is a really neat example, 4, 2)
You say, "really neat"
> say extract(Another@funky@test@for@extract, 3, 3, @)
You say, "test@for@extract"
Related Topics: index(), insert(), ldelete(), replace().
& FAE
FAE
The FAE flag is used to denote an object which is visible to others with
a regular description but sees FAEDESC's and those set CHIMERA. Most
commonly used for Changelings and those who have been Enchanted by one.
& FAILURE
FAILURE
You fail to use a player or a thing when you cannot take it (because its
lock fails). You fail to use an exit when you cannot go through it
(because it is unlinked or locked). You fail to use a room when you fail
to look around (because it's locked).
Related Topics: get, look, @afail, @fail, @lock, @ofail.
& FCOUNT()
FCOUNT()
FUNCTION: fcount([<expression>])
Without an <expression>, this function returns the number of function
invocation since the beginning of the queue cycle. With an <expression>,
this function returns the number of function invocations used by the
<expression>. Softcode can use this result to gauge its distance from the
configured function invocation limit.
Related Topics: fdepth(), function_invocation_limit in wizhelp
& FDEPTH()
FDEPTH()
FUNCTION: fdepth()
This function returns the current state of the function recursion
counter. Softcode can use this result to gauge its distance from the
configured function recursion limit.
Related Topics: fcount(), function_recursion_limit in wizhelp
& FDIV()
FDIV()
FUNCTION: fdiv(<number1>,<number2>)
Returns the floating point quotient from dividing <number1> by <number2>.
<number> may be a floating point number, and a floating point result is
returned.
Examples:
> say fdiv(15,3)
You say, "5"
> say fdiv(16,3)
You say, "5.333333"
> say fdiv(17,3)
You say, "5.666667"
> say fdiv(18,3)
You say, "6"
> say fdiv(-17,3)
You say, "-5.666667"
> say fdiv(10,3.5)
You say, "2.857143"
Related Topics: add(), mod(), mul(), round(), sub(), trunc().
& FILTER()
FILTER()
FUNCTION: filter([<obj>/]<attr>, <list>[, <in delim>[, <out delim>[,<arg1>[,<arg2>[,...]]]]])
This function evaluates the contents of <attr> for each element of <list>,
passing it in as %0. A <out delim>-separated list is returned of those
elements for which the evaluation returns the value 1. Arguments %1, %2,
... are taken from <arg1>, <arg2>, ... respectively, if present.
<in delim> may be used to specify an input delimiter other than space.
Examples:
> &IS_ODD object=mod(%0,2)
> say filter(object/is_odd,1 2 3 4 5)
You say, "1 3 5"
Related Topics: u(), map(), fold()
& FILTERBOOL()
FILTERBOOL()
FUNCTION: filterbool([<obj>/]<attr>, <list>[, <in delim>[, <out delim>[,<arg1>[,<arg2>[,...]]]]])
This function evaluates the contents of <attr> for each element of <list>,
passing it in as %0. A <out delim>-separated list is returned of those
elements for which the evaluation returns a boolean-true value. Arguments
%1, %2, ... are taken from <arg1>, <arg2>, ... respectively, if present.
<in delim> may be used to specify an input delimiter other than space.
Examples:
> &IS_ODD object=mod(%0,2)
> say filterbool(object/is_odd,1 2 3 4 5)
You say, "1 3 5"
Related Topics: u(), map(), fold()
& FINDABLE()
FINDABLE()
FUNCTION: findable(<object>,<victim>)
Returns 1 if <object> can locate <victim>, or 0 otherwise. This checks
wizard status of <object>, UNFINDABLE status of <victim>, and other
related factors. If <object> would not be able to see <victim> were
they in the same location a 0 will be returned.
Related Topics:
& FIRST()
FIRST()
FUNCTION: first(<string>[, <delim>])
Returns the first word of a string, that is, everything to the left
of the first space in the string, or the entire string if there are
no spaces in the string.
<delim> may be used to specify a word delimiter other than a space.
Example:
> say first(This is a test)
You say, "This"
> say first(Would you like coffee, or perhaps tea)
You say, "Would"
> say first(List&with&nonstandard&delimiters,&)
You say, "List"
Related Topics: rest().
& FIXED
FIXED
FLAG: FIXED(f) ()
No object may teleport or go home when this flag is set. This
flag may only be set by a wizard. If set on a player, neither they nor
any of their objects may teleport or go home.
Related Topics:
& FLAG LIST
FLAG LIST
Flag Title Flag Title Flag Title Flag Title
-------------------------------------------------------------------------
A - ABODE | B - BLIND | C - CHOWN_OK | D - DARK
E - EXIT(*) | F - FLOATING | G - GOING | H - HAVEN
I - INHERIT | J - JUMP_OK | K - KEY | L - LINK_OK
M - MONITOR | N - NOSPOOF | O - OPAQUE | P - PLAYER(*)
Q - QUIET | R - ROOM(*) | S - STICKY | T - TRACE
U - UNFINDABLE | V - VISUAL | W - WIZARD | X - ANSI
Y - PARENT_OK | Z - ROYALTY | a - AUDIBLE | b - AUDITORIUM
c - CONNECTED | d - DESTROY_OK | e - ENTER_OK | f - FIXED
g - UNINSPECTED| h - HALTED | i - IMMORTAL | j - GAGGED
k - KEEPALIVE | l - LIGHT | m - MYOPIC | n - NO_COMMAND
p - PUPPET | q - TERSE | r - ROBOT | s - SAFE
t - TRANSPARENT| u - SUSPECT | v - VERBOSE | w - STAFF
x - SLAVE | $ - SITEMON | z - OPEN_OK | ? - HEAD
- - NOBLEED | | - VACATION | ~ - ASCII | ( - HTML
| COLOR256 | UNICODE |
------------------------------------------------------------------------
(*) Note that these 'flags' are really types. Also notice that THING
is not in the list. That is, andflag(me,P) and hastype(me,PLAYER)
work, but hasflag(me,THING) does not.
{ 'help flag list2' for more }
& FLAG LIST2
FLAG LIST2
Flag Title Flag Title Flag Title Flag Title
------------------------------------------------------------------------
Without Realms Patch Flags:
0 - MARKER0 | 1 - MARKER1 | 2 - MARKER2 | 3 - MARKER3
4 - MARKER4 | 5 - MARKER5 | 6 - MARKER6 | 7 - MARKER7
8 - MARKER8 | 9 - MARKER9 | |
------------------------------------------------------------------------
Realms Patch Flags:
0 - FAE | 1 - CHIMERA | 2 - PEERING | 3 - UMBRA
4 - SHROUD | 5 - MATRIX | 6 - OBF | 7 - HSS
8 - MEDIUM | 9 - DEAD | |
------------------------------------------------------------------------
Firan-specific
# - IMMOBILE | > - LINEWRAP | - QUELL | ! - RESTRICTED
+ - PARENT | | |
------------------------------------------------------------------------
For information on a particular flag, type 'help <flagname>'.
Some flags may be disabled at your particular MUX.
Related Topics: andflags(), hasflag(), hastype(), orflags().
& FLAGS
FLAGS
Everything in the universe of this MUX (Rooms, Exits, Things, Players,
etc) are represented in the same way at the program level. A room merely
has the room flag set and a player has the player flag set. In addition,
flags also give objects abilities or qualities. For instance, a wizard
has the wizard flag set. That is what lets the program know he may use
wizard abilities. An object or room may have the dark flag set. In the
case of an object, this makes the object invisible to normal eye-sight.
In the case of a room, the room becomes too dark to see other objects or
players. To get a list of the flags that are available, type '@list flags'
or 'help flag list'. For more specific information on a particular flag,
request help on the flag's name, as in 'help ENTER_OK'.
& FLAGS()
FLAGS()
FUNCTION: flags(<object>)
flags(<object>/<attr>)
Flags() returns a string of letters as a single word. Each letter in this
word represents a flag associated with <object> or with the <attr> on
<object>. Some flags are not revealed due to visibility and permissions.
Related Topics: andflags(), orflags()
& FLOATING
FLOATING
FLAG: FLOATING(F) ()
If a room is set floating, you will not be notified every 10
minutes or so that you have a disconnected room.
Related Topics:
& FLOOR()
FLOOR()
FUNCTION: floor(<number>)
Returns the largest integer less than or equal to <number>. <number> may be
a floating point number, and an integer result is returned.
Examples:
> say floor(5)
You say, "5"
> say floor(5.2)
You say, "5"
> say floor(5.8)
You say, "5"
> say floor(-5)
You say, "-5"
> say floor(-5.2)
You say, "-6"
Related Topics: ceil(), fdiv(), mod(), round(), trunc().
& FLOORDIV()
FLOORDIV()
FUNCTION: floordiv(<number1>,<number2>)
Returns the integer quotient from dividing <number1> by <number2>.
However, integer division for the case where either <integer1> or
<integer2> is negative is defined in a specific way -- by choosing
the largest integer that is less than or equal to the algebraic
quotient. If <integer1> and <integer2> are the same sign, then
idiv() and floordiv() are equivalent.
For example, division of -9 by 5 would give -2 by this definition
instead of -1. idiv() would return -1. floordiv() would return -2.
The floordiv() function goes with the mod() function.
floordiv(x,y)*y + mod(x,y) ==> x
Examples:
> say floordiv(15,3)
You say, "5"
> say floordiv(16,3)
You say, "5"
> say floordiv(17,3)
You say, "5"
> say floordiv(18,3)
You say, "6"
> say floordiv(-17,3)
You say, "-6"
Related Topics: fdiv(), iadd(), idiv(), imul(), isub(), mod(),
remainder().
& FMOD()
FMOD()
FUNCTION: fmod(<number1>,<number2>)
Returns the smallest positive floating-point remainder left from dividing
<number1> by <number2>.
Example:
> say fmod(6.1,2.5)
You say, "1.0999999999999996"
Related Topics: mod()
& FOLD()
FOLD()
FUNCTION: fold([<obj>/]<attr>, <list>[, <base-case>[, <delim>])
This function iteratively processes a list through a function, feeding
the result of one step into the next step as %0, passing in the next element
from the list as %1.
If a base case is provided, it is used as the initial %0. If not, the first
list element is passed as %0 and the second is passed as %1, and subsequent
iterations proceed normally.
<delimiter> may be used to specify a delimiter other than space, but you
must specify a base case in order to specify the delimiter.
Examples:
> &REP_NUM object=[%0][repeat(%1,%1)]
> say fold(object/rep_num,1 2 3 4 5,->)
You say, "->122333444455555"
> &ADD_NUMS object=add(%0,%1)
> say fold(object/add_nums,1 2 3 4 5)
You say, "15"
Related Topics: u(), iter(), map(), filter()
& FOREACH()
FOREACH()
FUNCTION: foreach([<object>/]<attribute>,<string>[,<begin>, <end>])
Maps a function onto a string.
Each character in <string> has the user-defined function of the first
argument performed on it; the character is passed to the function as
%0. The results are concatenated. If <begin> and <end> are specified,
only the characters between <begin> and <end> are parsed, other characters
are concatenated as they are. This allows a rudimentary form of tokens and
speeds up the evaluation greatly if tokenizing is your purpose.
Examples:
> &add_one me=[add(%0,1)]
> say [foreach(add_one, 54321)]
You say, "65432"
> &add_one me=[add(%0,1)]
> say [foreach(add_one, This adds #0# to numbers in this string,#,#)]
You say, "This adds 1 to numbers in this string."
Related Topics:
& FULLNAME()
FULLNAME()
FUNCTION: fullname(<dbref>)
This function returns the full name of the indicated object. This is the
same as name() in all cases except when <dbref> is an exit, then all the
aliases are returned as well.
Related Topics: name().
& FUNCTION CLASSES
FUNCTION CLASSES
Arithmetic: ABS ADD BAND BASECONV BNAND BOR BXOR CEIL CRC32
DEC DIE DIGEST DISTRIBUTE FDIV FLOORDIV FMOD IABS
IADD IDIV IMUL INC ISIGN ISUB MOD MUL PACK POWER
RAND REMAINDER SHA1 SHL SHR SIGN SUB SUCCESSES
SQRT UNPACK
Comsystem Information: CHANNELS CHANOBJ COMALIAS COMTITLE CWHO
Database Information: EXIT INZONE LOC LOCATE LROOMS MAIL MAILJ MAILFROM
MAILSIZE MAILSUBJ NEARBY NEXT NUM RLOC ROOM
SEARCH STATS VALID WHERE ZFUN ZONE ZWHO
Floating Point Conversion: FLOOR ROUND TRUNC
Game Information: CONFIG DUMPING MOTD MUDNAME POLL RESTARTS VERSION
{ 'help function classes2' for more }
& FUNCTION CLASSES2
FUNCTION CLASSES (continued)
Lists: CHOOSE COLUMNS EXTRACT ELEMENTS FOREACH FILTER
FILTERBOOL FIRST FOLD ILEV INDEX INSERT ITEMIZE
ITER LADD LAST LDELETE LIST LNUM LRAND MAP MATCH
MATCHALL MEMBER MIX MUNGE PARSE PICKRAND REMOVE
REST REVWORDS SETDIFF SETINTER SETUNION SHUFFLE
SORT SORTBY SPLICE STEP TABLE WORDS
Logarithms: E EXP LOG LN
Logical: AND ANDBOOL CAND CANDBOOL COR CORBOOL LAND LOR
NOT OR ORBOOL T XOR
Miscellaneous: @@ ANSI ART BEEP ERROR FCOUNT ISDBREF ISINT ISNUM
ISRAT ISWORD LIT NULL R SETQ SETR SUBEVAL
TEXT TEXTFILE
{ 'help function classes3' for more }
& FUNCTION CLASSES3
FUNCTION CLASSES (continued)
Object Information: ANDFLAGS APOSS ATTRCNT BITTYPE CHILDREN CMDS CON
CONTROLS CTIME DEFAULT EDEFAULT ELOCK ENTRANCES
EVAL FLAGS FULLNAME GET GET_EVAL GREP GREPI
HASATTR HASATTRP HASFLAG HASPOWER HASTYPE HOME
LATTR LATTRCMDS LATTRP LCMDS LCON LEXITS LFLAGS
LPARENT LOCALIZE LOCK MONEY MONIKER MTIME NAME
OBJ OBJEVAL OBJMEM ORFLAGS OWNER PARENT PFIND
PMATCH POSS POWERS S SUBJ TYPE U UDEFAULT ULOCAL
V VISIBLE XGET
Player Information: COLORDEPTH CONN CONNLAST CONNLEFT CONNMAX CONNNUM
CONNRECORD CONNTOTAL DOING FINDABLE HASQUOTA HEIGHT
HOST IDLE LWHO LPORTS PLAYMEM PORTS WIDTH
Relational: EQ GT GTE LT LTE MAX MIN NEQ
Side-Effect Functions: CREATE DESTROY EMIT LINK OEMIT PEMIT REMIT SET
SETNAME SETPARENT TEL TRIGGER
SQL: RSERROR RSNEXT RSPREV RSRELEASE RSREC RSRECNEXT
RSRECPREV RSROWS SQL
{ 'help function classes4' for more }
& FUNCTION CLASSES4
FUNCTION CLASSES (continued)
Strings: ACCENT AFTER ALPHAMAX ALPHAMIN BEFORE CAPSTR CASE
CAT CENTER CHR COMP CPAD DECRYPT DELETE EDIT
ENCRYPT ESCAPE GRAB GRABALL IF IFELSE LCSTR LJUST
LPAD LPOS MERGE MID ORD POS REGMATCH REGMATCHI
REGRAB REGRABALL REGRABALLI REGRABI REPEAT REPLACE
REVERSE RIGHT RJUST ROMAN RPAD SCRAMBLE SECURE
SPACE SPELLNUM SQUISH STRCAT STRIP STRIPACCENTS
STRIPANSI STRLEN STRMATCH STRMEM STRTRUNC SWITCH
TR TRANSLATE TRIM UCSTR WORDPOS WRAP
Time: CONVSECS CONVTIME DIGITTIME ETIMEFMT EXPTIME
RESTARTSECS RESTARTTIME SECS SINGLETIME STARTSECS
STARTTIME TIME TIMEFMT WRITETIME
Trigonometric: ACOS ASIN ATAN ATAN2 COS CTU DIST2D DIST3D PI SIN
TAN VADD VCROSS VDIM VDOT VMAG VMUL VSUB VUNIT
WOD Realms (optional): CANSEE
Reality Levels (optional): HASRXLEVEL HASTXLEVEL LISTRLEVELS RXLEVEL
TXLEVEL
& FUNCTION LIST
FUNCTION LIST
Help is available for the following functions:
@@() ABS() ACCENT() ACOS() ADD() AFTER()
ALPHAMAX() ALPHAMIN() AND() ANDBOOL() ANDFLAGS() ANSI()
APOSS() ART() ASIN() ATAN() ATAN2() ATTRCNT()
BAND() BASECONV() BEEP() BEFORE() BITTYPE() BNAND()
BOR() BXOR() CAND() CANDBOOL() CANSEE() CAPSTR()
CASE() CAT() CEIL() CENTER() CHANNELS() CHANOBJ()
CHILDREN() CHOOSE() CHR() CMDS() COLORDEPTH()COLUMNS()
COMALIAS() COMP() COMTITLE() CON() CONFIG() CONN()
CONNLAST() CONNLEFT() CONNMAX() CONNNUM() CONNRECORD()CONNTOTAL()
CONTROLS() CONVSECS() CONVTIME() COR() CORBOOL() COS()
CPAD() CRC32() CREATE() CTIME() CTU() CWHO()
DEC() DECRYPT() DEFAULT() DELETE() DESTROY() DIE()
DIGEST() DIGITTIME() DIST2D() DIST3D() DISTRIBUTE()DOING()
DUMPING() E() EDEFAULT() EDIT() ELEMENTS() ELOCK()
EMIT() ENCRYPT() ENTRANCES() EQ() ERROR() ESCAPE()
ETIMEFMT() EVAL() EXIT() EXP() EXPTIME() EXTRACT()
FCOUNT() FDEPTH() FDIV() FILTER() FILTERBOOL()FINDABLE()
FIRST() FLAGS() FLOOR() FLOORDIV() FMOD() FOLD()
("help function list2" for more)
& FUNCTION LIST2
FUNCTION LIST (continued)
FOREACH() FULLNAME() GET() GET_EVAL() GRAB() GRABALL()
GREP() GREPI() GT() GTE() HASATTR() HASATTRP()
HASFLAG() HASPOWER() HASQUOTA() HASRXLEVEL()HASTXLEVEL()HASTYPE()
HEIGHT() HOME() HOST() IABS() IADD() IDIV()
IDLE() IF() IFELSE() ILEV() IMUL() INC()
INDEX() INSERT() INZONE() ISDBREF() ISIGN() ISINT()
ISNUM() ISRAT() ISUB() ISWORD() ITEMIZE() ITER()
LADD() LAND() LAST() LASTCREATE()LATTR() LATTRCMDS()
LATTRP() LCMDS() LCON() LCSTR() LDELETE() LEXITS()
LFLAGS() LINK() LIST() LISTRLEVELS() LIT() LJUST()
LN() LNUM() LOC() LOCALIZE() LOCATE() LOCK()
LOG() LOR() LPAD() LPARENT() LPORTS() LPOS()
LRAND() LROOMS() LT() LTE() LWHO() MAIL()
MAILFROM() MAILSIZE() MAILJ() MAILSUBJ() MAP() MATCH()
MATCHALL() MAX() MEMBER() MERGE() MID() MIN()
MIX() MOD() MONEY() MONIKER() MOTD() MTIME()
MUDNAME() MUL() MUNGE() NAME() NEARBY() NEQ()
NEXT() NOT() NULL() NUM() OBJ() OBJEVAL()
("help function list3" for more)
& FUNCTION LIST3
FUNCTION LIST (continued)
OBJMEM() OEMIT() OR() ORBOOL() ORD() ORFLAGS()
OWNER() PACK() PARENT() PARSE() PEMIT() PFIND()
PI() PICKRAND() PLAYMEM() PMATCH() POLL() PORTS()
POS() POSS() POWER() POWERS() R() RAND()
REGMATCH() REGMATCHI() REGRAB() REGRABALL() REGRABALLI()REGRABI()
REMAINDER() REMIT() REMOVE() REPEAT() REPLACE() REST()
RESTARTS() RESTARTSECS() RESTARTTIME() REVERSE()
REVWORDS() RIGHT() RJUST() RLOC() ROMAN() ROOM()
ROUND() RPAD() RXLEVEL() S() SCRAMBLE() SEARCH()
SECS() SECURE() SET() SETDIFF() SETINTER() SETNAME()
SETPARENT() SETQ() SETR() SETUNION() SHA1() SHL()
SHR() SHUFFLE() SIGN() SIN() SINGLETIME()SORT()
SORTBY() SPACE() SPELLNUM() SPLICE() SQL() SQRT()
SQUISH() STARTSECS() STARTTIME() STATS() STEP() STRCAT()
STRIP() STRIPACCENTS() STRIPANSI() STRLEN() STRMATCH()
STRMEM() STRTRUNC() SUB() SUBEVAL() SUBJ() SUCCESSES()
SWITCH() T() TABLE() TAN() TEL() TERMINFO()
TEXT() TEXTFILE() TIME() TIMEFMT() TRANSLATE() TR()
("help function list4" for more)
& FUNCTION LIST4
FUNCTION LIST (continued)
TRIGGER() TRIM() TRUNC() TXLEVEL() TYPE() U()
UCSTR() UDEFAULT() ULOCAL() UNPACK() V() VADD()
VALID() VCROSS() VDIM() VDOT() VERSION() VISIBLE()
VMAG() VMUL() VSUB() VUNIT() WHERE() WIDTH()
WIPE() WORDPOS() WORDS() WRAP() WRITETIME() XGET()
XOR() ZFUN() ZONE() ZWHO()
& FUNCTIONS
FUNCTIONS
Functions are specialized commands used to manipulate strings and other
input. The format for a function is of this form: [fun-name(<input>)]
Although usually the []'s indicate an input that is optional, in this case
they are necessary and tell the MUX that this is a function, although
nested functions (like [first(rest(This is a nice day))] returns 'is') do
not require more than one pair of []'s. Nested brackets may be used when
it is necessary to insert a function call in the middle of an argument,
like [get(me/[get(me/vz)])], which returns the contents of the attribute
named in the VZ attribute.
For help on a particular function, type 'help <function name>'. You may
need to include the parentheses with the function name, ie.
'help <function name>()'. Type 'help function list' or '@list functions'
for a list of the available functions. 'help function classes' will show
a list of the functions broken down into classes.
Related Topics: @list functions, FUNCTION CLASSES, FUNCTION LIST.
& GAGGED
GAGGED
FLAG: GAGGED(j) ()
When a player is set GAGGED, they cannot speak or pose under any
circumstances. This flag has no meaning for objects, exits, or rooms.
Related Topics:
& GARBAGE
GARBAGE
Garbage is the un-object. It is the lack of an object -- the gap where an
object once was. This gap will eventually be filled as new objects are
created. Not to worry though. These gaps occupy very little memory. The
server does not allow softcode to search, modify, access, step into,
otherwise access these gaps.
It is best to leave garbage alone, and softcode should see these gaps between
valid dbrefs in the same way as if they were accessing dbrefs beyond the end
of the valid database.
Related Topics: @stats, stats()
& GENDER
GENDER
A player's (virtual) gender is specified in the Sex attribute. This
attribute controls how gender-specific pronoun substitutions are evaluated
for the player. If the player's Sex attribute starts with an 'M' or an 'm'
then the player is assumed to be male, 'F', 'f', 'W', and 'w' indicate
female, and anything else indicates neuter.
Related Topics: SUBSTITUTIONS.
& GET
GET
COMMAND: get[/<switch>] <object>
get[/<switch>] <exit>
get[/<switch>] <object>'s <sub-object>
The first form picks up <object> from your location and adds it to your
inventory. It will fail if the object is locked against you, or if you
are inside a player or object that you don't control and which isn't
set ENTER_OK.
The second form takes an exit from your location and adds it to you.
Anyone inside you may then use the exit to travel to the exit's destination.
You may take exits that you own, and exits owned by others in locations that
you own.
The third form takes <sub-object> from <object> and adds it to your
inventory. <object> must be ENTER_OK and <sub-object> must not be locked
against you for this to work. The lock on <object> is not checked.
{ 'help get2' for more }
& GET()
GET()
FUNCTION: get(<object>/<attribute>)
The get function fetches the specified attribute from the named object.
It can be used to get attributes from objects you own, public and visual
attributes of objects near you, and public and visual attributes other
than the description of players wherever they may be. If the attribute is
not present on <object>, its parent is searched for the attribute.
Example:
> read me
> say get(me/desc)
Related Topics: get_eval(), eval(), u(), v(), xget().
& GET2
GET (continued)
The following switch is recognized:
/quiet - Don't perform the @osucc/@asucc or @ofail/@afail attributes
on the target object. This switch only works if you control
the object.
<object> and <sub-object> may be either players or things.
'take' is the same as 'get'.
Related Topics: drop, @afail, @asucc, @fail, @ofail, @osucc, @succ,
ENTER_OK, FAILURE, SUCCESS.
& GET_EVAL()
GET_EVAL()
FUNCTION: get_eval(<object>/<attribute>)
The get_eval function returns the specified attribute from the named object
(just like the get function), except that function references and
%-substitutions have already been performed. In function references,
'me' refers to the object being looked at, and %-substitutions that refer
to the enactor (such as %n, %#, etc) refer to the object making the get_eval
call. If the attribute is not present on <object>, its parent is searched
for the attribute.
Example:
> @va test = This is a get_eval test on %n. The vb is [get(me/vb)]
> @vb test = VB from test
> @vb me = VB from me
> say get(test/va)
You say, "This is a get_eval test on %n. The vb is [get(me/vb)]"
> say get_eval(test/va)
You say, "This is a get_eval test on Foobar. The vb is VB from test"
Related Topics: get(), eval(), u(), v(), xget().
& GIVE
GIVE
COMMAND: give <player>=<amount/object>
Gives player the specified amount of money or <object>. You can't give
someone money if their new total would be greater than 10000 (No reason to
get greedy). Giving money requires the giver to pass the player's use @lock
because @apay may evaluate. You may also give players objects, but the
other player must be set ENTER_OK to receive something you give.
Related Topics: @apay, @cost, @opay, @pay, ENTER_OK.
& GOALS
GOALS
There is no ultimate goal to this game, except to have fun. There are
objects and places to build, puzzles to solve, scenery to visit, and people
to meet. There are no winners or losers, only fellow players. Enjoy.
& GOING
GOING
FLAG: GOING(G) ()
Used internally for the @destroy command, it is set on objects that are set
to be destroyed. In the event that a player decides before the next @dbck
to spare the object from destruction, they can accomplish this by reseting
the object's GOING flag.
Related Topics: @destroy, @dbck (in wizhelp).
& GOTO
GOTO
COMMAND: goto[/<switch>] <direction>
goto[/<switch>] home
<direction>
home
Moves you in the specified direction, assuming that the direction is not
locked against you. 'move home' is a special command that returns you to
your home. The word 'move' may be omitted.
The following switch is recognized:
/quiet - Don't perform the @osucc/@asucc/@odrop/@adrop or @ofail/@afail
attributes on the exit being used. This switch only works if
you control the exit.
'move' is the same as 'goto'.
Related Topics: enter, home, leave
& GRAB()
GRAB()
FUNCTION: grab(<list>, <pattern>[, <delim>])
This function matches <pattern> against each word in <list>, returning the
first word that matches. If no words match, then an empty string is
returned. The match is not case-sensitive, and wildcard characters are
permitted in <pattern>. <delim> may be used to specify a list delimiter
other than a space.
Examples:
> say grab(This is a new test,?e*)
You say, "new"
> say grab(Holodeck:#10~Airlock:#58~Dorm:#12~Brig:#83,Airlock:*,~)
You say, "Airlock:#58"
Related Topics: graball(), LISTS, member(), match(), regrab().
& GRABALL()
GRABALL()
FUNCTION: graball(<list>, <pattern>[, <idelim>[, <odelim>]])
This function matches <pattern> against each word in <list>, returning
all the words that match. If no words match, then an empty string is
returned. The match is not case-sensitive, and wildcard characters
are permitted in <pattern>. <idelim> may be used to specify the <list>
delimiter other than a space. <odelim> is the output delimiter.
Examples:
> say graball(This is a test of a test,test)
You say, "test test"
> say graball(This is testing a test,tes*)
You say, "testing test"
Related Topics: grab(), LISTS, regrab(), regraball().
& GREP()
GREP()
FUNCTION: grep(<object>,<attrs>,<pattern>)
This function returns a list of attributes on <object> containing
<pattern>. <attrs> is a wildcard pattern for attribute names to
search; if you want to search all attributes, use "*".
Parsing _does_ occur before this function is invoked. Therefore,
"special" characters will need to be escaped out. <pattern> is
NOT wildcard matched.
This function is case-sensitive. grepi() is a case-insensitive version.
Related Topics:
& GREPI()
GREPI()
FUNCTION: grepi(<object>,<attrs>,<pattern>)
This function works exactly like grep, but is case-insensitive.
Related Topics: grep()
& GT()
GT()
FUNCTION: gt(<integer1>,<integer2>)
Takes two integers, and returns a BOOLEAN (1 if and only if <integer1> is
greater than <integer2>, and 0 otherwise).
Warning: passing anything but integers will produce unexpected results, as
non-numeric strings usually are treated as numeric 0.
Example:
> say gt(4,5)
You say, "0"
> say gt(5,5)
You say, "0"
> say gt(6,5)
You say, "1"
> say gt(foo, bar)
You say, "0"
Related Topics: BOOLEAN VALUES, lt(), lte(), gte(), eq(), neq().
& GTE()
GTE()
FUNCTION: gte(<integer1>,<integer2>)
Takes two integers, and returns a BOOLEAN (1 if and only if <integer1> is
greater than or equal to <integer2>, and 0 otherwise).
Warning: passing anything but integers will produce unexpected results, as
non-numeric strings usually are treated as numeric 0.
Example:
> say gte(4,5)
You say, "0"
> say gte(5,5)
You say, "1"
> say gte(6,5)
You say, "1"
> say gte(foo, bar)
You say, "1"
Related Topics: BOOLEAN VALUES, lt(), lte(), gt(), eq(), neq().
& HALTED
HALTED
FLAG: HALTED(h) ()
While this flag is set, the object cannot perform any MUX
actions, listen, be triggered, etc.
Related Topics:
& HASATTR()
HASATTR()
FUNCTION: hasattr(<object>, <attribute name>)
Returns 1 if the object has the named attribute, and 0 if it does
not. If the object does not exist or the player does not have the
ability to examine the object, #-1 will be returned.
Hasattr() doesn't check for attributes inherited from parent
objects. Use hasattrp() for that.
Related Topics:
& HASATTRP()
HASATTRP()
FUNCTION: hasattrp(<object>, <attribute name>)
Returns 1 if the object or its parent has the named attribute,
and 0 if it does not. If the object does not exist or the player
does not have the ability to examine the object, #-1 will be returned.
Use hasattr() to check for attributes without checking parents.
Related Topics:
& HASFLAG()
HASFLAG()
FUNCTION: hasflag(<object>[/<attribute>],<flag>)
Returns true if object <object> has the flag named <flag> set on it. You
may not be able to retrieve information for objects that you do not own.
When an <attribute> is given, the following <flag> values can be used:
const, dark, god, hidden, html, locked, no_command, no_inherit, no_name,
no_parse, regexp, visual, and wizard.
Example:
> say hasflag(me, wizard)
You say, "0"
> say hasflag(me, connect)
You say, "1"
Related Topics:
& HASPOWER()
HASPOWER()
FUNCTION: haspower(<object>,<power>)
Returns true if object <object> has the power named <power> set on it.
You may not be able to retrieve information for objects that you do not
own.
Example:
> say haspower(me, announce)
You say, "0"
> say hasflag(me, extended_who)
You say, "1"
Related Topics: powers()
& HASQUOTA()
HASQUOTA()
FUNCTION: hasquota(<object>, <quota>[, <type>])
Returns true if object <object> has enough quota to build anything
requiring <quota> quota. If <type> is given, the function returns true if
there is enough quota to build a <type> object requiring <quota> quota.
Currently, MUX doesn't support typed quotas, but if it did, a type-specific
query may return true while a generic query would return false.
Example:
> say hasquota(me, 100)
You say, "0"
> say hasquota(me, 1)
You say, "1"
Related Topics: @quota
& HASRXLEVEL()
HASRXLEVEL()
FUNCTION: hasrxlevel(<target>,<level>)
Returns 1 if <target> has the specified Rx Level. You must control <target>.
If the level does not exist, or you do not control the target, it returns
a '#-1'.
NOTE: This function is not available unless reality levels was enabled at
compile-time.
Example:
> say hasrxlevel(me,real)
You say, '1'.
Related Topics: hastxlevel(), rxlevel(), txlevel(), listrlevels()
& HASTXLEVEL()
HASTXLEVEL()
FUNCTION: hastxlevel(<target>,<level>)
Returns 1 if <target> has the specified Tx Level. You must control <target>.
If the level does not exist, or you do not control the target, it returns
a '#-1'.
NOTE: This function is not available unless reality levels was enabled at
compile-time.
Example:
> say hastxlevel(me,real)
You say, '1'.
Related Topics: hasrxlevel(), rxlevel(), txlevel(), listrlevels()
& HASTYPE()
HASTYPE()
FUNCTION: hastype(<object>, <type>)
Returns 1 if the object is of the named type, otherwise 0.
Valid types are: ROOM, EXIT, PLAYER, THING.
If an invalid type is given, #-1 is returned.
Related Topics: type().
& HAVEN
HAVEN
FLAG: HAVEN(H) ()
@set here=haven;@set me=haven. If a location is HAVEN, you
cannot kill in that location. The HAVEN flag no longer blocks pages or
@pemits, use @lock/page instead.
Related Topics: @lock/page.
& HEAD
HEAD
FLAG: HEAD(?) ()
This is another marker flag, for faction heads and the like. As
with STAFF, no powers come with it, it is purely a marker.
Related Topics:
& HEIGHT()
HEIGHT()
FUNCTION: height(<player|port>)
Returns the height of the client window as reported by Telnet's Negotiate
About Window Size (NAWS) option. For clients which do not negotiate the
NAWS option, a value of 24 is returned.
If <player|port> is numeric, it's taken as a port number (as shown in
SESSION). Otherwise, it's treated as a player name. If the named player is
connected more than once, the height of the session having the smallest idle
time is returned.
You and any object with the See_All @power may obtain the height of your
sessions.
Example:
> say height(me)
You say, "26"
Related Topics: colordepth(), terminfo(), width().
& HERE
HERE
The word 'here' refers to the room you are in (if you are inside an object,
it refers to the object that you are in, not the room that the object is
in). For example, to rename the room you are in (if you control it), you
could enter '@name here= <new name>'.
& HOME()
HOME()
FUNCTION: home(<object>)
Returns the object's home.
Example:
> exam me
Mortal(#226Pc)
Type: PLAYER Flags: CONNECTED
Desc:Just a plain, old boring Mortal. You know.
Owner: Mortal Key: VA:foobar Clams: 920
Last:Thu Dec 19 08:57:21 1991
Home: Mortal's Room(#367R)
Location: The Town Square
> say home(me)
You say, "#367"
Related Topics:
& HOMES
HOMES
Every thing or player has a home. This is where players when they go home,
or things with the STICKY flag set go when dropped. Homes are set with the
@link command. A thing's home defaults to the room where it was created, if
you control that room, or your home. You can link an exit to send players
home with '@link <dir>=home'. Drop-tos can also be set to 'home'.
Related Topics: @link, DROP-TO, STICKY.
& HOST()
HOST()
FUNCTION: host(<player|port>)
Returns the host name for <player|port> as seen on the SESSION report.
If <player|port> is numeric, it's taken as a port number. Otherwise, it's
treated as a player name. If the named player is connected more than once,
the first connection is returned.
Related Topics: SESSION.
& HSS
HSS
The HSS flag denotes someone who can see through certain levels of
invisibility. They must have the HSS_LEVEL attribute set. If they have
this flag and attribute set they will see anyone with a lower OBF_LEVEL
then their HSS_LEVEL attribute, they will also see the OBFDESC if it
is present, showing the invisible character's true appearance. However,
if HSS_LEVEL is equal to OBF_LEVEL then there is a random chance that
they will see through the invisibility.
Related Topics: OBF
& HTML
HTML
FLAG: HTML(() ()
This flag is normally set as part a negotiation with any Pueblo-aware
client. It causes certain HTML-esque tags to be added around certain kinds
of output. A Pueblo-aware client recognizes these tags and changes the
appearance of the intervening text accordingly.
Related Topics: PUEBLO, @htdesc
& IABS()
IABS()
FUNCTION: iabs(<integer>)
Returns the absolute value of its argument.
Examples:
> say iabs(4)
You say, "4"
> say iabs(-4)
You say, "4"
> say iabs(0)
You say, "0"
Related Topics: abs(), isign(), sign().
& IADD()
IADD()
FUNCTION: iadd(<number1>[,<numberN>]...)
Returns the result of adding its integer arguments together. You may
add up to 100 numbers in one iadd() call. Similar to add() except
that the addition is done with integer math.
Example:
> say iadd(2,4)
You say, "6"
> say iadd(5,3,7,-4)
You say, "11"
Related Topics: add(), dec(), idiv(), imul(), inc(), isub(), mod(),
mul(), sub().
& IDIV()
IDIV()
FUNCTION: idiv(<number1>,<number2>)
Returns the integer quotient from dividing <number1> by <number2>.
However, integer division for the case where either <integer1> or
<integer2> is negative is defined in a specific way -- by choosing
the smallest integer that is greater than or equal to the algebraic
quotient. If <integer1> and <integer2> are the same sign, then
idiv() and floordiv() are equivalent.
For example, division of -9 by 5 would give -1 by this definition
instead of -2. idiv() would return -1. floordiv() would return -2.
idiv(x,y)*y + remainder(x,y) ==> x
Examples:
> say idiv(15,3)
You say, "5"
> say idiv(16,3)
You say, "5"
> say idiv(17,3)
You say, "5"
> say idiv(18,3)
You say, "6"
> say idiv(-17,3)
You say, "-5"
Related Topics: iadd(), imul(), isub(), fdiv(), floordiv(), fmod(), mod(),
remainder().
& IDLE()
IDLE()
FUNCTION: idle(<player|port>)
Returns the number of seconds that <player|port> has been idle. If
<player|port> is not connected then -1 is returned.
If <player|port> is numeric, it's taken as a port number (as shown in
SESSION). Otherwise, it's treated as a player name. If the named player is
connected more than once, the smallest idle time is returned.
Example:
> WHO
Player Name On For Idle Doing
Wizard 00:04 1m
Mortal 00:11 0s
Evinar 00:12 6m
3 Players logged in.
> say idle(wiz)
You say, "6"
> say idle(e)
You say, "371"
> say idle(frobozz)
You say, "-1"
Related Topics: WHO, conn(), lwho().
& IF()
& IFELSE()
IF()
IFELSE()
FUNCTION: if(<expression>,<true string>[,<false string>])
ifelse(<expression>,<true string>,<false string>)
This function returns <true string> if BOOLEAN <expression> is TRUE,
<false string> otherwise. Much more efficient than an equivalent switch().
It can also return different messages based on whether <expression> is
nothing or contains text. if() does the same thing, but the third,
<false string> argument is optional.
Example:
> think ifelse(v(test),Test exists!,Test doesn't exist.)
Test doesn't exist.
Related Topics: BOOLEAN VALUES, switch().
& ILEV()
ILEV()
FUNCTION: ilev()
Returns the nesting level of iter(), list(), and parse() functions. Outside
of any iterator, ilev() returns -1. The first level is indicated by 0, the
second by 1, etc.
Related Topics: iter(), list().
& IMMOBILE
IMMOBILE
FLAG: IMMOBILE() (#)
Objects set IMMOBILE cannot move by any means, including using exits,
entering other objects, being picked up or dropped, or by @teleporting.
This flag is only available with --enable-firanmux.
Related Topics:
& IMMORTAL
IMMORTAL
FLAG: IMMORTAL(i) ()
Objects set immortal cannot be killed and don't use up money.
Only settable by wizards. This is useful when an object's location
shouldn't be changed by Joe Player, but you don't want to have to re-link it
to its current location whenever it moves.
Related Topics:
& IMUL()
IMUL()
FUNCTION: imul(<number1>[,<numberN>]...)
Returns the result of multiplying its integer arguments together.
Similar to mul() except that the multiplication is done with
faster integer math.
Examples:
> say imul(3,5)
You say, "15"
> say imul(3,5,-2)
You say, "-30"
Related Topics: add(), fdiv(), iadd(), idiv(), isub(), mod(), mul(),
round(), sub(), trunc().
& INC()
INC()
FUNCTION: inc(<number>)
Returns <number> plus 1. Faster and more efficient than
add(<number>,1). Decimal places are truncated.
Related Topics: add(), dec(), iadd(), isub(), sub().
& INDEX()
INDEX()
FUNCTION: index(<list>,<character>,<first>,<length>)
This function is similar to EXTRACT(), except that an item in the
list may be more than one word; instead of a space being used to
separate items in the list, <character> is used. The function returns
<length> items starting from that in the <first> position. Trailing
spaces are trimmed. The comma cannot be used as the <character> separator.
Example:
> say [index(Cup of Tea | Mug of Beer | Glass of Wine, |, 2, 1)]
You say, "Mug of Beer"
Related Topics: extract().
& INFO
INFO
COMMAND: info
Displays detailed version information about the server including
the operating system and whether WOD_REALMS is included or not.
This commands can be used before logging from the welcome screen.
Example:
> INFO
### Begin INFO 1.1
Name: AnonymousMUX
Uptime: Sat Aug 03 13:08:56 2002
Connected: 18
Size: 231
Version: MUX 2.2.1.50 Beta
Patches: WOD_REALMS
### End INFO
Related Topics: QUIT, WHO, version.
& INHERIT
INHERIT
FLAG: INHERIT(I) ()
Previously, Wizard-owned objects had wizard powers. This was
a problem in many cases, so that behavior has changed. Now, only Wizard
objects or Wizard-owned Inherit-set objects have wizard powers. Only
players can set the Inherit flag, and the Inherit flag is reset during
@chown. If a player is set Inherit, all his stuff is assumed to be
inherit, so his objects can control him. If a player is NOT Inherit,
his stuff does NOT control him. (i.e. cannot @force him.) This flag
is not especially useful for non-wizards.
Related Topics:
& INSERT()
INSERT()
FUNCTION: insert(<list>, <positions>, <word>[, <input delim> [, <output delim>]])
This function inserts <word> at the given <positions(s)> within <list> so
that each new word becomes the word at that <position>. Negative
<positions> are relative to the end of the list. List elements are moved to
the right to make room for the new elements.
This function may also be used to append a word to a list.
Elements of the returned list are separated by <output delim> which defaults to
<input delim> which defaults to a space.
Examples:
> say insert(This is a test, 4, new)
You say, "This is a new test"
> say insert(Yet@Another@List, 3, Funky, @)
You say, "Yet@Another@Funky@List"
Related Topics: extract(), ldelete(), replace().
& INUM()
INUM()
FUNCTION: itext(<n>)
inum(<n>)
ilev()
These functions, when called within an iter() or parse(), return the
equivalent of ## (itext) or #@ (inum), with reference to the nth more
outermost iter(), where n=0 refers to the current iter(), n=1 to an iter()
in which the current iter() is nested, etc.
Unlike the ## and #@ substitutions which are substituted in the evaluation
string before it is evaluated, itext(), inum(), and ilev() substitute their
values as part of evaluation. In this way, the use of these functions is
safer than the ## and #@ substitutions and is therefore preferred.
> say [iter(red blue green,iter(fish shoe, #@:##))]
You say, "1:red 1:red 2:blue 2:blue 3:green 3:green"
> say [iter(red blue green,iter(fish shoe, [inum(1)]:[itext(1)]))]
You say, "1:red 1:red 2:blue 2:blue 3:green 3:green"
> say [iter(red blue green,iter(fish shoe, [inum(0)]:[itext(0)]))]
You say, "1:fish 2:shoe 1:fish 2:shoe 1:fish 2:shoe"
> say [iter(red blue green,iter(fish shoe, [itext(1)]:[itext(0)]))]
You say, "red:fish red:shoe blue:fish blue:shoe green:fish green:shoe"
Related Topics: iter(), ilev(), itext().
& INVENTORY
INVENTORY
COMMAND: inventory
Lists what you are carrying and how much money you have.
Related Topics: score.
& INZONE()
INZONE()
FUNCTION: inzone(<object>)
Returns a list of rooms in the zone defined by <object>. Inzone requires
the executor to either own/control the <object> or possess wizard/royalty
permissions.
Related Topics: zwho(), ZONES.
& ISDBREF()
ISDBREF()
FUNCTION: isdbref(<string>)
This function will return 1 if the string passed to it is a valid dbref.
To be a valid dbref the string must begin with '#' and be followed by an
integer. Also, the dbref must exist in the current database as a valid
object. If the object fails either of these criteria, then a 0 is
returned.
Example:
> say isdbref(#-1)
You say, "0"
> say isdbref(#1)
You say, "1"
> say isdbref(This is not a dbref)
You say, "0"
Related Topics: BOOLEAN VALUES, isint(), isnum(), israt(), isword().
& ISIGN()
ISIGN()
FUNCTION: isign(<integer>)
Returns -1, 0, or 1 depending on whether <integer> is negative, zero, or
positive, respectively.
Examples:
> say isign(-4)
You say, "-1"
> say isign(4)
You say, "1"
> say isign(0)
You say, "0"
> say isign(-1)
You say, "-1"
Related Topics: abs(), iabs(), sign().
& ISINT()
ISINT()
FUNCTION: isint(<string>)
This function will return 1 (TRUE) if the argument is a valid integer and 0
(FALSE) if it is not. Integers have an optional leading + or - sign followed
by digits only.
Example:
> say isint(22223.0000)
You say, "0"
> say isint(+77)
You say, "1"
> say isint(22 L)
You say, "0"
Related Topics: BOOLEAN VALUES, isdbref(), isnum(), israt(), isword().
& ISNUM()
ISNUM()
FUNCTION: isnum(<string>)
This function will return 1 (TRUE) if the argument is a valid number and
0 (FALSE) otherwise. This definition of a number includes scientific
notation as well as a certain case-insensitive 'special words': NaN, -Inf,
+Inf, and Ind.
You can test more restrictively with israt() or isint().
Example:
> say isnum(22223.0000)
You say, "1"
> say isnum(10E-20)
You say, "1"
> say isnum(+77)
You say, "1"
>say isnum(+Inf)
You say, "1"
> say isnum(22 L)
You say, "0"
>say isnum(Bad Numbers!)
You say, "0"
Related Topics: BOOLEAN VALUES, isdbref(), isint(), israt(), isword().
& ISRAT()
ISRAT()
FUNCTION: israt(<string>)
This function will return 1 (TRUE) if the argument is a rational and 0
(FALSE) otherwise. Rational by this definition includes many real numbers,
but excludes scientific notation and 'special words': NaN, -Inf, +Inf, and
Ind.
You can test more restrictively with isint() and more inclusively with
isnum().
Example:
> say israt(22223.0000)
You say, "1"
> say israt(+77)
You say, "1"
> say israt(1E20)
You say, "0"
Related Topics: BOOLEAN VALUES, isdbref(), isint(), isnum(), isword().
& ISUB()
ISUB()
FUNCTION: isub(<number1>,<number2>)
Returns the result of subtracting integer <number2> from integer
<number1>. Similar to sub() except that the subtraction is done with
faster integer math.
Example:
> say isub(5,2)
You say, "3"
Related Topics: add(), dec(), iadd(), idiv(), imul(), inc(), mod(),
sub().
& ISWORD()
ISWORD()
FUNCTION: isword(<string>)
This function will return 1 (TRUE) if every character in <string> is a
letter and 0 (FALSE) otherwise.
Example:
> say isword(Foo)
You say, "1"
> say isword(Foo8)
You say, "0"
Related Topics: BOOLEAN VALUES, isdbref(), isint(), isnum(), israt().
& ITEMIZE()
ITEMIZE()
FUNCTION: itemize(<list>[, <delim>[, <conj>[, <punc>]]])
This function takes a <delim>-separated <list>, and:
If there's just one element, return it.
If there's two elements, return <e1> <conj> <e2>
If there's more than two, return <e1><punc> <e2><punc> ... <conj> <en>
The default <conj> is "and", default <punc> is ",", and default <delim> is
space.
Examples:
> say [itemize(eggs)] * [itemize(eggs bacon)]
You say, "eggs * eggs and bacon"
> say [itemize(eggs bacon spam)]
You say, "eggs, bacon, and spam"
> say [itemize(eggs bacon spam, ,&,;)]
You say, "eggs; bacon; & spam"
& ITER()
& PARSE()
ITER()
PARSE()
FUNCTION: iter(<list>,<eval>[,<input delim>[,<output delim>]])
parse(<list>,<eval>[,<input delim>[,<output delim>]])
<list> is a <input delim>-separated list of strings (e.g., A B C). <eval>
is a string that is to be evaluated once for each item in <list> replacing
the special symbol ## with the corresponding item from <list> and the symbol
#@ with the position within the list being iterated. Remember that <eval> is
evaluated after ## and #@ are substituted. For this reason, itext() is
preferred over ##, and inum() is preferred over #@.
An <output delim>-separated list of the results of these evaluations is
returned to the caller. The effect is very similar to @dolist except that
the results are made into a list and returned instead of executed.
In addition to any single character, <output delim> can also be the null-
delimiter, @@, or a newline, %r. By default, input and output delimiters are
both space.
Examples:
> say iter(This is a test,strlen(##))
You say, "4 2 1 4"
> say iter(lnum(10),mul(mul(##,##),10))
You say, "0 10 40 90 160 250 360 490 640 810"
> say iter(lcon(me),[name(##)]..[money(##)])
You say, "test..1 t1..1 radio..1 The Wizard's Pointy Hat..1"
> say iter(Was it a cat I saw,[words(##)] #@,s)
You say, "1 1 4 2 1 3"
Related Topics: @dolist, ilev(), inum(), itext(), list(), step()
& ITEXT()
ITEXT()
FUNCTION: itext(<n>)
inum(<n>)
ilev()
These functions, when called within an iter() or parse(), return the
equivalent of ## (itext) or #@ (inum), with reference to the nth more
outermost iter(), where n=0 refers to the current iter(), n=1 to an iter()
in which the current iter() is nested, etc.
Unlike the ## and #@ substitutions which are substituted in the evaluation
string before it is evaluated, itext(), inum(), and ilev() substitute their
values as part of evaluation. In this way, the use of these functions is
safer than the ## and #@ substitutions and is therefore preferred.
> say [iter(red blue green,iter(fish shoe, #@:##))]
You say, "1:red 1:red 2:blue 2:blue 3:green 3:green"
> say [iter(red blue green,iter(fish shoe, [inum(1)]:[itext(1)]))]
You say, "1:red 1:red 2:blue 2:blue 3:green 3:green"
> say [iter(red blue green,iter(fish shoe, [inum(0)]:[itext(0)]))]
You say, "1:fish 2:shoe 1:fish 2:shoe 1:fish 2:shoe"
> say [iter(red blue green,iter(fish shoe, [itext(1)]:[itext(0)]))]
You say, "red:fish red:shoe blue:fish blue:shoe green:fish green:shoe"
Related Topics: iter(), inum(), ilev().
& JUMP_OK
JUMP_OK
FLAG: JUMP_OK(J) ()
When a room or thing is set JUMP_OK, then that location can be teleported
into by anyone.
Related Topics: @teleport
& KEEPALIVE
KEEPALIVE
FLAG: KEEPALIVE(k) ()
Only meaningful for players and robots. When set on a player causes the
MUX to send non-displaying small packets periodically to stop that player's
link timing out over certain types of network hardware.
Setting this flag is not recommended unless your connection keeps dropping.
Related Topics:
& KEY
KEY
FLAG: KEY(K) ()
When an object (of any type) is KEYed, non-player objects (e.g., puppets)
fail any locks that would have been tested. This could affect many kinds of
actions including the ability to pick up, give, enter, or pemit.
It is equivalent to the following @lock:
&ISPLAYER obj=hastype(%#,PLAYER)
@lock/... obj=ISPLAYER/1
Because locks are not always tested (e.g., if there is a controlling
relationship), and they are not necessarily tested at predictable times,
the use of KEY can make softcode difficult to debug.
Related Topics:
& KILL
KILL
COMMAND: kill <player> [=<cost>]
Attempts to kill the specified player. Killing costs <cost> coins, which
gives you a <cost>% chance of killing the player. Thus, spending 100
coins always works (except against wizards and immortals, who can never be
killed). Players cannot be killed in rooms which have been set HAVEN or
which they control. If you don't specify a cost, the default is 10 (for a
10% chance of success). The player, if killed, receives <cost>/2 coins in
insurance.
Related Topics: @akill, @kill, @okill, BEING KILLED, IMMORTAL, WIZARD.
& LADD()
LADD()
FUNCTION: ladd(<list of numbers>[,<delim>])
Adds a list of numbers together. These numbers may be integer or
floating-point.
Examples:
> say [ladd(1 2 3 -1)]
You say, "5"
> say [ladd(4|5.1|6,|)]
You say, "15.1"
Related Topics: add(), iadd().
& LAND()
LAND()
FUNCTION: land(<list of booleans>[,<delim>])
Takes a list of one or more BOOLEAN-Z values, and returns 1 (TRUE) if all
elements are TRUE.
Examples:
> say [land(1 0)]
You say, "0"
> say [land(1|1,|)]
You say, "1"
Related Topics: and(), lor(), not(), t().
& LAST()
LAST()
FUNCTION: last(<string>[, <delim>])
Returns the last word of a string, that is, everything to the right
of the last space in the string, or the entire string if there are no
spaces in the string.
<delim> may be used to specify a word delimiter other than a space.
Examples:
> say last(This is a test)
You say, "test"
> say last(Happy-Fun-Test-Thing,-)
You say, "Thing"
Related Topics: first(), rest().
& LASTCREATE()
LASTCREATE()
FUNCTION: lastcreate([<object>, [,<type>]])
Returns the dbref of the last created object for <object>. If object is not
specified, the dbref of the executor is used. The optional argument,
<type>, returns the dbref of the last created object of the given type.
Type may be 'r', 'e', 't', or 'p' for room, exit, thing, or player,
respectively.
Examples:
> say lastcreate(me)
You say, "#2047"
> say lastcreate(me, r)
You say, "#836"
& LATTR()
LATTR()
FUNCTION: lattr(<object>[/<wild-pattern>])
Returns a list of the attributes set on <object>. If <wild-pattern> is
given, only attributes matching it are returned.
Examples:
> ex me
Mortal(#226Pc)
....
VC:Mon Sep 9 12:09:01 1991
VE:baz
Last:Thu Dec 19 08:57:21 1991
VV(#2+):Foof!
Domain:Abusees
....
> say lattr(me)
You say, "Desc VC VE Last VV Domain"
> say lattr(me/v*)
You say, "VC VE VV"
Related Topics: attrcnt(), @dolist, lattrp().
& LATTRCMDS()
LATTRCMDS()
FUNCTION: lattrcmds(<object>)
Returns the names of the attributes that contain commands on a
specific <object>.
Example:
> &CMD1 me=$command1:@pemit me=blah
Set.
> &CMD2 me=$command2:@pemit me=blah blah
Set.
> say lattrcmds(me)
You say, "CMD1 CMD2"
Related Topics: lcmds().
& LATTRP()
LATTRP()
FUNCTION: lattrp(<object>[/<wild-pattern>])
Returns a list of the attributes set on <object> and it's parents. If
<wild-pattern> is given, only attributes matching it are returned.
Related Topics: attrcnt(), @dolist, lattr().
& LCMDS()
LCMDS()
FUNCTION: lcmds(<object> [,<output delim> [,<type>]])
Returns the names of all the commands on a specific <object>. The default
output delimiter is a space.
The following <type> are allowed:
$ : This will list all commands (default).
^ : This will list all ^-LISTENS.
Examples:
> &CMD1 me=$command1:@pemit me=blah
Set.
> &CMD2 me=$command #2 *:@pemit me=blah blah
Set.
> &CMD3 me=^* says *:@pemit me=You heard something
Set.
> say lcmds(me)
You say, "command1 command #2 *"
> say lcmds(me,|,$)
You say, "command1|command #2 *"
> say lcmds(me,|,^)
You say, "* says *"
Related Topics: lattrcmds().
& LCON()
LCON()
FUNCTION: lcon(<object>[, <subset>])
Returns a space-separated list of the contents of <object> which are
visible to the person running the function.
By default, all of the contents visible to the executor are returned;
however, the list may further restricted with a <subset>:
PLAYER -- include only Player objects.
OBJECT -- include only non-Player objects.
CONNECT -- include only Connected Players.
PUPPET -- include only Puppets.
LISTEN -- include only Listening objects.
Example:
> i
t1(#366)
radio(#223)
The Wizard's Pointy Hat(#188SO)
You have 42463 clams.
> say lcon(me)
You say, "#366 #223 #188"
Related Topics: lexits(), @dolist.
& LCSTR()
LCSTR()
FUNCTION: lcstr(<string>)
Returns <string> with all letters converted to lowercase.
Example:
> say lcstr(This is something I want to TEST)
You say, "this is something i want to test"
Related Topics: capstr(), ucstr().
& LDELETE()
LDELETE()
FUNCTION: ldelete(<list>, <positions>[, <input delim> [, <output delim>]])
This function removes elements(s) from <list> at the given <positions>.
Negative <positions> are relative to the end of the list. Elements of
<list> are delimited by <input delim>. Elements of <positions> are always
delimited by a space.
Elements of the returned list are separated by <output delim> which
defaults to <input delim> which defaults to a space.
Examples:
> say ldelete(This is not a test, 3)
You say, "This is a test"
> say ldelete(Yet@Another@Mundane@List, 3, @)
You say, "Yet@Another@List"
> say ldelete(lemon|orange|pear|apple,2 3,|)
You say, "lemon|apple"
> say ldelete(foo bar baz boing,3,,%b~%b)
You say, "foo ~ bar ~ boing"
Related Topics: delete(), extract(), insert(), remove(), replace().
& LEAVE
LEAVE
COMMAND: leave[/<switch>]
This command leave allows you to exit an object you have entered, arriving
in the same location as the object. You may not leave an object if you fail
that object's LeaveLock (but you may still @teleport out, use an exit inside
the object, or go home).
The following switch is recognized:
/quiet - Don't perform the @oleave/@aleave or @olfail/@alfail
attributes on the entered object, and don't perform the
@oxenter attribute on your new location. This switch
only works if you control your current location.
Related Topics: enter, @lock, ENTER_OK, @aleave, @alfail, @leave, @lfail,
@oleave, @olfail, @oxenter.
& LEXITS()
LEXITS()
FUNCTION: lexits(<loc>)
Returns a space-separated list of the exits in <loc> and its parents.
Dark exits are not returned unless you own the location.
Examples:
> look here
The Town Square
You are in the town square. All around you .....
Obvious exits:
foo up southeast sw north
> say lexits(here)
You say, "#302 #10 #9 #8 #6"
Related Topics: lcon(), @dolist, PARENT OBJECTS.
& LFLAGS()
LFLAGS()
FUNCTION: lflags(<object>)
lflags(<object>/<attr>)
Returns the flags of <object> or the flags of <attr> on <object> written out
with their actual names.
Example:
> say flags(me)
You say, "PXNWcis"
> say lflags(me)
You say, "ANSI NOSPOOF WIZARD CONNECTED IMMORTAL SAFE"
Related Topics: flags(), type().
& LIGHT
LIGHT
FLAG: LIGHT(l) ()
An object or exit that is set LIGHT is visible even when inside a DARK
location. If an object is set both DARK and LIGHT, then its contents are
visible even though the object itself is not.
Related Topics:
& LINEWRAP
LINEWRAP
FLAG: LINEWRAP() (>)
Objects set LINEWRAP show their descriptions in a formatted style using
code equivalent to that in format().
This flag is only available with --enable-firanmux.
Related Topics: format().
& LINK()
LINK()
FUNCTION: link(<name>,<destination>)
Works the same as @link, <name> and <destination> are equivalent to what
comes before and after the '=' sign. Returns nothing. This is a side
effect function, and should only be used when necessary.
Related Topics: @link
& LINKING
LINKING
You can link to a room if you control it, or if it is set LINK_OK or ABODE.
Being able to link means you can set the homes of objects or yourself to
that room if it is set ABODE, and that you can set the destination of exits
to that room if it is LINK_OK.
Related Topics: @link, ABODE, LINK_OK.
& LINK_OK
LINK_OK
FLAG: LINK_OK(L) ()
If a room is LINK_OK, anyone can link exits to it (but
still not from it). It has no meaning for people, things, or exits.
Related Topics: @link, LINKING
& LIST()
LIST()
FUNCTION: list(<list>, <eval>[, <delim>])
This function is exactly like iter() but serves a specialized purpose:
MUX has a buffer limit, and for things like lists of players, iter() can
quickly become inadequate, since the output is cut off before the listing
is finished. The normal way to handle this is to use a @dolist/@pemit
combination, but that takes many queue cycles. list() takes <list>,
<eval>, and an optional delimiter, and evaluates them exactly like
iter(). The difference is the output: iter() produces a space-separated
list, while list() outputs each list item on a new row of the screen.
NOTE: This is a side effect function. It does not return anything,
instead, it prints its output directly to the screen of the player causing
the function to be evaluated. Since it does this, it is not hampered by
the buffer limit.
Related Topics: iter(), @dolist.
& LISTENING
LISTENING
Thee are two ways to listen for something in a room. The easiest way
is to use a combination of @listen and @ahear/@aahear/@amhear. The
second way is to use a "^" pattern in an attribute, similar to the way
"$" is used for user-defined commands. The attribute takes the form:
'^<pattern>:<action>'.
The ^-pattern check is only performed on objects with their MONITOR flag
set. The criterion for triggering a pattern-listen is the same as that for
triggering an @ahear - the object cannot trigger its own listen patterns.
All matching attributes have their <action>s performed, not just the first.
Also, attributes with the no_command flag set are not checked for ^-patterns,
and neither are objects' parents.
Example:
> @va test = ^* says "foo *":say I got a foo with %1!.
Set.
> @set test=monitor
test grows ears and can now hear.
> say foo bar
You say, "foo bar"
test says "I got a foo with bar!."
Related Topics: @ahear, @listen, @set.
& LISTRLEVELS()
LISTRLEVELS()
FUNCTION: listrlevels()
Returns all available levels in a space-separated list. This function
takes no arguments.
NOTE: This function is not available unless reality levels was enabled at
compile-time.
Example:
> say listrlevels()
You say, "Real Shadow Auf Umbra"
& LISTS
LISTS
A list is a string, usually stored in an attribute (currently any of the
va-vz attributes), which is a series of words, separated by one or more
spaces. The following would be a list (denoted on the ends by ', which is
not actually in the string): 'one two three four five'. The functions
first(), rest(), cat(), member(), and remove(), all work on lists.
Related Topics: cat(), first(), member(), remove(), rest().
& LIT()
LIT()
FUNCTION: lit(<string>)
This function returns the string literally -- without squishing spaces and
without evaluating.
Related Topics:
& LJUST()
LJUST()
FUNCTION: ljust(<string>, <width>[, <fill>])
This function left-justifies <string> within a <width>-sized field. That
is, it positions <string> visually in the left-most part of a
<width>-sized field.
The background of this field is specified by a repeating pattern of <fill>
characters. The origin of this repeating pattern is at the first position
of the field. Another way of saying this is that the repeating pattern
starts in first position and repeats to the right. The last <fill> pattern
may be truncated.
By default, <fill> is a single, normal-colored space. The color of
<string> and <fill> is maintained.
If the visual width of <string> is longer than <width> characters, it is
truncated to fit.
Examples:
> say -[ljust(foo,6)]-
You say, "-foo -"
> say %r0[ljust(foo,6)]7%r01234567
You say, "
0foo 7
01234567"
> say =[ljust(bar,5,.)]=
You say, "=bar..="
> say ljust(%xh%xrR%xgG%xbB,31,%xy--%xm+)
RGB--+--+--+--+--+--+--+--+--+-
Related Topics: center(), cpad(), lpad(), rjust(), rpad().
& LN()
LN()
FUNCTION: ln(<number>)
Returns the result of taking the natural logarithm (base e) of <number>.
<number> may be a floating point number, and a floating point result
is returned.
Examples:
> say ln(0)
You say, "-Inf"
> say ln(1)
You say, "0"
> say ln(e())
You say, "1"
> say ln(10)
You say, "2.302585"
Related Topics: e(), exp(), log(), power().
& LNUM()
LNUM()
FUNCTION: lnum(<number1>[,<number2>[,<sep>[,<step>]]])
If only given one argument, this function returns a list of numbers from
0 to <number1>-1. If <number1> less than 1, nothing is returned.
If given at least two arguments, this function returns a list of numbers
from <number1> to <number2>. If <number2> is less than <number1>, the list
will be in descending order, otherwise, the list will be in ascending order.
Negative integers are valid.
<sep> is used as the separator character, if given.
The numbers in the list normally count by 1 unless <step> is provided.
Examples:
> say lnum(5)
You say, "0 1 2 3 4"
> say lnum(3,7)
You say, "3 4 5 6 7"
> say lnum(4,-2,|)
You say, "4|3|2|1|0|-1|-2"
> say lnum(2,6,@@)
You say, "23456"
Related Topics:
& LOC()
LOC()
FUNCTION: loc(<object>)
Returns the number of the location where <object> is. You must either
control the object or be nearby for it to work. When used on an exit it
returns the destination of the exit. You can also use loc() to find the
location of players that are not set UNFINDABLE.
Example:
> look
Mortal's Room(#367R)
A bare room with nothing in it but a bed and a chair.
Contents:
hat(#368)
> say loc(me)
You say, "#367"
> enter hat
hat(#368)
Contents:
cat(#325)
> say loc(me)
You say, "#368"
> say loc(here)
You say, "#367"
Related Topics: rloc(), room(), where().
& LOCALIZE()
LOCALIZE()
FUNCTION: localize(<expression>)
This function evaluates <expression> using its own private copy of the
global r-registers. That is, the global registers are saved before
<expression> is evaluated and restored afterwards.
This allows the <expression> to alter the r-registers without affecting the
softcode outside the localize() invocation.
In many ways, localize() is the same as ulocal() except that <expression>
is given as an argument instead of stored on an attribute.
Related Topics: ulocal(), objeval(), s().
& LOCATE()
LOCATE()
FUNCTION: locate(<looker>,<string>,<where>)
The locate function is used to look for an object from the perspective of
<looker> (You must own <looker>). The database number of the item that
is found is returned. The <where> parameter specifies a list of places to
look, from this list:
a - Look for absolute references (#<number>)
c - Look for exits carried by <looker> (and by <looker>'s parents).
e - Look for exits in <looker>'s location (and the location's parents).
h - Look for 'here', which matches <looker>'s location.
i - Look in <looker>'s inventory.
m - Look for 'me', which matches <looker>.
n - Look for <looker>'s neighbors (other objects in the same location).
p - Look for player names prefixed by a '*'
* - Look for everything in the above list.
{ 'help locate2' for more }
& LOCATE2
LOCATE() (continued)
You may also specify qualifiers in <where> to help resolve possible
ambiguities:
E - Prefer exits over other types.
L - Prefer unlocked exits over locked exits.
P - Prefer players over other types.
R - Prefer rooms over other types.
T - Prefer things over other types.
V - Report "Can't find..." and "Which one..." errors to <looker>.
X - Select randomly if search finds multiple matches.
If nothing matches, the value #-1 is returned. If more than one thing
of the preferred type matches, but nothing matches exactly, the value #-2
is returned, except if the X qualifier was specified in which case one is
chosen at random. If more than one thing exactly matches, one is chosen
at random. If you specify more than one type preference (E, P, R, or T),
then the last one entered is the one that is obeyed. The default is for
no type to be preferred.
{ 'help locate3' for more }
& LOCATE3
LOCATE() (continued)
Examples:
> i
test1(#378)
test(#376)
You have 42463 clams.
> look
Nullspace(#250R)
test1(#382)
> say locate(me,test,i) > say locate(me,tes,in)
You say, "#376" You say, "#-2"
> say locate(me,test,n) > say locate(here,tes,*)
You say, "#382" You say, "#382"
> say locate(me,test1,in) > say locate(me,out,e)
You say, "#378" You say, "#252"
> say locate(me,test1,in) > say locate(me,here,*)
You say, "#382" You say, "#250"
Related Topics: num(), PARENT OBJECTS.
& LOCK()
LOCK()
FUNCTION: lock(<object>[/<whichlock>])
Returns the named lock on <object>. If you don't specify the lock to get,
the default lock is returned. You must control <object>.
Related Topics:
& LOG()
LOG()
FUNCTION: log(<number> [,<base>])
By default, this returns the common (base 10) logarithm of <number>. You
may optionally specify a different <base>, however for a natural logarithm,
use 'e' for <base> or see ln() below. <number> may be a floating point
number, and a floating point result is returned.
Examples:
> say log(0)
You say, "-Inf"
> say log(1)
You say, "0"
> say log(10)
You say, "1"
> say log(e())
You say, "0.434294"
Related Topics: e(), exp(), ln(), power().
& LOGOUT
LOGOUT
COMMAND: logout
Disconnects you from your character without breaking the network connection
to the game. You may then log in to another character.
Related Topics: quit.
& LOOK
LOOK
COMMAND: look[/<switches>] [<object>]
Displays the description of <object>, or the room you're in if you don't
specify an object. Specifying object as <name> or #<dbref> or 'me' or
'here' is legal. You can also use look to look at objects held by other
people, just use 'look <person>'s <object>'.
You may use the /outside switch to look at the location of your current
location (useful if you are inside a vehicle or other object). You may
also look at other objects in the 'outer' location, but you may not
use the possessive form with the /outside switch (ie: "look/outside
<person>'s <object>" won't work).
'read' is the same as 'look'.
Related Topics: @adesc, @describe, @odesc.
& LOOPING
LOOPING
Looping in an object can have its good parts and its bad parts. The good
part is when you activate part of a program multiple times to exhaustively
perform an operation. This is usually done by:
@va object = <list of commands>;@trigger me/vb
@vb object = @switch <test> = <false>,@trigger me/va,<otherwise go on>
Looping can be a problem when it goes on without stopping. The @ps command
can be used to see if you are looping. Beware! A looping machine that
isn't @halt'ed will drain your money supply while you are away!
Related Topics: @halt, @ps.
& LOR()
LOR()
FUNCTION: lor(<list of booleans>[,<delim>])
Takes a list of one or more BOOLEAN-Z values, and returns 1 (TRUE) if any
of its elements are TRUE.
Examples:
> say [lor(1 0)]
You say, "1"
> say [lor(1|1,|)]
You say, "1"
Related Topics: land(), not(), or(), t().
& LPAD()
LPAD()
FUNCTION: lpad(<string>, <width>[, <fill>])
This function left-justifies <string> within a <width>-sized field. That
is, it positions <string> visually in the left-most part of a
<width>-sized field.
The background of this field is specified by a repeating pattern of <fill>
characters. The origin of this repeating pattern is at the first position
of the field. Another way of saying this is that the repeating pattern
starts in first position and repeats to the right. The last <fill> pattern
may be truncated.
By default, <fill> is a single, normal-colored space. The color of
<string> and <fill> is maintained.
Unlike ljust(), if the visual width of <string> is longer than <width>
characters, it is not truncated to fit.
Examples:
> say -[lpad(foo,6)]-
You say, "-foo -"
> say %r0[lpad(foo,6)]7%r01234567
You say, "
0foo 7
01234567"
> say =[lpad(bar,5,.)]=
You say, "=bar..="
> say lpad(%xh%xrR%xgG%xbB,31,%xy--%xm+)
RGB--+--+--+--+--+--+--+--+--+-
Related Topics: center(), cpad(), ljust(), rjust(), rpad().
& LPARENT()
LPARENT()
FUNCTION: lparent(<object>)
This function returns a list consisting of the object's db# (as per
num()), the db# of its parent, grandparent, great-grandparent, etc.
The list will not, however, show parents of objects which the player
is not privileged to examine.
Related Topics:
& LPORTS()
LPORTS()
FUNCTION: lports()
Returns a list of the db numbers and ports of connected players.
Example:
> WHO
Player Name On For Idle Doing
Mortal 00:11 0s
Evinar 00:12 6m
Wizard 00:32 6s
3 Players logged in.
> say lports()
You say, "#226:20 #271:5 #1:6"
Related Topics: lwho(), WHO, DOING, conn(), idle().
& LPOS()
LPOS()
FUNCTION: lpos(<string>, <character>)
This function returns a list of the positions that <character> occupies
in <string>, with the first character of the string being 0. (Note that
this differs from the pos() function, but it consistent with functions
such as mid().)
If <character> is null, a space is assumed.
Example:
> say lpos(a-bc-def-g,-)
You say, "1 4 8"
& LRAND()
LRAND()
FUNCTION: lrand(<lower>,<upper>,<count>,[,<output delim>])
Returns a list with <count> elements separated by <output delim> (or
a space if not specified) of random numbers between <lower> and
<upper>.
For instance, 'lrand(3, 6, 5)' would generate five random numbers
in the range 3 - 6 (i.e., 3, 4, 5, or 6), such as '4 6 3 5 6'.
Related Topics: die(), lnum(), pickrand(), rand(), shuffle()
& LROOMS()
LROOMS()
FUNCTION: lrooms(<loc> [,<depth> [,<all>]])
Returns a space-separated list of the rooms connected to <loc> taking
into account parentage and permissions.
<depth> defaults to adjacent rooms (value of 1), but a larger value
would include rooms that are correspondingly further away.
<all> is a flag that controls whether all traversed rooms or whether
only the rooms at the perimeter are reported. By default, all rooms
are returned.
Example:
> look here
The Town Square
You are in the town square. All around you .....
Obvious exits:
foo up southeast sw north
> say lrooms(here,1)
You say, "#3 #12 #91 #82 #63"
Related Topics: @dolist, lexits(), PARENT OBJECTS
& LT()
LT()
FUNCTION: lt(<integer1>,<integer2>)
Takes two integers, and returns a BOOLEAN (1 if and only if <integer1> is
less than <integer2>, and 0 otherwise).
Warning: passing anything but integers will produce unexpected results, as
non-numeric strings usually are treated as numeric 0.
Example:
> say lt(4,5)
You say, "1"
> say lt(5,5)
You say, "0"
> say lt(6,5)
You say, "0"
> say lt(foo, bar)
You say, "0"
Related Topics: BOOLEAN VALUES, lte(), gte(), gt(), eq(), neq().
& LTE()
LTE()
FUNCTION: lte(<integer1>,<integer2>)
Takes two integers, and returns a BOOLEAN (1 if and only if <integer1> is
less than or equal to <integer2>, and 0 otherwise).
Warning: passing anything but integers will produce unexpected results, as
non-numeric strings usually are treated as numeric 0.
Example:
> say lte(4,5)
You say, "1"
> say lte(5,5)
You say, "1"
> say lte(6,5)
You say, "0"
> say lte(foo, bar)
You say, "1"
Related Topics: BOOLEAN VALUES, lt(), gte(), gt(), eq(), neq().
& LWHO()
LWHO()
FUNCTION: lwho([<boolean>])
Returns a list of the db numbers of connected players. This returns what
a 'WHO' or 'DOING' would return. This takes an optional boolean value.
'0' is the default, and '1' returns the player list in the form dbref:port.
Only wizards may use the port option.
Example:
> WHO
Player Name On For Idle Doing
Mortal 00:11 0s
Evinar 00:12 6m
Wizard 00:32 6s
3 Players logged in.
> say lwho()
You say, "#226 #271 #1"
> say lwho(0)
You say, "#226 #271 #1"
> say lwho(1)
You say, "#226:20 #271:5 #1:6"
Related Topics: cwho(), conn(), DOING, idle(), WHO, zwho().
& MAIL()
MAIL()
FUNCTION: mail(<mail message #>)
mail(<player name>)
mail(<player>, <mail message #>)
mail()
The first form returns a message corresponding to that mail message number
in your MUX mailbox. This function can be used to forward mail or as a way
to simply transfer mail messages to attributes on an object.
The second form returns three numbers which correspond to the number of
read, unread, and cleared messages <player> has, respectively. Only wizards
can use this form on other players.
The third form returns <player>'s <mail message #>. It works like the first
form except it applies to another player. Only God can use this form on
other players.
The fourth form returns the number of messages the enacting player has.
Related Topics: @mail, mail-reading.
& MAIL-ADMIN
MAIL-ADMIN
The @mail command can also take the following switches:
@mail/stats [<player>] -- Basic mail statistics.
@mail/dstats [<player>] -- Also provides read/unread count.
@mail/fstats [<player>] -- Does all that, plus gives space usage.
@mail/debug <action>[=<player>]
@mail/nuke
Only wizards may stats players other than themselves. The mail statistics
commands are computationally expensive, and thus are subject to "daytime"
restrictions. They also cost the same as a @find (100 credits).
The /debug switch does sanity checking on the mail database, and may only
be used by a wizard. "@mail/debug sanity" just does the check; the command
"@mail/debug clear=<player name or dbref number>" wipes mail for an object.
"@mail/debug fix" attempts to repair problems noted in the sanity check.
The /nuke switch destroys the post office, erasing all @mail everywhere.
It may only be used by a wizard.
Also, admin may set the @amail attrib on their char. When somebody sends
you mail, it will trigger that attrib if it exists.
& MAIL-EXAMPLES
MAIL-EXAMPLES
Here is an example of mailing a player, where is the player will be "bob",
and sending the mail.
> @mail bob = The MUX - This is the Subject line.
Sending mail to player 'Bob'
> -Hi bob. - This is where you will enter the body
of the message.
Text Added.
> @send - Basically, sends the @mail.
MAIL: You sent your message to 'Bob'.
& MAIL-FOLDERS
MAIL-FOLDERS
The MUX mail system allows each player 16 folders, numbered from
0 to 15. Mail can only be in 1 folder at a time. Folder 0 is
the "inbox" where new mail is received. Most @mail commands
operate on only the current folder.
@mail/folder
This commands lists all folders which contain mail, telling
how many messages are in each, and what the current folder is.
@mail/folder <folder#|foldername>
This command sets your current folder to <folder#>.
@mail/folder <folder#> = <foldername>
This command gives <folder#> a name.
@mail/file <msg-list>=<folder#>
This command moves all messages in msg-list from the current
folder to a new folder, <folder#>.
& MAIL-OTHER
MAIL-OTHER
@mail/clear [<msg-list | all>]
@mail/unclear [<msg-list> | all>]
These commands mark mail in the current folder as cleared or
uncleared. Mail marked for clearing is deleted when you
disconnect, or if you use @mail/purge. If no msg-list is
specified, all mail in your current folder is cleared. If "all"
is given instead of a msg-list, all mail in *all* folders is
cleared/uncleared.
@mail/purge
Actually deletes all messages marked for clearing with
@mail/clear. This is done automatically when you log out.
@mail/tag [<msg-list | all>]
@mail/untag [<msg-list> | all>]
These commands tag or untag mail in the current folder.
Tagged mail can be later acted on en masse by using "tagged" as
the msg-list for other commands (which does *not* untag them
afterward). If no msg-list is specified, all messages in the
current folder are tagged/untagged. If "all" is given as the
msg-list, all mail in *all* folders is tagged/untagged.
(Ex: To clear all mail from Temperance and Sloth,
@mail/tag *temperance, @mail/tag *sloth, @mail/clear tagged,
@mail/untag all).
{ 'help mail-other2' for more }
& MAIL-OTHER2
MAIL-OTHER (continued)
@mail/safe [<msg-list> | all>]
This command marks a message as being safe from mail expiration. It
should be used sparingly and only for very important messages.
& MAIL-READING
MAIL-READING
@mail <msg #>
@mail/read [<folder>=]<msg-list>
This displays messages which match the msg# or msg-list from
your current folder. If <folder> is specified, mail is read from
that folder without changing the current folder.
@mail
@mail <msg-list, but not a single msg #>
This gives a brief list of all mail in the current folder,
with sender name, a list of receiving players, subject, and
message status.
@mail/list [<folder>=][<msg-list>]
Without <folder>, this gives the same list, but with time sent instead
of subject. The status field is a set of characters (ex: NC-UF+) which
mean:
N = New (unread) message
C = Cleared message
U = Urgent message
F = Forwarded message
+ = Tagged message
The opposites of these (read messages, etc.) are indicated with a
'-' in the status field in that position.
& MAIL-REVIEWING
MAIL-REVIEWING
@mail/review <player>
Reviews the messages you have sent to <player>.
@mail/review <player>=<msglist>
Reads the messages you have sent to <player>.
@mail/retract <player>=<msglist>
Retracts (deletes) unread messages you have sent to <player>.
& MAIL-SENDING
MAIL-SENDING
@mail[/switch] <player-list> = <subject>
This begins a message to all players in <player-list>. The
<player list> forms the To: line of the @mail -- the list of primary
recipients.
-<text>
~<text>
These add text to the message in progress, for example, the
following would add the text 'This is a test' to the end of your
@mail message:
-This is a test
Likewise, ~<text> prepends the text.
@mail/send
This sends the message that is currently in progress.
-- is the equivalent of @mail/send. @mail/urgent sends
the message as urgent, and should not be used often.
@mail/cc <player-list>
This adds <player-list> to the current list of recipients. Like the
primary recipients, these additions will be visible to every
recipient.
@mail/bcc <player-list>
This adds <player-list> to the current list of recipients.
Unlike the primary recipients and the carbon-copy (cc) recipients,
these additions will be hidden from every recipient including each
other.
{ 'help mail-sending2' for more }
& MAIL-SENDING2
MAIL-SENDING (continued)
@mail/proof
This shows you the message that is currently in progress, as
it would be read by whomever received it.
@mail/edit <old text> = <new text>
Like @edit, but edits the message in process.
@mail/abort
This aborts the message currently in progress, allowing you
to start a new one.
@mail/fwd <msg> = <player-list>
This sends a copy of <msg> to all the players in <player-list>.
The copy will appear to have been sent by you (not the original
sender), and its status will be "Forwarded". Note that this
places the message to be forwarded into your mail buffer, where
you can edit it with @mail/edit, add text with '-', or prepend
text with '~'. You have to use '--' or @mail/send to send the
message.
@mail/quick <player-list>/<subject> = <message>
Sends <message> to the list of players.
{ 'help mail-sending3' for more }
& MAIL-SENDING3
MAIL-SENDING (continued)
@mail/reply[/quote] <message>
This starts a working message to the person who sent you <msg>.
@mail/replyall[/quote]
This starts a working message to the person who sent you <msg>
and to every other recipient of <message>.
In both cases, because this is a reply, the subject line will be:
'Re: <subject line from original message>'
Also, in both cases, if /quote is specified, the original message
will be quoted into the working message with a header and footer much
like the following:
On Thu Apr 27 21:33:04 2000, Gordon wrote:
<quoted message from original message>
********** End of included message from Gordon
You can add additional text above or below the quoted material with
the post-pend ('-') and prepend ('~') @mail commands. Like, normal
outgoing @mail, the reply is finished and sent with '--' on a line
by itself
& MAILFROM()
MAILFROM()
FUNCTION: mailfrom(<msg #>)
Returns the dbref # of the player who sent you <msg #>. Wizards may
specify mailfrom(<player>,<msg #>).
Related Topics:
& MAILJ()
MAILJ()
FUNCTION: mailj(<num>)
mailj(<player>)
mailj(<player>, <num>)
mailj()
First form returns message <num> from the executor's mail bag. The second
form returns number of messages for <player>. The third form return message
<num> for <player>. The fourth form returns number of message for executor.
The difference between this and mail() is that this returns one number and
mail() returns three. Also, mail() only accounts for the messages in the
inbox, while mailj() accounts for all messages in all folders.
This function is only available with --enable-firanmux and is likely to be
deprecated in favor of mail().
Related Topics: mail()
& MAILSIZE()
MAILSIZE()
FUNCTION: mailsize(<player>)
Returns the size of <player>'s mail bag in bytes.
Related Topics: mail(), mailsubj().
& MAILSUBJ()
MAILSUBJ()
FUNCTION: mailsubj(<num>)
mailsubj(<player>, <num>)
First form returns the subject line from the executor's <num>'th mail item.
Second form returns the subject line from the <player>'s <num>'th mail item.
Related Topics: mail(), mailj(), mailsize().
& MAP()
MAP()
FUNCTION: map([<obj>/]<attr>,<list>[,<input delim>[,<output delim>[,<arg1>[,<arg2>[,...]]]]])
This function is nearly identical to an iter() operating on u() function.
Each member of <list> is passed to the result of fetching <attr> as %0, and
the results are used to form a new list. Arguments %1, %2, ... are taken
from <arg1>, <arg2>, ... respectively, if present.
In addition to any single character, <output delim> can also be the null-
delimiter, @@, or a newline, %r. By default, input and output delimiters
are both space.
Examples:
> &ADD_ONE object=add(%0,1)
> say map(object/add_one,1 2 3 4 5)
You say, "2 3 4 5 6"
Related Topics: filter(), fold(), ilev(), iter(), itext(), inum(), u().
& MATCH()
MATCH()
FUNCTION: match(<string>, <pattern>[, <delim>])
This function matches <pattern> against each word of <string>, returning
the number of the first word that matches. If no words match then 0 is
returned. The case of the characters being matched is not significant.
The pattern may contain the wildcards '*' and '?'. '?' matches any one
character, while '*' matches any number of characters, including none.
So 's?x' would match 'sex' or 'six', but not to 'socx', but 's*x' would
match any of them.
<delim> may be used specified to specify a delimiter other than a space.
Examples:
> say match(This is a test, test)
You say, "4"
> say match(This is a test, is)
You say, "2"
> say match(This is a test, *is*)
You say, "1"
> say match(This is a test, *not*)
You say, "0"
> say match(This is a test, is a)
You say, "0"
Related Topics: LISTS, member(), strmatch().
& MATCHALL()
MATCHALL()
FUNCTION: matchall(<string>,<pattern>[,<delim>])
This function works identically to the match() function, save that it
returns all matches, not just the first: It returns the index numbers of
all words in the list <string> which match <pattern>.
Examples:
> say matchall(This is a test of a test,test)
You say, "4 7"
> say matchall(This is testing a test,tes*)
You say, "3 5"
Related Topics: LISTS, match(), strmatch().
& MATRIX
MATRIX
The MATRIX flag is used to denote an object who is in the Matrix or
Digital Web. Rooms will list contents as |Icons| and will only list
players and objects also set MATRIX. MATRIXDESC can be set on a
player or object as the description of their icon.
& MAX()
MAX()
FUNCTION: max(<number1>,<number2>[,<numberN]...)
Returns the largest integer from among its arguments.
Up to 30 arguments may be specified.
<numberN> may be a floating point number, and a floating point result
is returned.
Examples:
> say max(2,4)
You say, "4"
> say max(-100,50,0,25)
You say, "50"
Related Topics: min()
& ME
ME
The word 'me' refers to yourself. Some things to do when starting out:
1) give yourself a description with
'@describe me = <description>', then look at yourself with 'look me'.
2) set your gender, if you wish it known, with
'@sex me=male' or '@sex me=female' (or '@sex me=neuter' to be an 'it').
& MEDIUM
MEDIUM
The MEDIUM flag denotes a player who is a medium. With this flag set
they can hear what is said by those set SHROUD but not see them. They
can see those who are visible normally only.
& MEMBER()
MEMBER()
FUNCTION: member(<list>, <word>[, <delim>])
Member takes a list and a word, and returns the position of that word
within the list. If the word does not occur in the list, then 0 is
returned. Unlike match(), member() does not check for wildcard-ing,
and the cases of <list> and <word> are significant. A word is defined as
a string which has no interior spaces. So 'hello' would be one word,
while 'hello there' would be two.
<delim> may be used to specify a delimiter other than a space.
Example:
> say member(This is a member test, member)
You say, "4"
> say member(This is a member test, Member)
You say, "0"
> say member(This is a member test, *e*)
You say, "0"
> say member(This is a member test, is a)
You say, "0"
Related Topics: LISTS, match(), strmatch().
& MERGE()
MERGE()
FUNCTION: merge(<string1>,<string2>,<character>)
This function merges <string1> and <string2>, depending on <character>.
If a character in <string1> is the same as <character>, it is replaced
by the character in the corresponding position in <string2>. The two
strings must be of the same length.
Spaces need to be treated specially. A null character is considered to
equal a space, for <character>.
Examples:
> say merge(AB--EF,abcdef,-)
You say, "ABcdEF"
> say merge(AB[space(2)]EF,abcdef,)
You say, "ABcdEF"
Related Topics: splice().
& MID()
MID()
FUNCTION: mid(<string>, <first>, <length>)
If <length> is positive, mid() returns a segment of the string starting with
<first> and continuing to the right until the end of the string or <length>
character whichever is satisfied first.
If <length> is negative, mid() returns a segment of the string defined in
a reverse fashion. That is, mid() returns a segment of the string ending
with <first> and continuing to the left until the beginning of the string or
until <length> characters whichever is satisfied first.
Note that the first character in a string is numbered zero, and not one.
Left() is supported as an alias for strtrunc().
Related Topics: delete(), right(), strtrunc().
& MIN()
MIN()
FUNCTION: min(<number1>,<number2>[,<numberN]...)
Returns the smallest integer from among its arguments.
Up to 30 arguments may be specified.
<numberN> may be a floating point number, and a floating point result
is returned.
Examples:
> say min(2,4)
You say, "2"
> say min(-100,50,0,25)
You say, "-100"
Related Topics: max()
& MIX()
MIX()
FUNCTION: mix([<object>/]<attribute>, <list 1>[, <list 2>[,<list N>]][,<delim>])
This function is similar to map(), except it takes the arguments in the
lists and passes them into the attribute as %0 (for list1), %1 (for list2),
up to %9 (for list10). <delim> is used as the delimiter to separate items
in each of the lists. If the number of lists is 2 or less, the delimiter
may be optional, otherwise you are forced to provide a delimiter. If no
delimiter is specified, it defaults to a space but only for the above condition.
The lists do NOT have to have the same number of elements.
Examples:
> &do_math me=[add(%0,%1)]
> &do_moremath me=[add(%0,%1,%2,%3,%4,%5,%6,%7,%8,%9)]
> say mix(do_math,1 2 3 4 5,2 4 6 8 10)
You say, "3 6 9 12 15"
> say mix(do_math,1@2@3@4@5,2@4@6@8@10,@)
You say, "3@6@9@12@15"
> say mix(do_math,1 2 3 4 5,7 9)
You say, "8 11 3 4 5"
> say mix(do_moremath,1,2,3,4,5,6,7 8,9 10 11 12,)
You say, "37 18 11 12"
Related Topics: elements(), iter(), list(), map(), merge(), step()
& MOD()
MOD()
FUNCTION: mod(<integer1>,<integer2>)
Returns the integer remainder from dividing <integer1> by <integer2>.
However, integer division for the case where either <integer1> or
<integer2> is negative is defined in a specific way -- by choosing
the largest integer that is less than or equal to the algebraic
quotient. If <integer1> and <integer2> are the same sign, then
mod() and remainder() are equivalent.
For example, division of -9 by 5 would give -2 by this definition
instead of -1. idiv() would return -1. floordiv() would return -2,
and so, the mod() function properly goes with the floordiv()
function:
floordiv(x,y)*y + mod(x,y) ==> x
{ 'help mod2' for more }
& MOD2
MOD() (continued)
For positive y, mod(x,y) always returns a positive number less than
y. For negative y, mod(x,y) always returns a negative number greater
than y.
mod() is the more 'mathy' definition of a modulus as defined by the
following:
x mod y is defined as x - y*floor(x/y) where x,y, every operation
is over real numbers.
Example:
> say mod(-9,5)
You say, "1"
> say mod(-9,-5)
You say, "-4"
> say mod(17,3)
You say, "2"
> say mod(18,3)
You say, "0"
Related Topics: floordiv(), iadd(), idiv(), imul(), isub(),
remainder().
& MONEY
MONEY
You need money to build within the game, to run programmed objects or use
certain other commands, or to buy things from vendors set up by other
players. You can get money via one or more of these methods:
1. You receive a daily allowance for each day you connect.
2. You have a chance of finding money as you wander around areas that
other people have built.
3. Some MUXes may implement a place where you can sell valuable objects
for money.
Related Topics: @list costs, COSTS.
& MONEY()
MONEY()
FUNCTION: money(<object>)
Returns an integer equal to the amount of money <object> has (if it is a
player) or is worth (otherwise).
Example:
> score
You have 1052 clams.
> say money(me)
You say, "1052"
> exam sac test
Sac Test(#287V)
Type: THING Flags: VISUAL
Owner: Beaker Key: *UNLOCKED* Clams: 20
Home: Limbo(#0RLDAJ)
Location: The Town Square
> say money(sac test)
You say, "20"
Related Topics:
& MONIKER()
MONIKER()
Function: moniker([<object>])
This function returns the value of an object's MONIKER attribute. The
the accented/colorized name must match the normal name or the normal NAME
attribute is returned instead of the decorated one.
Related Topics: @name, ansi(), @moniker, chr(), ord(), ASCII,
stripaccent(), stripansi(), UNICODE.
& MONITOR
MONITOR
FLAG: MONITOR(M) ()
Objects:
When set, anytime the object hears something from someone who passes the
object's use lock, the object's attributes are scanned for attributes
of the form '^<pattern>:<command list>'. If the message matches the
wildcard-ed <pattern>, then <command list> is executed, substituting %0 for
the text that matched the first wildcard, %1 for the second, and so on.
All matching attributes are executed, not just the first.
Parents of MONITOR objects are never checked for ^-patterns.
Players:
When set on a player, this flag notifies that player whenever someone
connects or disconnects from the MUX. It is valid only for players, and
must be set by a wizard.
Related Topics: LISTENING.
& MOTD()
MOTD()
FUNCTION: motd()
motd() returns the current MOTD as set using @motd.
& MOVE
MOVE
COMMAND: move[/<switch>] <direction>
move[/<switch>] home
<direction>
home
Moves you in the specified direction, assuming that the direction is not
locked against you. 'move home' is a special command that returns you to
your home. The word 'move' may be omitted.
The following switch is recognized:
/quiet - Don't perform the @osucc/@asucc/@odrop/@adrop or @ofail/@afail
attributes on the exit being used. This switch only works if
you control the exit.
'goto' is the same as 'move'.
Related Topics: enter, home, leave.
& MOVING
MOVING
A number of things happen when you leave one location and enter another
(assuming you pass the lock on the exit or have permission to enter the
object or to teleport to the location). The following list describes the
actions that MUX takes when an object moves from one place to another.
Note that if an indicated attribute is not set, no message is displayed
(or no action is performed).
- If you are using an exit (as opposed to teleporting, entering an object,
or going home), You receive the SUCC message for the exit, others in the
old location receive the exit's OSUCC message, and the exit runs its
ASUCC action list.
- If you are teleporting or being teleported, others in the old location
receive your OXTPORT attribute.
- If you are a player or have your LISTEN attribute set to something,
and if the old location is not dark and you are not dark, you receive the
LEAVE message for the old location, others in the old location receive
the OLEAVE message, and the old location runs its ALEAVE action list.
Others in the new location receive the OXENTER message from the old
location, and others in the old location receive the message '<your name>
has left.'
{ 'help moving2' for more }
& MOVING2
MOVING (continued)
- You are moved to the new location. If you are entering an object,
teleporting, or going home, all KEY objects are stripped from you.
- If the new location is a room, you receive the room's DESC, others in the
room receive the ODESC, and the room runs its ADESC. If you pass the
room's lock do the same with SUCC, OSUCC, and ASUCC, otherwise use FAIL,
OFAIL, and AFAIL.
- If the new location is a player or an object, you receive the location's
IDESC (or DESC if the IDESC is not set). In either event, others in the
same location see the ODESC message and the location runs its ADESC
action list.
- You are shown the contents and visible exits if the location is not DARK.
- If you used an exit, then you receive the DROP message for the exit,
others in the new room receive the exit's ODROP message, and the exit
runs its ADROP action list.
- If you are teleporting or being teleported, you receive your TPORT
attribute, others in your new location receive your OTPORT attribute,
and your ATPORT attribute is run.
- You receive your MOVE attribute, others in your new location receive
your OMOVE attribute, and your AMOVE attribute is run.
{ 'help moving3' for more }
& MOVING3
MOVING (continued)
- If you are a player, or have your LISTEN attribute set to something,
and if the old location is not dark and you are not dark, you receive the
ENTER message for the new room, others in the new room receive the OENTER
message, and the new room runs its AENTER action list. Others in the room
you just left receive the new room's OXLEAVE message, and others in the
old location receive the message '<your name> has arrived.'
- If the old location is a STICKY room and has its drop-to set, see if
objects in that room should be sent to the drop-to location. If so,
do it.
- If you are a player, you have a chance of finding some money.
Related Topics: @adesc, @adrop, @aenter, @afail, @aleave, @asucc, @atport,
@desc, @drop, @enter, @fail, @leave, @listen, @odesc, @odrop, @oenter,
@ofail, @oleave, @osucc, @oxenter, @oxleave, @oxtport, @succ, @tport,
move, @teleport, home, KEY, STICKY, DROP-TOS, FAILURE, SUCCESS.
& MTIME()
MTIME()
FUNCTION: mtime(<object>)
Returns <object>'s last modification time as a time() string. Invoking
the function without an argument is equal to mtime(me)
An object's mtime will be affected by any changes to the attributes,
such as @desc, @va, or & attributes. Is is also affected by renaming
the object.
Example:
> think mtime(me)
Mon Oct 08 18:33:03 2001
Related Topics: time(), ctime().
& MUDNAME()
MUDNAME()
FUNCTION: mudname()
Returns the name of the MUD. This is usually (but not necessarily) the name
that appears in the various mud lists, and is the name that the mud is
listed under in reports from RWHO servers (that is, if the mud sends its
WHO information to an RWHO server).
Example:
> say mudname()
You say, "TestMUX"
Related Topics:
& MUL()
MUL()
FUNCTION: mul(<number1>[,<numberN>]...)
Returns the result of multiplying its arguments together.
<numberN> may be a floating point number, and a floating point result
is returned.
Example:
> say mul(3,5)
You say, "15"
> say mul(3,5,-2)
You say, "-30"
Related Topics: add(), fdiv(), iadd(), idiv(), imul(), isub(),
mod(), round(), sub(), trunc().
& MUNGE()
MUNGE()
FUNCTION: munge([<object>/]<attribute>,<list 1>,<list 2>[,<delimiter>])
This function takes two lists of equal length. It passes the entirety of
<list 1> to the user-defined function as %0 and the delimiter as %1.
Then, this resulting list is matched with elements in <list 2>, and the
rearranged <list 2> is returned. This is useful for doing things like
sorting a list, and then returning the corresponding elements in the other
list. If a resulting element from the user-defined function doesn't match
an element in the original <list 1>, a corresponding element from <list 2>
does not appear in the final result.
For example: Consider attribute PLACES, which contains "Fort Benden Ista",
and another attribute DBREFS contains the dbrefs of the main JUMP_OK
location of these areas, "#20 #9000 #5000". We want to return a list of
dbrefs, corresponding to the names of the places sorted alphabetically. The
places sorted this way would be "Benden Fort Ista", so we want the final
list to be "#9000 #20 #5000". The functions, using munge(), are simple:
Example:
> &sort_alpha me=[sort(%0)]
> say [munge(sort_alpha,v(places),v(dbrefs))]
You say, "#9000 #20 #5000"
Related Topics: sort(), sortby().
& MYOPIC
MYOPIC
FLAG: MYOPIC(m) ()
If you are set MYOPIC, then you are treated as if you did not own anything
when you use the LOOK command or when you automatically look at a location
when entering it. Other commands (such as EXAMINE) are not affected.
Related Topics:
& NAME()
NAME()
FUNCTION: name(<dbref>[,<newname>])
This function returns the name of the indicated object. When called with
an exit it returns the only the first alias.
If function side effects are allowed, this function, given two arguments,
acts just like @name <object>=<new name>.
Related Topics: fullname().
& NEARBY()
NEARBY()
FUNCTION: nearby(obj1,obj2)
Tests if obj1 is near obj2 (if it is in the same location, in obj2's
inventory, or is obj2's location). You must control either obj1 or obj2, or
be near either one of them, if both of these tests fail then 0 is returned.
This function returns 1 if the two objects are nearby and 0 if not.
Related Topics:
& NEQ()
NEQ()
FUNCTION: neq(<integer1>,<integer2>)
Takes two integers, and returns a BOOLEAN (1 if they are not equal and 0 if
they are equal).
Warning: passing anything but integers will produce unexpected results, as
non-numeric strings usually are treated as numeric 0.
Examples:
> say neq(1,-1)
You say, "1"
> say neq(5,5)
You say, "0"
> say neq(foo, bar)
You say, "0"
Related Topics: BOOLEAN VALUES, lt(), lte(), gte(), gt(), eq(), not().
& NEWS
NEWS
COMMAND: news [<topic>]
Shows you the current news for the MUX.
& NEXT()
NEXT()
FUNCTION: next(<thing>)
If thing is an exit in a room, then next will return the next
non-dark exit in the list of exits for that room. If thing is an
object, then next will return the next object in the inventory list
that the object is in. Otherwise, it returns a '#-1' string.
Related Topics:
& NOBLEED
NOBLEED
FLAG: NOBLEED(-) ()
When set on a player, it will append an ANSI white character to
the normal ANSI 'normal' character, so it will fix ANSI color 'bleed' on
most terminals. (Bleed occurs when a color extends into text it was not
meant to.) Do not set this flag unless you have to, it tends to slow down
the text display for the MUX.
Related Topics:
& NOSPOOF
NOSPOOF
FLAG: NOSPOOF(N) ()
This flag gives you mucho output when people @emit. It can be annoying,
but you'll know who's spoofing.
Related Topics: @emit, @femit, @oemit, @pemit.
& NOT()
NOT()
FUNCTION: not(<boolean>)
Takes a BOOLEAN value, and returns its opposite. So, if the input is
equivalent to TRUE it returns a FALSE(0), and if the input is equivalent to
FALSE, it returns a TRUE(1).
Related Topics: BOOLEAN VALUES, and(), or(), t(), xor().
& NO_COMMAND
NO_COMMAND
FLAG: NO_COMMAND(n) ()
The NO_COMMAND flag disables the checking of $-commands
on an object.
Most MUXes will be configured to automatically set this flag on rooms
and players. The server runs faster when fewer objects are checked for
$-commands; thus, any object which does not have $-commands on it should
be set NO_COMMAND.
Related Topics:
& NULL()
NULL()
FUNCTION: null(<text>)
The <text> is evaluated, but null returns nothing.
Example:
> think null(pemit(me,Hello))
Hello
> think null(abc)
Related Topics: @@, @@().
& NUM()
NUM()
FUNCTION: num(<object>)
Returns the dbref number of <object>.
Related Topics: locate().
& OBF
OBF
The OBF Flag is used to denote someone using a form of invisibility,
most commonly the vampiric discipline of Obfuscate. They must also have
an attribute set on them, OBF_LEVEL, which denotes the level of
invisibility they posses. When this attribute is present and the flag is
set on them they do not show up in the contents list of rooms. If a
player moves through an exit and has OBF_LEVEL of 1 then they will no
longer be invisible and will trigger the exit message. OBF_LEVEL of 2 or
higher will no longer do this. At OBF_LEVEL is 3 or higher they can set
their true desc in the attribute OBFDESC so that it will only be seen by
those with the ability to see through their disguise.
Related Topics: HSS
& OBJ()
OBJ()
FUNCTION: obj(<object>)
Returns the proper objective pronoun (him, her, it, them) for referring to
<object>, based on the object's Sex attribute. You must either control
or be near <object>.
Related Topics: aposs(), poss(), subj(), SUBSTITUTIONS.
& OBJECT TYPES
OBJECT TYPES
There are 4 types of objects: things, players, exits, and rooms. The first
letter following an object's ID number indicates the type: P(layer), E(xit),
R(oom), otherwise, thing. Things are inanimate objects that can be carried.
Players are animate objects that can move and carry. Exits are the means by
which objects move from room to room. Rooms are locations that contain
objects and linked exits.
Related Topics: @create, @dig, @link, @open, @robot, @unlink
& OBJEVAL()
OBJEVAL()
FUNCTION: objeval(<object>,<expression>)
Allows you to evaluate <expression> from the viewpoint of <object>.
You must be a wizard or own <object> to use this function. If <object>
does not exist or you don't meet the criterion, the function evaluates
with your privileges. No one may use this function on #1.
This function is useful for securing objects which need to evaluate
attributes on things owned by others.
Related Topics:
& OBJMEM()
OBJMEM()
FUNCTION: objmem(<object>)
Returns the size in bytes of <object>.
Note that this is the complete struct size of the object, and
not just the attribute values.
Related Topics: playmem()
& OEMIT()
OEMIT()
FUNCTION: oemit(<object>, <message>)
A side effect function that has the same effect as @oemit <object> =
<message>.
Related Topics: @oemit
& OPAQUE
OPAQUE
FLAG: OPAQUE(O) ()
When set on a player, it prevents other players from
seeing what you are carrying in your inventory. Only exception is
when the object you are carrying belongs to the other player
looking at you.
Related Topics:
& OPEN_OK
OPEN_OK
FLAG: OPEN_OK(z)
If a location is OPEN_OK, anyone who passes the OpenLock can open
exits from it (but not to it). It has no meaning for exits.
Related Topics: @link, LINKING, LINK_OK, @open.
& OR()
OR()
FUNCTION: or(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN-Z values, and returns 1 (TRUE) if at least one
argument is TRUE.
Related Topics: and(), BOOLEAN VALUES, cor(), not(), orbool(), t(), xor().
& ORBOOL()
ORBOOL()
FUNCTION: orbool(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN values, and returns 1 (TRUE) if at least one
argument is TRUE.
Related Topics: andbool(), BOOLEAN VALUES, not(), or(), t().
& ORD()
ORD()
FUNCTION: ord(<letter>)
Returns an integer that represents the relative position of <letter> in the
character set.
Related Topics: chr().
& ORFLAGS()
ORFLAGS()
FUNCTION: orflags(<object>,<list of flags>)
This function returns 1 if <object> has at least one of the flags in
a specified list, and 0 if it does not. The list is specified with a
single letter standing for each flag, like the output of the FLAGS()
function. A '!' preceding a flag letter means "not flag".
Thus, ORFLAGS(me,WZ) would return 1 if I were set WIZARD or ROYALTY.
ORFLAGS(me,D!c) would return 1 if I were DARK or not CONNECTED.
If a letter does not correspond to any flag, <object> doesn't have
it, so it is simply ignored. There can be an arbitrary number of
flags. Do not put spaces between flag letters.
Related Topics: flags(), andflags()
& OUTPUTPREFIX
OUTPUTPREFIX
COMMAND: outputprefix <string>
Causes <string> to be output on a line by itself before printing the
results of each command. This command is intended for use by external
robot programs, and may be restricted to players whose ROBOT flag is set.
Related Topics: @robot, outputsuffix, ROBOT.
& OUTPUTSUFFIX
OUTPUTSUFFIX
COMMAND: outputsuffix <string>
Causes <string> to be output on a line by itself after printing the results
of each command. This command is intended for use by external robot
programs, and may be restricted to players whose ROBOT flag is set.
Related Topics: @robot, outputprefix, ROBOT.
& OWNER()
OWNER()
FUNCTION: owner(<object>)
owner(<object>/<attrib>)
The first form of the owner() function returns the dbref of the owner of the
object. The object must either be yours or nearby.
The second form returns the owner of an attribute on the named object.
You must own either the object or the attribute.
Related Topics:
& PACK()
PACK()
FUNCTION: pack(<number>[,<radix>[,<baseconv>]])
Returns the equivalent of the given number using the specified base. The
default radix is 64. Bases greater than 10 will be more compact than the
original number. Bases less than 10 will be more expanded.
By default, this conversion is compatible with the codes used in Myrddin's
popular Bulletin Board, and they are also valid for an attribute name
(except for the first letter). This set is:
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz@$
This set is not the same as Unix-to-Unix copy (uuencode). Optionally, with
boolean <baseconv>, the behavior changes to be compatible with baseconv().
Examples:
>think pack(629126998)
bVxTM
>think pack(629126998,16)
257FB756
>think pack(629126998,2)
100101011111111011011101010110
>think pack(-629126998)
-bVxTM
Related Topics: baseconv, unpack
& PAGE
PAGE
COMMAND: page[/noeval] <players>=[<prefix>]<message>
page[/noeval] =[<prefix>]<message>
page[/noeval] [<prefix>]<message>
page <players>=
page
This command sends <message> to <players>. The second and third form sends
the given message to the same <players> given on the previous page command.
The second form is useful when the message itself contains an equal sign.
The fourth form indicates that you are paging sans-message. The format is
somewhat more appealing than an empty message.
The last form reports to you the list of players you paged last time.
<Players> is one or more player names or aliases delimited by any
combination of spaces or commas. Double-quotes can be used around any name
containing spaces. A player's name may also be any unique prefix of players
who are currently on the WHO list. Any duplicate players from your list are
removed.
{ 'help page2' for more }
& PAGE2
PAGE (continued)
Examples:
> page me=Test
Foo pages: Test
You paged Foo with 'Test'.
> page me=:tests.
From afar, Foo tests.
Long distance to Foo: Foo tests.
> page me=;'s character tests.
From afar, Foo's character tests.
Long distance to Foo: Foo's character tests.
If your Idle attribute is set to something, then it is sent to anyone who
successfully pages you after you have become idle by the period set by your
@idletimeout. This is useful for when you are away from your terminal for
a short while.
Also, you can selectively disable pages from certain players with the
'@lock/page' command (players must pass the lock in order to page you). If
someone cannot page you, they will be sent a message including your Reject
attribute if they try. If someone pages you while you are not connected,
they are sent a message including your Away attribute.
{ 'help page3' for more. }
& PAGE3
PAGE (continued)
You can also page many players at one time, where all the players you page
will see the message.
Example:
> p Foo, Bar, "Long John Silver"= Hi
You paged (Foo, Bar, Long John Silver) with 'Hi'.
To (Foo, Bar), Widget pages: Hi
You only need to type the player-list once, then the next time you page that
player or set of players, you can abbreviate it with:
"p :waves." or,
"p I'm back."
This will work until you page another player or list of players.
Related Topics: pose, say, whisper, :, ;, ", @pemit, @away, @idle,
@idletimeout, @reject.
& PARENT
PARENT
FLAG: PARENT() (+)
This flag is not associated with any hardcode behavior other than to record
that it is present or absent from an object. Softcode is free to use this
flag for any purpose it sees fit.
This flag is only available with --enable-firanmux.
Related Topics:
& PARENT OBJECTS
PARENT OBJECTS
TOPIC: PARENT OBJECTS
Parent objects provide a way for several objects to inherit common
attributes, exits, and $-commands from a single object, so that changing
the parent object affects all of its children. When searching for
attributes or exits, first the object itself is checked, then the parent
is checked only if the object does not have what was searched for.
Any attribute the parent object has will be passed down to its children,
if they don't already have one. For instance, if the child object has no
description, it will inherit the description of its parent.
Any exits the parent object has will show up in the exit list of the
child, and may be used as normal exits.
The parent is searched for $-commands as well as the child, and only
attributes that are unique to the parent are checked, so that conflicting
attribute names are skipped. If both have an attribute named "cmd1",
only the child's "cmd1" attributes is checked for a $-command.
{ 'help parent2' for more }
& PARENT ROOMS
PARENT ROOMS
Parent rooms are a subset of zones. If a room is used as a zone object,
it is a parent room (PR). PRs are like local "master" rooms. Exits in
the PR are global to that zone, and $commands on objects in the PR are
global to that zone. Parent rooms are only defined if globals are used.
Parent rooms should only be used for very large zones which have a lot
of global exits. Otherwise, a ZMO thing should be used, because command
evaluation on a parent room is slower than command evaluation on a ZMO.
Large numbers of parent rooms may slow down the game significantly.
Related Topics: ZONES and COMMAND EVALUATION
& PARENT()
PARENT()
FUNCTION: parent(<obj>[,<new parent>])
Returns the parent of <obj>. Returns #-1 if <obj> cannot be found or
if you do not own <obj> and it is not set VISUAL.
If function side effects are allowed, this function, given two arguments,
acts just like @parent <object>=<new parent>.
Example:
> say parent(me)
You say, "#-1"
> say My va is [v(va)].
You say, "My va is "
> @parent me=test
Parent set.
> say parent(me)
You say, "#323"
> say My va is [v(va)].
You say, "My va is Testing 123"
Related Topics: @parent, PARENT OBJECTS.
& PARENT2
PARENT OBJECTS (continued)
A parent object may itself have a parent, up to a configurable limit
(usually 10 levels). The parent need not be the same type as its children,
and flags and locks are not inherited from parent objects. You may not
create parent loops.
Related Topics: @parent, parent().
& PARENT_OK
PARENT_OK
FLAG: PARENT_OK(Y) ()
If an object is set PARENT_OK, then any other object that passes the object's
ParentLock may make this object a parent of any object that it controls.
Caution: allowing others to use your objects as parents lets them read the
attributes on the object (as well as any parents of the object).
Related Topics: @lock/parent.
& PEERING
PEERING
The PEERING flag is used to denote an object which is looking into
another realm but is not visible there. It requires the attribute
PEERING_REALM be set with a value of the realm being watched. The
value MUST be in all uppercase letters.
& PEMIT()
PEMIT()
FUNCTION: pemit(<list of objects>, <message>)
A side effect function, with the same effect as @pemit/list <list of
objects> = <message>.
Related Topics: @pemit.
& PFIND()
pfind(<string>)
This function behaves just like pmatch() except that it will match
a non-player dbref. This function is provided in case the old behavior
of pmatch() is still required.
Related Topics: pmatch()
& PI()
PI()
FUNCTION: pi()
Returns the value of the trigonometric constant pi to fifteen decimal
places.
Example:
> say pi()
You say, "3.141592653589793"
Related Topics: acos(), asin(), atan(), cos(), sin(), tan().
& PICKRAND()
PICKRAND()
FUNCTION: pickrand(<word1> <word2> <...<wordN>[,<delimiter>])
This function picks a random element from a list. It's faster than
first(shuffle(foo)) or extract(foo,rand(words(foo)),1). <delimiter> is an
optional one-character output delimiter.
Example:
> say pickrand(foo bar baz)
You say, "bar"
Related Topics: die(), lrand(), rand(), shuffle()
& PIPING
PIPING
Command piping in MUX is similar to piping in a UNIX shell. You string two
or more commands together using the ;| symbol, much as you would using a
semicolon. The output from the previous command in a pipe is accessible
using the %| substitution. This output contains the raw ASCII codes that
would normally be directly output to your terminal. You may use the
translate() function to either convert the raw characters in the output to
MUX substitutions, or strip them out altogether. Like the semicolon, the ;|
symbol in MUX is taken literally if you type it on the terminal. Currently
you may only pipe 20 commands in a row.
Examples:
> &MAILDESC me=$+maildesc *=*:look %0 ;| @mail/quick
%1/Description=[translate(%|,1)]
> &SAYDESC me=$+saydesc *:look %0 ;| say %r%|
> +saydesc me
You say, "
Idoru(#5PXMWc)
You see nothing special.
"
Related Topics: translate().
& PLAYER
PLAYER
FLAG: PLAYER(P) ()
The PLAYER flag identifies you as a player. Except for the @toad command,
this flag cannot be reset. Regular players, robots, and guests are all
player objects.
Related Topics: @toad (in wizhelp), OBJECT TYPES
& PLAYMEM()
PLAYMEM()
FUNCTION: playmem(<player>)
Returns the size in bytes of <player>.
Note that this is the total number of bytes that the player uses,
including all objects that they own. You must be a Wizard, or have
the search power to use this function on another player.
Related Topics: objmem()
& PMATCH()
PMATCH()
FUNCTION: pmatch(<string>)
Given the partial name of a player, it returns that player's dbref number.
This partial name completion works identically to the partial name
completion of the "page" command - i.e. it first attempts to match the
normal names of all players (connected or not), and if that fails, it tries
to match the partial names of connected players. If no player is matched,
it returns "#-1 NO MATCH". If multiple matches are found, it returns the
first match, in order of connection time.
Pmatch() will also accept *<player> or #<db#>. If given a non-player
dbref #, pmatch() will return "#-1 NO MATCH".
Related Topics:
& POLL()
POLL()
FUNCTION: poll()
poll() returns the current poll (the top of the @doing column in WHO) as
set with the @poll command.
Related Topics: doing()
& PORTS()
PORTS()
FUNCTION: ports(<player name>)
This function returns the list of descriptors ("ports") that a player,
specified by full player name, or by dbref, is connected to. Wizards
can use this function on anyone, but mortals can only use it on
themselves.
If the <player> is not connected, an empty list is returned. Otherwise,
a list of ports is returned in order of most recent connection to least
recent connection. These ports correspond to those given by the SESSION
command.
Related Topics: lports()
& POS()
POS()
FUNCTION: pos(<string1>,<string2>)
This function returns the position that string1 begins in string2, with the
first position being 1. If string1 is not in string2, then it returns #-1.
Example:
> think pos(man,superman)
6
Related Topics:
& POSE
POSE
COMMAND: pose[/<switches>] <message>
Displays <message> to everyone in your current room, preceded by your name
and optionally a space.
Example:
>pose jumps for joy.
Player jumps for joy.
The following switches are available:
/default - (default) Put a space between your name and the message
(ie, display '<name> <message>').
/nospace - Don't put a space between your name and the message
(ie, display '<name><message>').
Related Topics: page, say, whisper, :, ;, ".
& POSS()
POSS()
FUNCTION: poss(<object>)
Returns the proper possessive pronoun (his, her, its, their) for referring
to <object>, based on the object's Sex attribute. You must either control
or be near <object>.
Related Topics: aposs(), obj(), subj(), SUBSTITUTIONS.
& POWER()
POWER()
FUNCTION: power(<number>, <power>)
Returns the result of raising <number> to the <power>'th power.
<number> may not be negative. <number> and <power> may be floating point
numbers, and a floating point result is returned.
Examples:
> say power(2,3)
You say, "8"
> say power(9, 0.5)
You say, "3"
> say power(100,pi())
You say, "1919487.5835776979"
> say power(5, 0)
You say, "1"
> say power(0, 0)
You say, "1"
> say power(2,-3)
You say, "0.125"
> say power(0,-1)
You say, "+Inf"
Related Topics: exp(), ln(), log(), sqrt()
& POWERS LIST
POWERS LIST
announce Can use the @wall command.
boot Can use the @boot command.
builder Can build, if the builder power is enabled.
chown_anything Can @chown anything to anyone.
comm_all Like a wizard with respect to channels.
control_all Can modify any object in the database.
expanded_who Sees the wizard WHO, and SESSION commands.
find_unfindable Can locate unfindable people.
free_money Unlimited money.
free_quota Unlimited quota.
guest Is this a guest character?
halt Can @halt anything, and @halt/all.
hide DARK flag is effective for hiding.
idle No idle timeout.
immutable No attributes may change (1).
long_fingers Can get, look, whisper, etc from a distance.
{ 'help powers list2' for more }
& POWERS LIST2
POWERS LIST (continued)
monitor Can set or reset monitor flag.
pass_locks Can successfully pass all locks.
poll Can set the @poll.
prog Can use @program on players other than them self.
search Can @search anyone.
see_all Can see mortal-permissioned attributes of all things.
see_hidden Can see hidden players and DARK wizards.
see_queue Can @ps/all or @ps any player.
siteadmin Can @shutdown and @restart.
stat_any Can @stat any player.
steal_money Can give negative money.
tel_anywhere Can teleport anywhere.
tel_anything Can teleport anything (includes tel_anywhere)
unkillable Cannot be killed with the 'kill' command.
Footnotes:
(1) The immutable power is only available with --enable-firanmux.
Related Topics: @power
& POWERS()
POWERS()
FUNCTION: powers(<object>)
Returns a space-delimited list of power names for <object>. You may not be
able to retrieve information for objects that you do not own.
Related Topics: haspower()
& PUEBLO
PUEBLO
@VRML_URL is the URL of a VRML scene for a particular room.
@HTDesc is an alternate description for players who are logged in using
Pueblo.
@pemit/html and @emit/html allow outputting unescaped HTML strings.
Please see http://www.chaco.com/pueblo/doc/enhancing.html for more details.
Related Topics: HTML, @htdesc, @vrml_url
& PUPPET
PUPPET
FLAG: PUPPET(p) ()
@set <object> = puppet. Causes an object to grow eyes and
ears, and relay all it sees and hears to its owner.
Related Topics: @force, PUPPETS
& PUPPETS
PUPPETS
An object is made into a puppet by doing '@set <object>=puppet', once an
object is a puppet it will relay all that it sees and hears to its master.
All objects created by a puppet are owned by its master, when puppets spend
or earn money, they use their master's money supply. In order to prevent
puppets from screwing up puzzles, objects may have the KEY flag set, this
will prevent puppets from picking the object up. A puppet may be commanded
by its master by '@force <object>=command', or by the shorthand version,
'#<number of puppet> command'. The puppet flag is handy for debugging, as
it allows you to see the result messages your object generates.
Example:
@force fred="hi there. -or- #4342 "hi there.
Related Topics: VERBOSE.
& QUELL
QUELL
FLAG: QUELL() ()
Any object set QUELL will disregard any WIZARD flag it has. That is, objects
that do not have a WIZARD flag are not affected by the QUELL flag, and
objects that do have a WIZARD flag act as if they do not have it. QUELL also
prevents objects from inheriting WIZARD abilities from their owners.
The main purpose of this flag is to allow Wizards to temporarily become
"mortal" (non-wizardly) for purposes of testing code or whatnot. With the
QUELL flag set, they are for all intents and purposes just like a non-Wizard
character. This allows a Wizard to turn her wizbit on and off, sorta.
This flag is only available with --enable-firanmux.
Related Topics:
& QUIET
QUIET
FLAG: QUIET(Q) ()
This flag when set on yourself prevents you from hearing
the 'set' or 'triggered' messages from any objects you own. When
set on an object, only that object will not relay its messages.
Related Topics:
& QUIT
QUIT
COMMAND: quit
Logs you out and disconnects you from the game.
Related Topics: logout.
& R()
R()
FUNCTION: r(<number>)
The r() function is used to access "local registers", and returns
the contents of the specified register. There are thirty-six such
registers, numbered 0 through 9 and A through Z. The local
registers are normally cleared at the start of each command, but are
preserved across the commands that compose an action list, as well as
commands that directly trigger action lists, such as @switch,
@trigger, and @dolist.
Related Topics: setq(), setr().
& RAND()
RAND()
FUNCTION: rand(<num>)
rand(<lower>, <upper>)
In the first form, rand() returns an integer between 0 and num-1. In the
second form, rand() returns an integer between <lower> and <upper>,
inclusively.
Example:
> say rand(10)
You say, "6"
> say rand(10)
You say, "1"
> say rand(-1,2)
You say, "0"
Related Topics: die(), lrand(), pickrand(), shuffle()
& READ
READ
COMMAND: read [<object>]
Displays the description of <object>, or the room you're in if you don't
specify an object. Specifying object as <name> or #<dbref> or 'me' or
'here' is legal. You can also use look to look at objects held by other
people, just use 'read <person>'s <object>'.
You may use the /outside switch to look at the location of your current
location (useful if you are inside a vehicle or other object). You may
also look at other objects in the 'outer' location, but you may not
use the possessive form with the /outside switch (ie: "read/outside
<person>'s <object>" won't work).
'look' is the same as 'read'.
& REGEXP AMBIGUITY
REGEXP AMBIGUITY
TOPIC: Regular Expression Ambiguity
If a regular expression could match two different parts of
the input string, it will match the one which begins
earliest. If both begin in the same place but match
different lengths, or match the same length in different
ways, life gets messier, as follows.
In general, the possibilities in a list of branches are
considered in left-to-right order, the possibilities for
`*', `+', and `?' are considered longest-first, nested
constructs are considered from the outermost in, and
concatenated constructs are considered leftmost-first. The
match that will be chosen is the one that uses the earliest
possibility in the first choice that has to be made. If
there is more than one choice, the next will be made in the
same manner (earliest possibility) subject to the decision
on the first choice. And so forth.
{ 'help regexp ambiguity2' for more }
& REGEXP AMBIGUITY2
REGEXP AMBIGUITY (continued)
For example, `(ab|a)b*c' could match `abc' in one of two
ways. The first choice is between `ab' and `a'; since `ab'
is earlier, and does lead to a successful overall match, it
is chosen. Since the `b' is already spoken for, the `b*'
must match its last possibility-the empty string-since it
must respect the earlier choice.
In the particular case where no `|'s are present and there
is only one `*', `+', or `?', the net effect is that the
longest possible match will be chosen. So `ab*', presented
with `xabbbby', will match `abbbb'. Note that if `ab*' is
tried against `xabyabbbz', it will match `ab' just after
`x', due to the begins-earliest rule. (In effect, the
decision on where to start the match is the first choice to
be made, hence subsequent choices must respect it even if
this leads them to less-preferred alternatives.)
& REGEXP EXAMPLES
REGEXP EXAMPLES
TOPIC: Regular Expression Examples
The regexp pattern '.' is equivalent to the wildcard '?'; it matches
one and only one of an arbitrary character.
The regexp pattern '.+' is equivalent to the wildcard '*'; it matches
one or more arbitrary characters. To match zero or more arbitrary
characters, the regexp pattern is '.*'.
To match a string of numbers, use: [0-9]+
To match a string of letters only, use: [A-Za-z]+
Related Topics: regexp syntax
& REGEXP SYNTAX
REGEXP SYNTAX
TOPIC: Regular Expression Syntax
The following explanation is taken from Henry Spencer's regexp(3)
package, the regular expression library used in TinyMUX up to version
2.2. After that, the PCRE package is used, which has many more features.
See a book that covers Perl's regular expressions for details.
A regular expression is zero or more branches, separated by
`|'. It matches anything that matches one of the branches.
A branch is zero or more pieces, concatenated. It matches a
match for the first, followed by a match for the second,
etc.
A piece is an atom possibly followed by `*', `+', or `?'.
An atom followed by `*' matches a sequence of 0 or more
matches of the atom. An atom followed by `+' matches a
sequence of 1 or more matches of the atom. An atom followed
by `?' matches a match of the atom, or the null string.
{ 'help regexp syntax2' for more }
& REGEXP SYNTAX2
REGEXP SYNTAX (continued)
An atom is a regular expression in parentheses (matching a
match for the regular expression), a range (see below), `.'
(matching any single character), `^' (matching the null
string at the beginning of the input string), `$' (matching
the null string at the end of the input string), a `\'
followed by a single character (matching that character), or
a single character with no other significance (matching that
character).
A range is a sequence of characters enclosed in `[]'. It
normally matches any single character from the sequence. If
the sequence begins with `^', it matches any single
character not from the rest of the sequence. If two
characters in the sequence are separated by `-', this is
shorthand for the full list of ASCII characters between them
(e.g. `[0-9]' matches any decimal digit). To include a
literal `]' in the sequence, make it the first character
(following a possible `^'). To include a literal `-', make
it the first or last character.
Related Topics: regexp ambiguity, regexp examples.
& REGEXPS
REGEXPS
TOPIC: Regular Expressions
The majority of matching in MUX is done with wildcard ("globbing")
patterns. There is a second type of matching, using regular expressions,
that is available in certain circumstances.
For attributes that are $-commands or ^-listen-patterns, setting that
attribute "regexp" (with '@set <object>/<attribute>=regexp') causes
patterns to be matched using regular expressions rather than globbing.
In a regular expression match, the substring of the string which matched
the regexp pattern is %0; %1 through %9 are the substrings of the string
which matched parenthesized expressions within the regexp pattern.
{ 'help regexps2' for more }
& REGEXPS2
REGEXPS (continued)
Regular expressions are extremely useful when you want to enforce
a data type. For example, if you have a command where you want a
player to enter a string and a number ('+setnum <player>=<number>',
for example), you might do it like this:
&DO_NUM Command Object=$+setnum (.+)=([0-9]*): @va me=Data: %1 = %2
@set Command Object/DO_NUM = regexp
Then, '+setnum cookies=30' would set VA to "Data: cookies = 30".
This eliminates your having to check to see if the player entered
a number, since the regular expression matches only numbers.
Furthermore, the '+' guarantees that there needs to be at least
one character there, so a player can't enter '+setnum cookies='
or '+setnum =10' or similarly malformed input.
Also note that regexps are case-sensitive, but wildcard globbing is not.
Some regular expression functions offer case-insensitive versions, some
regexp can be made case-insensitive by putting (?i) at the start.
Setting the CASE attribute flag is another way of selecting
case-insensitivity.
Related Topics: regexp syntax
& REGMATCHI()
& REGMATCH()
REGMATCH()
REGMATCHI()
FUNCTION: regmatch(<string>,<regexp>[,<register list>])
regmatchi(<string>,<regexp>[,<register list>])
This function matches the regular expression <regexp> against the
entirety of <string>, returning 1 if it matches and 0 if it does not.
Normally, the regular expression is case sensitive. The regmatchi()
version is not.
If <register list> is specified, there is a side-effect: any
parenthesized substrings within the regular expression will be set
into the specified local registers, in the order they were specified
in the list. <register list> can be a list of one through nine
numbers or A through Z. If the specified register is -1, the
substring is not copied into a register.
For example, if <string> is 'cookies=30', and <regexp> is '(.+)=([0-9]*)'
(parsed; note that escaping may be necessary), then the 0th substring
matched is 'cookies=30', the 1st substring is 'cookies', and the 2nd
substring is '30'. If <register list> is '0 3 5', then %q0 will become
"cookies=30", %q3 will become "cookies", and %q5 will become "30".
If <register list> was '0 -1 5', then the "cookies" substring would
simply be discarded.
See 'help regexp syntax' for an explanation of regular expressions.
& REGRAB()
REGRAB()
FUNCTION: regrab(<list>, <regexp>[, <separator>])
regrabi(<list>, <regexp>[, <separator>])
regraball(<list>, <regexp>[, <separator>])
regraballi(<list>, <regexp>[, <separator>])
These functions act like grab() and graball(), respectively, except
instead of matching with a wildcard pattern, they use a regular
expression. regrab() returns the first element of the list that
matches the regexp, and regraball() returns all the elements that
match. They are case-sensitive. The versions ending in 'i' are
case-insensitive.
Related Topics: grab(), graball(), regrabi(), regraball(),
regraballi(), regexp syntax.
& REGRABI()
REGRABI()
FUNCTION: regrabi(<list>, <regexp>[, <separator>])
This function is part of the REGRAB family of functions. See regrab()
for a full description.
Related Topics: regrab(), regraball(), regraballi(), regexp syntax.
& REGRABALLI()
REGRABALLI()
FUNCTION: regraballi(<list>, <regexp>[, <separator>])
This function is part of the REGRAB family of functions. See regrab()
for a full description.
Related Topics: regrab(), regrabi(), regraball(), regexp syntax.
& REGRABALL()
REGRABALL()
FUNCTION: regraball(<list>, <regexp>[, <separator>])
This function is part of the REGRAB family of functions. See regrab()
for a full description.
Related Topics: regrab(), regrabi(), regraballi(), regexp syntax.
& REMAINDER()
REMAINDER()
FUNCTION: remainder(<integer1>,<integer2>)
Returns the integer remainder from dividing <integer1> by <integer2>.
However, integer division for the case where either <integer1> or
<integer2> is negative is defined in a specific way -- by choosing
the smallest integer that is greater than or equal to the algebraic
quotient. If <integer1> and <integer2> are the same sign, then
mod() and remainder() are equivalent.
For example, division of -9 by 5 would give -1 by this definition
instead of -2. idiv() would return -1. floordiv() would return -2,
and so, the remainder() function properly goes with the idiv()
function:
idiv(x,y)*y + remainder(x,y) ==> x
For positive x, remainder(x,y) always returns a positive number less
than y. For negative x, remainder(x,y) always returns a negative
number greater than y.
remainder() is usually the way the '%' operator in the C programming
language is defined.
Example:
> say remainder(-9,5)
You say, "-4"
> say remainder(-9,-5)
You say, "-4"
> say remainder(17,3)
You say, "2"
> say remainder(18,3)
You say, "0"
Related Topics: iadd(), idiv(), imul(), isub(), floordiv(), fmod(),
mod().
& REMIT()
REMIT()
FUNCTION: remit(<room>, <message>)
A side effect function that has the same effect as @remit <room> =
<message>.
Related Topics: @remit.
& REMOVE()
REMOVE()
FUNCTION: remove(<list>, <word>[, <idelim>[, <odelim>]])
Remove takes a list and a word, and returns the list, with the word
deleted from it. <idelim> may be used to specify an input delimiter
other than a space. <odelim> is the output delimiter.
Example:
> say remove(this is a test, is)
You say, "this a test"
> say remove(You can't remove, this)
You say, "You can't remove"
> say remove(You can't remove multiple words, You can't)
You say, "#-1 CAN ONLY DELETE ONE ELEMENT"
> say remove(How about an o-separated list, w ab, o)
You say, "Hout an o-separated list"
Related Topics:
& REPEAT()
REPEAT()
FUNCTION: repeat(<string>,<number>)
This function simply repeats <string>, <number> times. No spaces are
inserted between each repetition.
Example:
> say repeat(Test, 5)
You say, "TestTestTestTestTest"
Related Topics:
& REPLACE()
REPLACE()
FUNCTION: replace(<list>, <positions>, <word>[, <input delim> [, <output delim>]])
This function replaces elements(s) from <list> with <word> at the given
<positions>. Negative <positions> are relative to the end of the list.
Elements of <list> are delimited by <input delim>. Elements of <positions>
are always delimited by a space.
Elements of the returned list are separated by <output delim> which
defaults to <input delim> which defaults to a space.
Examples:
> say replace(This is a test, 4, quiz)
You say, "This is a quiz"
> say replace(Yet@Another@Mundane@List, 3, Funky, @)
You say, "Yet@Another@Funky@List"
Related Topics: extract(), insert(), ldelete(), setdiff(), splice().
& REPORT
REPORT
COMMAND: report
Display an aggregation or census of player objects divided into 8 hour
segments based on LAST connection attribute.
Related Topics:
& REST()
REST()
FUNCTION: rest(<string>[, <delim>])
The rest function takes a string, returns all the string except the first
word, that is, everything to the right of the first space, or an empty
string, or the empty string if there are no spaces in the string.
<delim> may be used to specify a word delimiter other than a space.
Example:
> say rest(This is a test)
You say, "is a test"
> say rest(Would you like coffee, or perhaps tea)
You say, "you like coffee, or perhaps tea"
> say rest(List!with!different!delimiters,!)
You say, "with!different!delimiters"
Related Topics: first().
& RESTARTS()
RESTARTS()
FUNCTION: restarts()
Returns the number of times the server has been restarted since the initial
startup.
Related Topics: starttime(), restarttime().
& RESTARTSECS()
RESTARTSECS()
FUNCTION: restartsecs()
Returns the number of seconds that represents the time since the MUX was
restarted or the startup time if no @restart has occurred. The time is
measured in the same way as the secs() function. This is easier and
more efficient than using convtime(restarttime()).
Example:
> say restartsecs()
You say, "959093815"
Related Topics: convsecs(), restarttime(), secs().
& RESTARTTIME()
RESTARTTIME()
FUNCTION: restarttime()
Returns a string which is the time the MUX last restarted. The time
is in the same format as the TIME() function returns. If no @restart
has been performed, restarttime() returns the same value as starttime().
Example:
> say restarttime()
You say, "Sat Dec 7 00:09:13 1991
Related Topics: convtime(), starttime(), time().
& RESTRICTED
RESTRICTED
FLAG: RESTRICTED() (!)
Any object set RESTRICTED will have the number of commands available to use
greatly limited. Generally, this flag works in conjunction with the
no_restricted access permission (see 'wizhelp PERMISSIONS', 'wizhelp
access', etc.) which is used to mark which commands can not be used by
RESTRICTED players (or objects).
Command access permissions can be viewed by a wizard using the '@list
permissions' command. Commands marked 'no_restricted' in this list cannot
be used by RESTRICTED players or objects.
Note that a RESTRICTED Wizard character who later sets herself QUELL will
not be able to set herself un-RESTRICTED! Fixing this will require the help
of a fully-powered wizard. Be careful with this combination.
This flag is only available with --enable-firanmux.
Related Topics: no_restricted
& REVERSE()
REVERSE()
FUNCTION: reverse(<string>)
Reverses the order of the characters of <string>.
Examples:
> say reverse(This is a test)
You say, "tset a si sihT"
> say reverse(This is a test, Really...)
You say, "...yllaeR ,tset a si sihT"
> say reverse(A man, a plan, a canal -- Panama!)
You say, "!amanaP -- lanac a ,nalp a ,nam A"
Related Topics: revwords().
& REVWORDS()
REVWORDS()
FUNCTION: revwords(<string>[, <idelim>[, <odelim>]])
Reverses the order of the words of <string>. A word is considered to be
any sequence of non-blank characters, separated by blanks, so punctuation
characters that follow a word are considered part of the word.
<idelim> may be used to specify an input delimiter other than a space.
<odelim> is the output delimiter.
Examples:
> say revwords(This is a test. Really...)
You say, "Really... test. a is This"
> say revwords(Was it a cat I saw?)
You say, "saw? I cat a it Was"
Related Topics: reverse().
& RIGHT()
RIGHT()
FUNCTION: right(<string>, <length>)
This returns the right-most <length> characters from the <string>.
If you are looking for left(), the corresponding function to right(), then
look at strtrunc() as an equivalent.
Related Topics: mid(), strtrunc().
& RJUST()
RJUST()
FUNCTION: rjust(<string>, <width>[, <fill>])
This function right-justifies <string> within a <width>-sized field. That
is, it positions <string> visually in the right-most part of a
<width>-sized field.
The background of this field is specified by a repeating pattern of <fill>
characters. The origin of this repeating pattern is at the first position
of the field. Another way of saying this is that the repeating pattern
starts in first position and repeats to the right. The last <fill> pattern
may be truncated.
By default, <fill> is a single, normal-colored space. The color of
<string> and <fill> is maintained.
If the visual width of <string> is longer than <width> characters, it is
truncated to fit.
Examples:
> say -[rjust(foo,6)]-
You say, "- foo-"
> say %r0[rjust(foo,6)]7%r01234567
You say, "
0 foo7
01234567"
> say =[rjust(bar,5,.)]=
You say, "=..bar="
> say rjust(%xh%xrR%xgG%xbB,31,%xy--%xm+)
--+--+--+--+--+--+--+--+--+-RGB
Related Topics: center(), cpad(), ljust(), lpad(), rpad().
& RLOC()
RLOC()
FUNCTION: rloc(<object>,<levels>)
This function may be used to get the location of an object's location
(for which you would previously use 'loc(loc(<object>))', which fails if you
don't control <object>'s location). <levels> indicates the number of
nested 'loc' calls to make, so 'loc(loc(<object>))' could be replaced with
'rloc(<object>,2)'. If rloc() encounters a room, the dbref of the room
is returned.
You must either control the object or be nearby for it to work. When used
on an exit it returns the destination of the exit. You can also use rloc()
to find the location of players that are not set UNFINDABLE.
rloc(<object>,0) is the same as num(<object>), and rloc(<object>,1) is the
same as loc(<object>).
Related Topics: loc(), where().
& RSERROR()
RSERROR()
FUNCTION: RSERROR()
Within a @query completion @trigger, this returns the error condition of the
query.
Related Topics: @query, rsnext(), rsprev(), rsrelease(), rsrec(),
rsrecnext(), rsrecprev(), rsrows(), sql().
& RSNEXT()
RSNEXT()
FUNCTION: RSNEXT()
Within a @query completion @trigger, this positions the cursor to next row
within the results set.
Related Topics: @query, rserror(), rsprev(), rsrelease(), rsrec(),
rsrecnext(), rsrecprev(), rsrows(), sql().
& RSPREV()
RSPREV()
FUNCTION: RSPREV()
Within a @query completion @trigger, this positions the cursor to previous
row within the results set.
Related Topics: @query, rserror(), rsnext(), rsrelease(), rsrec(),
rsrecnext(), rsrecprev(), rsrows(), sql().
& RSRELEASE()
RSRELEASE()
FUNCTION: RSRELEASE()
This intentionally releases the memory for any results set.
Related Topics: @query, rserror(), rsnext(), rsprev(), rsrec(), rsrecnext(),
rsrecprev(), rsrows(), sql().
& RSREC()
RSREC()
FUNCTION: RSREC([<output delim>])
Within a @query completion @trigger, this returns the current row of the
results set. The optional output delimiter will be used to separate the
columns in the returned row.
Related Topics: @query, rserror(), rsnext(), rsprev(), rsrelease(),
rsrecnext(), rsrecprev(), rsrows(), sql().
& RSRECNEXT()
RSRECNEXT()
FUNCTION: RSRECNEXT([<output delim>])
Within a @query completion @trigger, this returns the current row of the
results set and positions the cursor to the next row. The optional output
delimiter will be used to separate the columns in the returned row.
Related Topics: @query, rserror(), rsnext(), rsprev(), rsrelease(), rsrec(),
rsrecprev(), rsrows(), sql().
& RSRECPREV()
RSRECPREV()
FUNCTION: RSRECPREV([<output delim>])
Within a @query completion @trigger, this returns the current row of the
results set and positions the cursor to the previous row. The optional output
delimiter will be used to separate the columns in the returned row.
Related Topics: @query, rserror(), rsnext(), rsprev(), rsrelease(), rsrec(),
rsrecnext(), rsrows(), sql().
& RSROWS()
RSROWS()
FUNCTION: RSROWS()
Within a @query completion @trigger, this returns number of rows in the
resulting results set.
Related Topics: @query, rserror(), rsnext(), rsprev(), rsrelease(), rsrec(),
rsrecnext(), rsrecprev(), sql().
& ROBOT
ROBOT
FLAG: ROBOT(r) ()
If set on a player, indicates that the player is a robot and is allowed to
use the OUTPUTPREFIX and OUTPUTSUFFIX commands that many publicly available
robot programs require. Some MUXes do not restrict access to the
OUTPUTPREFIX and OUTPUTSUFFIX commands.
If set on an exit or a thing, indicates that robot players may not use the
exit or pick up the thing, the player is treated as having failed the lock.
Related Topics: OUTPUTPREFIX, OUTPUTSUFFIX, @robot.
& ROMAN()
ROMAN()
FUNCTION: ROMAN(<number1>)
Given a number, it returns its Roman form. Only numbers between 1 and 3999
can be converted.
Example:
> say roman(1999)
You say, "MCMXCIX"
& ROOM
ROOM
FLAG: ROOM(R) ()
This flag is automatically set on rooms when you @dig a new room. It cannot
be changed.
Related Topics: OBJECT TYPES
& ROOM()
ROOM()
FUNCTION: room(obj)
Returns the number of the room that <obj> is in, or would be in if it
executed LEAVE commands until it got to a room. You can find out the
containing room of objects you own, nearby objects, and findable players.
Example:
> i
You are carrying:
hat(#368)
cat(#325)
> look
Mortal's Room(#367R)
A bare room with nothing in it but a bed and a chair.
> say I am in [room(me)], the cat is in room [room(cat)].
You say, "I am in #367, the cat is in room #367."
> @fo hat=get cat
cat has left.
> say The cat is in [loc(#325)] within room [room(#325)].
You say, "The cat is in #368 within room #367."
Related Topics: loc(), UNFINDABLE.
& ROUND()
ROUND()
FUNCTION: round(<number>,<places>)
Rounds <number> to <places> positions right of the decimal point. <places>
may be negative in which case the rounding occurs in the ones, tens,
hundreds, etc. place.
Examples:
> say round(5.123,1)
You say, "5.1"
> say round(9.8765,3)
You say, "9.877"
> say round(5.5,0)
You say, "6"
> say round(-5.5,0)
You say, "-6"
> say round(520,-3)
You say, "1000"
Related Topics: fdiv(), floor(), mod(), trunc().
& ROYALTY
ROYALTY
FLAG: ROYALTY(Z) ()
If a person is ROYALTY, they can see and examine things, and
teleport anywhere or anything, like a wizard can. They cannot modify
objects or players they do not control, and cannot use wizard commands.
This flag may only be set by a wizard.
Related Topics:
& RPAD()
RPAD()
FUNCTION: rpad(<string>, <width>[, <fill>])
This function right-justifies <string> within a <width>-sized field. That
is, it positions <string> visually in the right-most part of a
<width>-sized field.
The background of this field is specified by a repeating pattern of <fill>
characters. The origin of this repeating pattern is at the first position
of the field. Another way of saying this is that the repeating pattern
starts in first position and repeats to the right. The last <fill> pattern
may be truncated.
By default, <fill> is a single, normal-colored space. The color of
<string> and <fill> is maintained.
Unlike rjust(), if the visual width of <string> is longer than <width>
characters, it is not truncated to fit.
Examples:
> say -[rpad(foo,6)]-
You say, "- foo-"
> say %r0[rpad(foo,6)]7%r01234567
You say, "
0 foo7
01234567"
> say =[rpad(bar,5,.)]=
You say, "=..bar="
> say rpad(%xh%xrR%xgG%xbB,31,%xy--%xm+)
--+--+--+--+--+--+--+--+--+-RGB
Related Topics: center(), cpad(), ljust(), lpad(), rjust().
& RXLEVEL()
RXLEVEL()
FUNCTION: rxlevel(<target>)
Returns a space-separated list of <target>'s Rx Levels. You must control
<target>. If no levels are listed, nothing is returned. If you do not
control the target, or if the target does not exist, '#-1' is returned.
NOTE: This function is not available unless reality levels was enabled at
compile-time.
Example:
> say rxlevel(me)
You say, 'Real'.
Related Topics: hasrxlevel(), hastxlevel(), txlevel(), listrlevels()
& S()
S()
FUNCTION: s(string)
This function performs pronoun substitution in a string, and then returns
that string. As usually, %n is the name, %s the subjective pronoun, %o the
objective, %p the possessive, and %a the absolute possessive. It is
important to note that the pronoun is that of the triggering object.
So, if the ve of an object were: "[s(This is %n)], and I were to
type @trigger <object>/ve, it would return "This is <myname>", but
if vf were @trigger me/ve, then triggering the vf makes the ve
return "This is <object>"
Related Topics:
& SAFE
SAFE
FLAG: SAFE(s) ()
When set, requires the use of the /override switch to @destroy in order to
destroy the object. It does not prevent the destruction of the object,
but merely requires some additional effort. If a thing is set DESTROY_OK,
its SAFE flag is ignored and it may be destroyed without using the /override
switch.
Related Topics: @destroy, DESTROY_OK.
& SAY
SAY
COMMAND: say[/noeval] <message>
nsay <message>
"<message>
Says <message> out loud to everyone in your current location (usually
a room). If you use say/noeval or nsay, the message is not evaluated.
Example:
> say Where is the movie theater?
Player says, "Where is the movie theater?"
Related Topics: page, pose, whisper, :, ;, ".
& SCORE
SCORE
COMMAND: score
Displays how much money you have. Helpful to see if any machines are
looping.
Related Topics: @ps, LOOPING, inventory.
& SCRAMBLE()
SCRAMBLE()
FUNCTION: scramble(<string>)
This function scrambles a string, returning a random permutation of its
characters. Note that this function does not pay any attention to spaces
or other special characters; it will scramble these characters just like
normal characters.
Example:
> say scramble(abcdef)
You say, "cfaedb"
Related Topics: shuffle()
& SEARCH CLASSES
SEARCH CLASSES
You may use the following classes in @search commands and search()
function calls:
TYPE - Restricts to objects of the indicated type (OBJECTS, ROOMS,
EXITS, PLAYERS). THINGS may be used as an alias for OBJECTS.
NAME - Restricts to objects whose names start with <restriction>.
OBJECTS - A combination of TYPE=OBJECT and NAME=<restriction>.
THINGS - An alias for OBJECTS.
ROOMS - A combination of TYPE=ROOM and NAME=<restriction>.
EXITS - A combination of TYPE=EXIT and NAME=<restriction>.
PLAYERS - A combination of TYPE=PLAYER and NAME=<restriction>.
FLAGS - Restricts to objects which have the flags listed in
<restriction> set..
POWER - Restricts to objects which have the specified power.
EVAL - Evaluates the restriction for each object, replacing ##
with the object's database number. Evaluations that return
TRUE (ie, not 0 or #-1) are selected.
ZONE - Restricts to objects that are in the indicated zone.
{ 'help search classes2' for more }
& SEARCH CLASSES2
SEARCH CLASSES (continued)
EOBJECT - A combination of TYPE=OBJECT and EVAL=<restriction>.
ETHING - An alias for OBJECTS.
EROOM - A combination of TYPE=ROOM and EVAL=<restriction>.
EEXIT - A combination of TYPE=EXIT and EVAL=<restriction>.
EPLAYER - A combination of TYPE=PLAYER and EVAL=<restriction>.
PARENT - Restricts to the parent designated by <restriction>.
ZONE - Restricts to the zone designated by <restriction>.
& SEARCH()
SEARCH()
FUNCTION: search([<player>] [<class>=<restriction>[,<low>[,<high>]]])
The search() function returns a list of objects that match the search
criteria, which are the same as with the @search command. This function
costs as much as the @search command, so repeated use is expensive.
Caution: if you use the [ and ] characters in an Eval selection you will
need to escape them.
Examples:
> say search()
You say, "#226 #289 #325 #364 #368 #369"
> @stats me
6 objects = 0 rooms, 0 exits, 5 things, 1 players. (0 garbage)
> say search(eval=\[eq(money(##),1)\])
You say, "#289 #325 #364 #368 #369"
> say search(player=wizard)
You say, "#1"
Related Topics: @search, SEARCH CLASSES.
& SECS()
SECS()
FUNCTION: secs([<zonename>][, <precision>])
The optional <zonename> parameter may be "utc" or "local". If no
<zonename> is given, "utc" is assumed.
local - Returns an integer which corresponds to the current local
time on the machine running the MUX. This integer is
affected by time zones and daylight savings time and is
therefore primarily useful in conjunction with
convsecs(..,utc).
utc - Returns the number of seconds (not counting leap seconds)
since Jan 01 00:00:00 1970 UTC. This count of seconds is
not affected by timezone or daylight savings time and is
useful for calculating durations between two absolute
points in time.
<precision> determines the number of fractional seconds shown.
By default, no fractional seconds are shown.
Example:
> say secs()
You say, "957557434"
... wait a bit ...
> say secs()
You say, "957557447"
> say secs(local,5)
You say, "957532580.09348"
Related Topics: convsecs(), convtime(), time().
& SECURE()
SECURE()
FUNCTION: secure(<string>)
Returns <string> after replacing the characters %$\[](){},; with spaces.
This prevents strings entered by players from causing undesired side
effects when used, such as making your object perform unintended commands
or give out information to which you have access. Note that this function
is only needed when the resulting string is to be passed through the @force
command or be used as an attribute for an object (like the success message
for a mail message object).
> @va me=Sneak a peek at Wiz's desc... [get(#1/desc)]
> say secure(%va)
You say, "Sneak a peek at Wiz's desc... get #1/desc "
> say secure($foobar:this {is} a really, tough ; test.)
You say, " foobar:this is a really tough test."
Note: 'say secure(Sneak a peek at Wiz's desc... [get(#1/desc)])' does not
produce the expected result because the argument is evaluated BEFORE being
processed by secure(), therefore the [get()] call has already been
performed.
Related Topics: escape().
& SEMAPHORES
SEMAPHORES
Semaphores may be used for synchronizing complex objects or for enforcing
mutual exclusion. You may use any object you own or any LINK_OK object as
a semaphore, and any type of object (thing, room, player, or exit) may be
used.
The semaphore state of an object is shown by the Semaphore attribute (which
is read-only); a positive number indicates the number of commands awaiting
notifies, and a negative number indicates the number of waits on that
semaphore that will not block.
Use the '@wait <object>' form of the @wait command to request a command be
delayed until <object> is notified with the @notify command. The @drain
and @notify/all commands clear the semaphore on <object>, either
discarding or executing all pending commands. Remember that the
object performing the @wait executes the command, not the object used
as a semaphore.
{ 'help semaphores2' for more }
& SEMAPHORES2
SEMAPHORES (continued)
You may also combine the semaphore and timer options of @wait with
'@wait <object>/<timeout> = <command>' If the time period expires before
the semaphore is notified, then the command is executed and the semaphore
count is decremented, just as if the command had been run because the
semaphore had been notified.
Examples: <simple> @wait semaphore="Foo
@notify semaphore
<mutex lock> @va mutex lock=@wait me=@trig me/vb
@vb mutex lock="Got it!;@notify me
@startup mutex lock=@notify me
<timed wait> @wait timer/60 = "Sixty Second Timer.
In the above examples you will say "Foo" after semaphore is notified,
you will say "Got it" when you have the mutual exclusion lock mutex lock
(You could have also modified object registers that need to be protected
from concurrent update), and you will say "Sixty Second Timer." either when
timer is notified or after sixty seconds pass.
Related Topics: @drain, @notify, @wait.
& SESSION
SESSION
COMMAND: session
Displays information on how many characters you have sent and received
during this session, and which (Internal) port you are connected to on the
MUX.
Example:
> session
Characters Input---- Characters Output---
Player Name On For Idle Port Pend Lost Total Pend Lost Total
Mortal 00:06 0s 16 0 0 44 156 0 2679
2 Players logged in.
Pending characters are those waiting to be acted on as commands (for input)
or waiting to be sent out over the network (output). Lost characters are
due to overflowing either the MUX's input or output buffers, either as the
result of running a single command that produces too much output (such as
@find and @search commands that match a large number of objects), or from
typing too much on one line.
Note: your Pending count for output will always be nonzero, as the output
of the SESSION command hasn't been sent out over the network yet.
& SET()
SET()
FUNCTION: set(<object>, <string>)
Works the same as @set, <object> and <string> are equivalent to what comes
before and after the '=' sign. Returns nothing.
The following demonstrate how to use set() for setting or clearing a flag,
attribute flag, or attribute on an object. As with @set, flags are cleared
by using an exclamation mark(!) preceding the flag name for both general and
attribute flags. For attributes, an empty value after the colon (:) will
clear the attribute value from the <object>.
set(<object>, <flag>)
set(<object>/<attribute>, <attribute flag>)
set(<object>, <attribute>:<value>)
Examples:
> think [set(me,foo:Twenty Pink Pigs)]
< think [set(me,foo:)]
> think [set(me,VERBOSE)]
> think [set(me/foo,!VISUAL)]
Related Topics: @set
& SETDIFF()
SETDIFF()
FUNCTION: setdiff(<list1>, <list2>[[[, <delim>], <output delim>], <sort type>])
This function returns the difference of two sets -- i.e., the elements in
<list1> that aren't in <list2>. The list that is returned is sorted.
If <delim> is specified, it (rather than a space) is used to separate items
in the list.
<sort type> may be used to specify the type of sort to perform (use 'd' for
dbref, 'n' for integer numeric, 'f' for floating numeric, 'a' for
case-sensitive alphanumeric, 'i' for case-insensitive alphanumeric, and '?'
for automatic typing). If omitted, setdiff() sorts using case-sensitive
alphanumeric. If '?' or left blank, setdiff() will try to determine the
type of sort to perform automatically.
Example:
> say setdiff(foo baz gleep bar, bar moof gleep)
You say, "baz foo"
Related Topics: setinter(), setunion(), sort().
& SETINTER()
SETINTER()
FUNCTION: setinter(<list1>, <list2>[[[, <delim>], <output delim>], <sort type>])
This function returns the intersection of two sets -- i.e., the elements
that are in both <list1> and <list2>. The list that is returned is sorted.
If <delim> is specified, it (rather than a space) is used to separate items
in the list.
<sort type> may be used to specify the type of sort to perform (use 'd' for
dbref, 'n' for integer numeric, 'f' for floating numeric, 'a' for
case-sensitive alphanumeric, 'i' for case-insensitive alphanumeric, and '?'
for automatic typing). If omitted, setinter() sorts using case-sensitive
alphanumeric. If '?' or left blank, setinter() will try to determine the
type of sort to perform automatically.
Example:
> say setinter(foo baz gleep bar, bar moof gleep)
You say, "bar gleep"
Related Topics: setdiff(), setunion(), sort().
& SETNAME()
SETNAME()
FUNCTION: setname(<object>, <newname>)
Works the same as @name, <object> and <newname> are equivalent to what comes
before and after the '=' sign. Returns nothing. This is a side effect
function, and should only be used when necessary.
This function is only available with --enable-firanmux.
Related Topics: @name
& SETPARENT()
SETPARENT()
FUNCTION: setparent(<object>, <parent>)
Works the same as @parent, <object> and <parent> are equivalent to what
comes before and after the '=' sign. Returns nothing. This is a side
effect function, and should only be used when necessary.
This function is only available with --enable-firanmux.
Related Topics: @parent
& SETQ()
SETQ()
FUNCTION: setq(<number>,<string>)
The setq() function is used to copy strings into local registers.
It returns a null string; it is a purely "side effect" function.
There are thirty-six local registers, numbered 0 through 9 and A
through Z. They are cleared at the start of each interactive
command, but are preserved across the command queue. They are most
useful for storing complex function evaluations which are used
repeatedly within a single command. The local registers may be read
via the r() function, and a common use of setq()/r() is to
temporarily store the result of a complex evaluation whose result is
needed more than once.
setq() can be used to improve the readability of MUX code, as well as to
cut down the amount of time needed to do complex evaluations.
Example:
> &TEST me=Test on [mudname()] at [time()].
> say [setq(0,u(TEST))]'[r(0)]' has length [strlen(r(0))].
You say, "'Test on TestMUX at Tue Feb 23 17:00:51 1993.' has length 45."
Related Topics: r(), setr().
& SETR()
SETR()
FUNCTION: setr(<number>,<string>)
This function is identical to setq(), but returns <string>.
Related Topics: setq(), r().
& SETUNION()
SETUNION()
FUNCTION: setunion(<list1>, <list2>[[[, <delim>], <output delim>], <sort type>])
This function returns the union of two sets -- i.e., all the elements of
both <list1> and <list2>, minus any duplicate elements. Think of it as
CAT() without duplicated words. The list returned is sorted.
If <delim> is specified, it (rather than a space) is used to separate items
in the list.
<sort type> may be used to specify the type of sort to perform (use 'd' for
dbref, 'n' for integer numeric, 'f' for floating numeric, 'a' for
case-sensitive alphanumeric, 'i' for case-insensitive alphanumeric, and '?'
for automatic typing). If omitted, setunion() sorts using case-sensitive
alphanumeric. If '?' or left blank, setunion() will try to determine the
type of sort to perform automatically.
Example:
> say setunion(foo baz gleep bar, bar moof gleep)
You say, "bar baz foo gleep moof"
> say setunion(foo|bar|foo,,|,.)
You say, "bar.foo"
Related Topics: setdiff(), setinter(), sort().
& SHA1()
SHA1()
FUNCTION: sha1(<string>)
Returns 40 hexadecimal characters which represent a 160-bit
cryptographically secure hash of <string>.
This hash can also be described as a signature, fingerprint, or
digest. sha1() implements SHA-1 as described in FIPS 180-1 and
FIPS 180-2.
Example:
> think sha1(abc)
A9993E364706816ABA3E25717850C26C9CD0D89D
> think sha1(abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq)
84983E441C3BD26EBAAE4AA1F95129E5E54670F1
Related Topics: crc32(), digest(), unpack().
& SHL()
SHL()
FUNCTION: shl(<number>,<count>)
Performs a leftwards bit-shift on <number>, shifting it <count> times.
This is equivalent to imul(<number>,pow(2,<count>), but much faster.
Example:
> think shl(2,10)
2048
Related Topics: shr(), band(), bnand(), bor(), bxor().
& SHR()
SHR()
FUNCTION: shr(<number>,<count>)
Performs a rightwards bit-shift on <number>, shifting it <count> times.
This is equivalent to idiv(<number>,pow(2,<count>), but much faster.
Example:
> think shr(1309,5)
40
Related Topics: shl(), band(), bnand(), bor(), bxor().
& SHROUD
SHROUD
The SHROUD flag is used to denote an object who is in the shroud. They
can be heard by those set MEDIUM but not seen. They see the WRAITHDESC
of the room if it is present and they see anything set SHROUD as
well as other normally visible objects.
& SHUFFLE()
SHUFFLE()
FUNCTION: shuffle(<word1> <word2> <...<wordN>[,<idelim> [,<odelim>]])
This function shuffles the order of words in a list, returning a random
permutation of its elements.
Example:
> say shuffle(foo bar baz gleep)
You say, "baz foo gleep bar"
Related Topics: die(), lrand(), pickrand(), rand()
& SIGN()
SIGN()
FUNCTION: sign(<number>)
Returns -1, 0, or 1 depending on whether its argument is negative, zero, or
positive (respectively).
Examples:
> say sign(-4.2)
You say, "-1"
> say sign(4.2)
You say, "1"
> say sign(0.0)
You say, "0"
> say sign(-1.3)
You say, "-1"
Related Topics: abs(), iabs(), isign().
& SIN()
SIN()
FUNCTION: sin(<number>[, <units>])
Returns the sine of <number> where <number> is expressed in <units>.
<units> may be 'radians', 'degrees', or 'gradians' or just the first letter
of any of these. By default, <units> is radians.
In a circle, there are 2*pi() radians, 360 degrees, and 400 gradians.
Examples:
> say sin(270,d)
You say, "-1"
> say sin(fdiv(pi(),2))
You say, "1"
> say sin(fdiv(pi(),4))
You say, "0.707107"
> say sin(fdiv(pi(),6))
You say, "0.5"
Related Topics: acos(), asin(), atan(), cos(), pi(), tan().
& SINGLETIME()
SINGLETIME()
FUNCTION: singletime(<seconds>)
This function converts seconds to a single time element which is
the lowest approximation to the given number of <seconds>.
Example:
> say singletime(45)
You say, "45s"
> say singletime(12345)
You say, "3h"
> say singletime(123456)
You say, "1d"
Related Topics: writetime(), exptime(), digittime(), secs(), time().
& SITEINFO()
SITEINFO()
FUNCTION: siteinfo(<player|port>)
Returns the site flags for <player|port> as seen on the WHO report.
These are F(forbidden), R(registration), +(suspect), and G(no guests).
If <player|port> is numeric, it's taken as a port number. Otherwise, it's
treated as a player name. If the named player is connected more than once,
the first connection is returned.
Related Topics: wizhelp WHO, wizhelp SITE LISTS.
& SITEMON
SITEMON
FLAG: SITEMON($) ()
Enables notification (to any player with this flag set) of network
connections and disconnections to the site.
Related Topics: SUSPECT
& SLAVE
SLAVE
FLAG: SLAVE(x) ()
If set on a player, neither the player nor any of his objects may perform
any commands that change the database. Some sites may restrict additional
commands. This flag may only be set or cleared by wizards.
Related Topics:
& SORT()
SORT()
FUNCTION: sort(<list>[, <sort type>[, <idelim>[, <odelim>]]])
Takes a list of words, numbers or dbrefs, and sorts them into ascending
order. By default, lexicographic order is used for words, and numeric
order is used for numbers and dbrefs.
<sort type> may be used to specify the type of sort to perform (use 'd' for
dbref, 'n' for integer numeric, 'f' for floating numeric, 'a' for
case-sensitive alphanumeric, 'i' for case-insensitive alphanumeric, and '?'
for automatic typing). If omitted, '?', or left blank, the sort() function
will try to determine the type of sort to perform automatically.
By default, the output delimiter, <odelim>, defaults to the input delimiter,
<idelim>, which itself defaults to a space. Delimiters here, like most other
functions, are used to separate items in a list.
Examples:
> say sort(This is a test)
You say, "This a is test"
> say sort(98 100 99 101,n)
You say, "98 99 100 101"
> say sort(foo-bar-bletch,,-,|)
You say, "bar|bletch|foo"
Related Topics: munge(), sortby()
& SORTBY()
SORTBY()
FUNCTION: sortby([<obj>/]<attrib>,<list>[,<idelim> [,<odelim>]])
This sorts an arbitrary list according to the u-function <obj>/<attrib>.
This u-function should compare two arbitrary elements, %0 and %1, and
return zero (equal), a negative integer (element 1 is less than element 2)
or a positive integer (element 1 is greater than element 2).
A simple example, which imitates a normal alphabetic sort:
> &ALPHASORT test=[comp(%0,%1)]
> say [sortby(test/ALPHASORT,foo bar baz)]
You say, "bar baz foo"
A slightly more complicated sort. #1 is "God", #2 is "Amby", "#3" is "Bob":
> &NAMESORT me=[comp(name(%0),name(%1))]
> say [sortby(NAMESORT,#1 #2 #3)]
You say, "#2 #3 #1"
Warning: the function invocation limit applies to this function. If
this limit is exceeded, the function will fail _silently_. List and
function sizes should be kept reasonable.
Related Topics: munge(), sort()
& SPACE()
SPACE()
FUNCTION: space(<count>)
Returns the number of indicated spaces. If <count> is missing, negative,
or cannot be converted to a number, one space is returned. This function
is useful when you want to pass a single space (or more than one) as a
function to an argument, because normally leading and trailing spaces are
stripped from function arguments.
Examples:
> say space(4)
You say, " "
> say edit(Foo bar bletch, space(), X)
You say, "FooXbarXbletch"
Related Topics:
& SPELLNUM()
SPELLNUM()
FUNCTION: spellnum(<number1>)
Given a number, it returns its written-out representation in words.
& SPLICE()
SPLICE()
FUNCTION: splice(<list1>, <list2>, <word>[, <idelim>[, <odelim>]])
This function splices <list1> and <list2> together. <list1> and <list2>
are space-separated lists of words
If a word in <list1> is the same as <word>, it is replaced by the word
in the corresponding position in <list2>. Both lists must have the
same number of words.
<idelim> may be used to specify an input delimiter other than a space.
<odelim> is the output delimiter.
Example:
> say splice(foo bar baz,eek moof gleep,bar)
You say, "foo moof baz"
Related Topics: merge().
& SPOOFING
SPOOFING
Spoofing is the act of making other characters think that a person said or
did something that they did not. This is very easy to accomplish, and has
some good effects, which is why it is allowed. Note that the NOSPOOF flag
allows players to see exactly who is spoofing what.
Example:
... From TinyJerk's perspective ...
> @emit Wizard is a jerk!
Wizard is a jerk.
... From Wizard's perspective, Wizard is set NOSPOOF ...
[TinyJerk(#226)] Wizard is a jerk!
> @boot tinyjerk
You booted TinyJerk off!
TinyJerk has disconnected.
1 connection closed.
... TinyJerk's perspective again ...
Wizard gently shows you the door.
*** Disconnected ***
& SQL()
SQL()
FUNCTION: sql(<query>[,<row-delim>[,<col-delim>]])
The sql() function uses a connection to a SQL database. The <query>
parameter is given to SQL as if it were given at a normal SQL prompt. By
default, the row delimiter, <row-delim>, defaults to a space, and the column
delimiter, <col-delim>, defaults to the row delimiter, <row-delim>.
Examples:
sql(select foo%,bar from mytable,~,|)
would turn into
1|aardvark~2|anteater~3|antelope
...or whatever data happens to exist in SQL. It is worth remembering both
that you must escape commas in the query portion of the function, and that
using this command is a bottleneck; the game cannot do anything else until
the query returns. Normally this will not be an issue, but if you write
code doing 700 large SQL queries in a row, the game will almost certainly
lag.
The function is only available if the INLINESQL feature is enabled.
Related Topics: @query
& SQRT()
SQRT()
FUNCTION: sqrt(<number>)
Returns the square root of <number>. <number> may be a floating point
number, and a floating point result is returned. <number> may not be
negative.
Examples:
> say sqrt(2)
You say, "1.414214"
> say sqrt(100)
You say, "10"
> say sqrt(0)
You say, "0"
> say sqrt(-1)
You say, "Ind"
Related Topics: power().
& SQUISH()
SQUISH()
FUNCTION: squish(<text>[,<character>])
This function replaces multiple occurrences of <character> in <text> with a
single occurrence. If <character> is not specified, it defaults to a space.
Examples:
> @wait 0=@va me=Foo[space(5)]Bar
Set.
> think %va
Test Test
> say squish(%va)
Test Test
> think squish(....Foo....Bar....,.)
.Foo.Bar.
Related Topics: strip(), trim()
& STACK
STACK
Command lists that are run on objects can have up to 10 stack values
named %0 through %9 (or [v(0)] through [v(9)]). Stack values can be set
by the @trigger command, or by matching wildcard characters in the Listen
attribute (in the case of the Ahear, Aahear, and Amhear attributes).
Example:
> @listen item = * foo *
Set.
> @ahear item = "-->[v(1)]<-- bar -->[v(0)]<--
Set.
> say Fee fie foo fum
You say, "Fee fie foo fum"
item says "-->fum"<-- bar -->Wizard says "Fee fie<--"
& STAFF
STAFF
FLAG: STAFF(w) ()
This flag can be used to mark players who serve as staff on the
MUX. It is wizard-settable only.
Related Topics:
& STARTSECS()
STARTSECS()
FUNCTION: startsecs()
Returns the number of seconds that represents the time the MUX last
rebooted. The time is measured in the same way as the secs()
function. This is easier and more efficient than using
convtime(starttime()).
Example:
> say startsecs()
You say, "959093815"
Related Topics: convsecs(), secs(), startsecs().
& STARTTIME()
STARTTIME()
FUNCTION: starttime()
Returns a string which is the time the MUX last rebooted. The time
is in the same format as the TIME() function returns.
Example:
> say starttime()
You say, "Sat Dec 7 00:09:13 1991
Related Topics: convtime(), restarttime(), time().
& STATS()
STATS()
FUNCTION: stats([<player>])
This function returns information about the number of objects on the MUX,
much like the @stats command. If the argument is omitted or is 'all', then
the stats for the entire MUX are returned, otherwise the stats for the
named player are returned. You can only get stats for yourself.
The stats are returned as a set of 6 numbers, in the same order as reported
by the @stats command: total objects, rooms, exits, things, players, and
garbage. This command costs as much as the equivalent @stats command (ie:
'@stats/all' or '@stats <player>', not the free '@stats').
Examples:
> @stats me
6 objects = 0 rooms, 0 exits, 5 things, 1 players. (0 garbage)
> say stats(me)
You say, "6 0 0 5 1 0"
> say stats()
You say, "377 51 165 134 20 7"
> @stats/all
377 objects = 51 rooms, 165 exits, 134 things, 20 players. (7 garbage)
Related Topics: garbage, @stats.
& STEP()
STEP()
FUNCTION: step([<object>/]<attribute>,<list>,<step size>[,<input delim>[,<output delim>]])
<list> is a <input delim>-separated list of strings (e.g., A B C).
This is something of a cross between iter() and map() in that it breaks
the given <list> down into <step size> chunks and evaluates
[<object>]/<attribute> passes these elements to <attribute> as arguments
%0, %1, etc. The number of elements in <list> does not need to be
evenly-divisible by <step size>.
If no <input delim> is given, the default is a space. Likewise, if no
<output delim> is given, the default is the <input delim>. The <step size>
can range from 1 to 10. A <step size> of 1 is equivalent to use map().
Examples:
> &print_line me = %r%0 -- %1 -- %2
> say step(print_line,1 2 3 4 5 6 7 8,3)
You say, "
1 -- 2 -- 3
4 -- 5 -- 6
7 -- 8 --"
Related Topics: iter(), map(), mix(), list().
& STICKY
STICKY
FLAG: STICKY(S) ()
If a thing is STICKY, it goes home when dropped
(See HOMES). If a room is STICKY, its drop-to is delayed until the
last person leaves (See DROP-TOs). Only meaningful for things and
rooms.
Related Topics:
& STRCAT()
STRCAT()
FUNCTION: strcat(<string1>, <stringN>, ...)
Concatenates two or more strings together, with no space between them.
For example, strcat(foo,bar,baz,blech) will return the string
"foobarbazblech".
Related Topics:
& STRIP()
STRIP()
FUNCTION: strip(<string1>[,<string2>])
This function strips out every occurrence of every character of <string2>
from <string1> and returns <string1>. If <string2> is empty or not given,
<string1> is returned, stripped of ANSI codes. The strip function is case
sensitive.
Examples:
> say strip(This is a test,is)
You say, "Th a tet"
> say strip(abcdefgABCDEFG,azGy!7$B)
You say, "bcdefgACDEF"
Related Topics: @edit, edit().
& STRIPACCENTS()
STRIPACCENTS()
FUNCTION: stripaccents(<string>)
Returns the string with accented characters converted to non-accented.
This function assumes the ISO 8859-1 character set.
Related Topics: chr(), ord().
& STRIPANSI()
STRIPANSI()
FUNCTION: stripansi(<string>)
Strips the ansi codes from <string>.
Related Topics: ANSI, ansi()
& STRLEN()
STRLEN()
FUNCTION: strlen(<string>)
Returns the number of visual characters in <string>.
Example:
> say strlen(This is a test)
You say, "14"
> say strlen(Would you like coffee, or perhaps tea)
You say, "37"
Related Topics: strmem().
& STRMATCH()
STRMATCH()
FUNCTION: strmatch(<string>,<pattern>)
This function matches <pattern> against the entire <string>, returning 1
if it matches and 0 if it does not. The case of the characters being
matched is not significant.
The pattern may contain the wildcards '*' and '?'. '?' matches any one
character, while '*' matches any number of characters, including none.
So 's?x' would match 'sex' or 'six', but not to 'socx', but 's*x' would
match any of them.
Examples:
> say strmatch(This is a test,*Test)
You say, "1"
> say strmatch(This is a test,*This)
You say, "0"
> say strmatch(This is a test,*is*is*)
You say, "1"
Related Topics: match(), member(), regmatch().
& STRMEM()
STRMEM()
FUNCTION: strmem(<string>)
Returns the number of bytes required to store <string> in memory.
Example:
> say strmem(This is a test)
You say, "14"
> say strmem(Would you like coffee, or perhaps tea)
You say, "37"
Related Topics: strlen().
& STRTRUNC()
STRTRUNC()
FUNCTION: strtrunc(<string>,<number>)
This function returns <string> truncated if it is longer than <number>. If
<number> is greater than the length of <string>, it just returns <string>.
Much more efficient than the equivalent mid().
Related Topics: mid(), ljust().
& SUB()
SUB()
FUNCTION: sub(<number1>,<number2>)
Returns the result of subtracting <number2> from <number1>.
The numbers may be floating point numbers, and a floating point result
is returned.
Example:
> say sub(5,2)
You say, "3"
Related Topics: add(), dec(), iadd(), idiv(), imul(), inc(), isub(),
fdiv(), mod(), mul().
& SUBEVAL()
SUBEVAL()
FUNCTION: subeval(<string>)
This function's usefulness is primarily useful in conjunction with
v() as a way to control when evaluation occurs. Escapes are
evaluated, but {} and functions are not. The location escape is also
not evaluated.
When used from the command line, its use is limited to nil because
evaluation of subeval's parameters occurs before the subeval()
function is called.
& SUBJ()
SUBJ()
FUNCTION: subj(<object>)
Returns the proper subjective pronoun (he, she, it, they) for referring to
<object>, based on the object's Sex attribute. You must either control
or be near <object>.
Related Topics: aposs(), obj(), poss(), SUBSTITUTIONS.
& SUBSTITUTIONS
SUBSTITUTIONS
The most basic form of evaluation is a %-substitution. Even when other
forms of evaluation are not performed, %-substitutions usually are. A
%-substitution is a '%' followed by one or two letters, digits, or symbols.
If a sequence is understood, it is substituted by a corresponding value.
If a sequence is not understood, the initial '%' is removed. In this way,
the '%' also acts similarly to the '\' escape.
For some substitutions, if the letter following the '%' is capitalized, the
first letter of the result of the substitution is also capitalized.
Certain %-sequences provide gender-specific pronouns. Some provide
information about the execution state. Some provide control over the
appearance of text.
Commonly-used substitutions:
%r Carriage Return
%t Tab
%b Space
%% Literal '%'.
%\ Literal '\'.
%x<code> ANSI color codes. See: ansi().
%c<code> ANSI color codes. See: ansi().
{ 'help substitutions2' for more }
& SUBSTITUTIONS2
SUBSTITUTIONS (continued)
Pronoun-related substitutions:
%s, %S Subjective form: he, she, it, they. See: subj(%#)
%o, %O Objective form: him, her, it, them. See: obj(%#)
%p, %P Possessive form: his, her, its, their. See: poss(%#)
%a, %A Absolute Possessive form: his, hers, its, theirs. See: aposs(%#)
Database substitutions:
%n, %N Enactor's name. See name(%#).
%k, %K Enactor's moniker. See moniker(%#).
%va-%vz Contents of attribute va through vz
%=<attr> Equivalent to v(attr).
Execution state substitutions:
%m Text of the last command executed.
%0-%9 Value of positional parameter/stack location 0 through 9.
%i0-%i9 Equivalent to itext(0) through itext(9).
%q0-%q9 Value of temporary (setq) register 0 through 9.
%qa-%qz Value of temporary (setq) register A through Z.
{ 'help substitutions3' for more }
& SUBSTITUTIONS3
SUBSTITUTIONS (continued)
Execution state substitutions (continued):
%# Database number of the object that caused the message to be
displayed or the action list to be run (Enactor).
%@ Database number of the object immediately calling %! (Caller).
This number starts as the same as %#, but can be affected by
u()-type functions, zones, and @function.
%! Database number of the object holding the message or running
the action list (Executor).
%l Database number of the location of the object that caused the
message to be displayed or the action list to be run.
%| A string piped from the previous command in a pipe.
Note that %va-%vz is equivalent to [get(%!/a)]-[get(%!/z)], and %=<name> is
equivalent to [get(%!/name)]. The substitutions forms are more efficient.
Note that %=<name> supports single-letter attributes names while [v(name)]
does not. For attribute names longer than one character, %=<name>,
[get(%!/name)], and v(name) are equivalent.
Related Topics: ANSI(), ANSI CODES, ANSI SUBSTITUTION, GENDER, V().
& SUCCESS
SUCCESS
You successfully use a player or a thing when you take it (because you
passed the lock). You successfully use an exit when you go through it.
You successfully use a room when you look around and the room is not locked
against you.
Related Topics: get, look, @asuccess, @lock, @osuccess, @success.
& SUCCESSES()
SUCCESSES()
FUNCTION: successes(<numdice>, <difficulty target>[, <version>])
Returns an integer representing the number of successes (a positive
number), the number of failures or fumbles (a negative number), or 0
indicating no successes or failures.
<version> Description:
0 The first number passed to successes() is the number of dice
(ten-sided dice ranging 1 to 10) to be rolled. The second
number is the difficulty target number that must be rolled
to count that die as a "success". The dice are rolled and
each die that is equal to or greater than the target number
is counted as a success. Each die that rolls a '1' is
counted as a failure. The number returned from successes()
is the successes minus the failures.
1 (default) Similar outcome to above, but expressed internally as a
large table with some of the harsher edges smoothed over.
Related Topics: choose(), die(), distribute(), lrand(), and rand().
& SWITCH()
SWITCH()
FUNCTION: switch(<str>[,<pat1>,<res1>]...[,<dflt>])
The switch function compares <str> against each pattern, <patI>, returning
the result, <resI> that corresponds to the first pattern that matches <str>.
If none match, then the default result, <dflt>, is returned.
Before <resI> is evaluated for return, #$ is substituted with the value of
<str>. In this way, <resI> has a short-hand way of getting at the <str>
that matched it's corresponding pattern.
Patterns may include * and ?. * matches any number of characters, and ?
matches any 1 character. Instead of pattern matching, it is also possible
to compare the alphabetic or numeric value of <str> with <pat> by using the
< and > operators.
Example:
> say switch(c,*a*,A,*b*,B,*c*,C,*d*,D,E)
You say, "C"
> say switch(f,*a*,A,*b*,B,*c*,C,*d*,D,E)
You say, "E"
> say switch(cab,*a*,A,*b*,B,*c*,C,*d*,D,E)
You say, "A"
> say switch(f,*a*,A,*b*,B,*c*,C,*d*,D)
You say, ""
Related Topics: @switch, match(), ifelse(), case().
& SWITCHES
SWITCHES
Some commands have command switches associated with them that can be used
to modify their behavior. For instance, switches on the @ps command
control the amount of information displayed, and switches on the @switch
command indicate whether to perform all action lists whose targets match
the search string, or just the first.
Related Topics: @list.
& T()
T()
FUNCTION: t(<boolean>)
Takes a boolean value, and returns 1 if it's true, and 0 if it's false.
Related Topics: BOOLEAN VALUES, and(), not(), or(), xor().
& TABLE()
TABLE ()
table(<list>,<field width>,<line length>,<delimiter>,
<output separator>,<padding>)
This function returns the elements of <list> in a tabular format.
All other parameters are optional.
- <field width> specifies how wide each table entry is allowed to be.
Default: 10 characters.
- <line length> is how wide a table row can be. Default: 78 characters.
- <delimiter> is the delimiter used in <list>. Default: White space.
- <output separator> is a single character to be used between entries
in the table. Default: White space.
- <padding> is a string which will be repeated to fill in space between
the end of a table entry and the next column. Default: White space.
Examples:
> think table(a b areallylongone d)
a b areallylon d
> think table(the quick brown fox,10,25, ,|)
the |quick
brown |fox
> think table(foo bar baz,10,25,,|,.\,)
foo.,.,.,.|bar.,.,.,.
baz.,.,.,.
Related Topics: columns()
& TAKE
TAKE
COMMAND: take[/<switch>] <object>
take[/<switch>] <exit>
take[/<switch>] <object>'s <sub-object>
The first form picks up <object> from your location and adds it to your
inventory. It will fail if the object is locked against you, or if you
are inside a player or object that you don't control and which isn't
set ENTER_OK.
The second form takes an exit from your location and adds it to you.
Anyone inside you may then use the exit to travel to the exit's destination.
You may take exits that you own, and exits owned by others in locations that
you own.
The third form takes <sub-object> from <object> and adds it to your
inventory. <object> must be ENTER_OK and <sub-object> must not be locked
against you for this to work. The lock on <object> is not checked.
{ 'help take2' for more }
& TAKE2
TAKE (continued)
The following switch is recognized:
/quiet - Don't perform the @osucc/@asucc or @ofail/@afail attributes
on the target object. This switch only works if you control
the object.
<object> and <sub-object> may be either players or things.
'get' is the same as 'take'.
Related Topics: drop, @afail, @asucc, @fail, @ofail, @osucc, @succ,
ENTER_OK, FAILURE, SUCCESS.
& TAN()
TAN()
FUNCTION: tan(<number>[, <units>])
Returns the tangent of <number> where <number> is expressed in <units>.
<units> may be 'radians', 'degrees', or 'gradians' or just the first letter
of any of these. By default, <units> is radians.
In a circle, there are 2*pi() radians, 360 degrees, and 400 gradians.
Examples:
> say tan(0)
You say, "0"
> say tan(1)
You say, "1.557408"
> say tan(fdiv(pi(),4))
You say, "1"
Related Topics: acos(), asin(), atan(), cos(), pi(), sin().
& TEL()
TEL()
FUNCTION: tel(<name>,<destination>[,<flags>])
Works the same as @tel, <name> and <destination> are equivalent to what
comes before and after the '=' sign. Returns nothing. This is a side
effect function, and should only be used when necessary.
The <flags> argument can contain 'q' and/or 'l' to allow the behavior of
@teleport/quiet and @teleport/list, respectively.
Related Topics: @teleport
& TERMINFO()
TERMINFO()
FUNCTION: terminfo(<player|descriptor>)
Returns a list with at least one element - the type of client used
by the player, or "unknown" if the client being used doesn't support
being asked to identify itself using RFC 1091.
Other elements in the list describe client capabilities, and
currently include:
pueblo present if the client is in Pueblo mode.
telnet present if the client understands the telnet protocol.
unicode present if the client encoding is UTF-8.
ssl present if the client is using an encrypted connection.
Other fields may be added in the future; 'mxp' for clients which support
that, for instance.
Players can use terminfo() by <descriptor> on their own connections.
Specifying connections via <descriptor> on other's connections is restricted
to Wizards. However, anyone can use it by <player> on anyone else as long
as they aren't hiding.
& TERSE
TERSE
FLAG: TERSE(q) ()
If you are set TERSE then you are not shown the description, success/failure
messages, contents, or exits of locations you enter. You must use the LOOK
or EXAMINE commands to see this information.
Others in the location still get the osucc/ofail messages and the asucc or
afail command list is still run.
Related Topics: examine, look.
& TEXT()
TEXT()
FUNCTION: text(<filename>, <index>)
This function returns the text associated with an index from a file in a
help.txt format. The exact path and name of the file should be specified,
and must match exactly the name of a file in game/textfiles.conf (for
security).
This allows you to, for example, create a file, game/text/rumors.txt, and
add an entry:
& beer
It is rumored that you can get free beer at the Rat in the Ale Tavern.
If textfiles.conf contains an entry for the file (text/rumors.txt), then you
can refer to the beer rumor using 'text(text/rumors.txt, beer)'.
This function is only available with --enable-firanmux and is likely to be
deprecated in favor of textfile().
Related Topics: textfile().
& TEXTFILE()
TEXTFILE()
FUNCTION: textfile(<helpcmd>, <topic>)
Returns the body of <topic> associated with <helpcmd> that would have been
shown if <helpcmd> were used instead.
Examples:
> help say
...
> think textfile(help,say)
...
Related Topics: help, helpfile in wizhelp, raw_helpfile in wizhelp.
& THINK
THINK
COMMAND: think <message>
You can use this command to send a private message to yourself. Pronoun
substitution is performed. This is essentially equivalent to "@pemit
me=<message>", but with "think", there is no prepended text. One possible
use: "@adesc me=think --> %n(%#[flags(%#)]) just looked at you."
Related Topics: @eval.
& THROW
THROW
COMMAND: throw[/<switch>] <object>
throw[/<switch>] <exit>
The first form removes <object> from your inventory and puts it in your
location, except for the following special cases: Dropping a STICKY thing
sends it home, and dropping a thing in a room with a drop-to sends the
thing to the drop-to location.
The second form removes <exit> from your list of exits and adds it to the
list of exits for the current location. Anyone in the same location as
you may then use the exit to travel to the exit's destination. You can
only drop exits when you own the location where you are dropping them.
The following switch is recognized:
/quiet - Don't perform the @odrop/@adrop attributes on the dropped
object. This switch only works if you control the object.
'drop' is the same as 'throw'.
Related Topics: get, @adrop, @drop, @odrop, DROP-TO, STICKY.
& TIME()
TIME()
FUNCTION: time([<zonename>][, <precision>])
The optional <zonename> parameter may be "utc" or "local". If no
<zonename> is given, "local" is assumed.
local - Gives you the current local time string of the machine the
MUX is running on. This time is affected by the daylight
savings time (or 'summer') rules in force at the server's
location.
utc - Gives you the time string for the UTC time zone.
<precision> determines the number of fractional seconds shown.
By default, no fractional seconds are shown.
Example:
> say time()
You say, "Fri May 05 13:05:39 2000"
> say time(utc,3)
You say, "Fri May 05 20:05:39.667 2000"
Related Topics: convsecs(), convtime(), secs().
& TIMEFMT()
TIMEFMT()
FUNCTION: timefmt(<format>[, <secs>])
If <secs> isn't given, the current time is used. Escape sequences
in <format> are expanded out.
All escape sequences start with a $. Any unrecognized codes or other
text will be returned unchanged.
$a - Abbreviated weekday name $P - am/pm
$A - Full weekday name $r - Same as $I:$M:$S $p
$b - Abbreviated month name $R - Same as $H:$M
$B - Full month name $S - Seconds after the minute
$c - Date and time $t - Tab
$C - Century $u - Day of Week (Sunday=7)
$d - Day of the month $U - Week of the year from 1st Sunday
$F - ISO8601 YMD $V - ISO8601 Week Number.
$g - Two-digit ISO8601 year $w - Day of the week (Sunday=0)
$G - All-digit ISO8601 year $W - Week of the year from 1st Monday
$H - Hour of the 24-hour day $x - Date
$I - Hour of the 12-hour day $X - Time
$j - Day of the year $y - Two-digit year
$m - Month of the year $Y - All-digit year
$M - Minutes after the hour $z - Time zone offset
$n - Newline $$ - $ character
$p - AM/PM
Example:
> think timefmt($A\, the $dth day of $B.)
Monday, the 17th day of July.
Related Topics: convtime(), convsecs(), etimefmt().
& TOPICS
TOPICS
Help available on the following Topics:
$-COMMANDS ARBITRARY COMMANDS ATTRIBUTE OWNERSHIP
BEING KILLED BOGUS COMMANDS BOOLEAN VALUES
COMMAND EVALUATION COMSYS CONTROL
COSTS CREDITS DROP-TO
ENACTOR EXITS FAILURE
FLAG LIST FLAGS FUNCTION LIST
FUNCTIONS GENDER GOALS
HERE HOMES LINKING
LISTENING LISTS LOOPING
ME MONEY MOVING
OBJECT TYPES PARENT OBJECTS PARENT ROOMS
PIPING POWERS LIST PUEBLO
PUPPETS REGEXPS SEARCH CLASSES
SEMAPHORES SPOOFING STACK
SUBSTITUTIONS SUCCESS SWITCHES
USER-DEFINED COMMANDS VERBS WIZARDS
ZONES
& TRACE
TRACE
FLAG: TRACE(T) ()
When a thing is set TRACE, it will report to its owner the result of all
substitutions that it performs that change the original string. The order
for displaying nested evaluations (such as when evaluating the arguments to
a function) is a site-selected configuration parameter.
Example:
> @set object = trace
> @va object = say The result is [add(4,mul(3,%0))].
> @trig object/va = 7
object(#322)} '%0' -> '7'
object(#322)} 'mul(3,%0)' -> '21'
object(#322)} 'add(4,mul(3,%0))' -> '25'
object(#322)} 'The result is [add(4,mul(3,%0))].' -> 'The result is 25.'
object says "The result is 25."
{ 'help trace2' for more }
& TRACE2
TRACE (continued)
When trace output is displayed in top-down order (final evaluation first,
followed by the 'smaller' evaluations needed to perform it), then the total
number of trace output lines that may be produced by an evaluation is limited
to 200. Bottom-up trace output is not limited.
Trace may also be set on a specific attribute, thus narrowing down the scope
of the trace output to results from that specific object/attribute
combination.
Example:
> @set object/attribute = trace
Related Topics: VERBOSE.
& TRAIN
TRAIN
COMMAND: train <command>
The train command is used to output to your location exactly what you
have typed, then execute it. The output is not parsed and is taken
verbatim and displayed as is.
Example:
> train @emit To do addition, type: say add(1,1) = 2
YourName types -=> @emit To do addition, type: say add(1,1) = 2
To do addition, type: say add(1,1) = 2
Related Topics: @emit, pose, @pemit, think
& TRANSLATE()
TRANSLATE()
FUNCTION: translate(<string>, <type>)
This function converts all raw ANSI color codes, carriage returns, and tabs
to either MUX substitutions or to spaces. If <type> is 0 or 's', the raw
codes are converted to spaces, if it is 1 or 'p', the codes are converted
to MUX %c and %r substitutions.
Because multiple spaces can be compressed into a single space, if <type> is
1 or 'p', multiple spaces are converted to a series of '%b' followed by a
single space.
Related Topics:
& TRANSPARENT
TRANSPARENT
FLAG: TRANSPARENT(t) ()
If an exit is TRANSPARENT, then when you look at it you see the description
of the room on the other side of the exit in addition to the description
of the exit. When a room is TRANSPARENT, you see a 'long' listing of
exits, including their destinations.
Related Topics:
& TR()
TR()
FUNCTION: tr(<string>, <find>, <replace>)
This function translates every character in <string> that exists in
<find> to the character at an identical position in <replace>. Ranges of
characters separated by -'s are accepted. <find> and <replace> must be the
same length after expansion of ranges. If a character exists more than
once in <find>, only the last instance will be counted. The example
below is the common ROT-13 algorithm for lower case strings, demonstrated
with every letter explicitly listed, and with the equivalent but briefer
character ranges. Literal -'s can be in <find> and <replace> if they are not
part of valid ranges. Valid ranges are of the forms a-z, A-Z, a-Z, and 0-9.
Examples:
> say tr(hello,abcdefghijklmnopqrstuvwxyz,nopqrstuvwxyzabcdefghijklm)
You say, "uryyb"
> say tr(uryyb, a-z, n-za-m)
You say, "hello"
> say tr(This is an example, a-Z, n-za-mN-ZA-M)
You say, "Guvf vf na rknzcyr."
Related Topics: edit(), foreach(), merge(), replace().
& TRIGGER()
TRIGGER()
FUNCTION: trigger(<object>/<attr> [, <param1>[, <param2>[, ...]]])
Works the same as @trigger, <object>/<attr> and <param> are equivalent to
what comes before and after the '=' sign. Returns nothing. This is a side
effect function, and should only be used when necessary.
This invokes an action list stored in an attribute on an object. The
triggering object becomes the enactor and the positional parameters %0
through %9 are set to the supplied parameters.
Related Topics: @trigger
& TRIM()
TRIM()
FUNCTION: trim(<string> [,<trim style> [,<trim character>]])
This function will trim trailing and/or lead characters on the string
that you specify. <trim character> specifies the character to trim (default
is space), and <trim style> tells the kind of trimming to perform (default
is trim both sides of the string).
The following values for <trim style> are recognized:
'b' : Trim both ends of the string (default)
'l' : Trim the left end of the string.
'r' : Trim the right end of the string.
Note: anything else specified for <trim style> will trim both sides.
Example:
> say trim(;;;Wacka;;;,,;)
You say, "Wacka"
> say trim(%b%b%b Polly Parrot %b%b%b%b,r)
You say, " Polly Parrot"
> say trim(---Trim Rules!---,l,-)
You say, "Trim Rules!---"
Related Topics: center(), ljust(), rjust().
& TRUNC()
TRUNC()
FUNCTION: trunc(<number>)
Returns the value of <number> after truncating off any fractional value.
<number> may be a floating point number, and an integer result is returned.
Examples:
> say trunc(5)
You say, "5"
> say trunc(5.2)
You say, "5"
> say trunc(5.8)
You say, "5"
> say trunc(-5)
You say, "-5"
> say trunc(-5.2)
You say, "-5"
Related Topics: fdiv(), floor(), mod(), round().
& TXLEVEL()
TXLEVEL()
FUNCTION: txlevel(<target>)
Returns a space-separated list of <target>'s Tx Levels. You must control
<target>. If no levels are listed, nothing is returned. If you do not
control the target, or if the target does not exist, '#-1' is returned.
NOTE: This function is not available unless reality levels was enabled at
compile-time.
Example:
> say txlevel(me)
You say, 'Real'.
Related Topics: hasrxlevel(), hastxlevel(), rxlevel(), listrlevels()
& TYPE()
TYPE()
FUNCTION: type(<object>)
Returns a string indicating the object type of <object>, either EXIT,
PLAYER, ROOM, or THING.
Example:
> say type(me)
You say, "PLAYER"
> say type(here)
You say, "ROOM"
Related Topics: hastype().
& U()
U()
FUNCTION: u([<obj>/]<attr>[,<arg>]...)
The u function evaluates an attribute, either from the object performing the
function or from another object you own, passing in arguments and returning
the result.
When evaluating the fetched attribute, %# refers to the original enactor and
not the 'calling' object, and 'me' refers to the object that supplied the
attribute.
Examples:
> @va me=Word is [extract(v(vb),add(%0,1),1)], arg2 is %1.
> @vb me=This is a test of the u function.
> say u(va,4,Testing 123)
You say, "Word is of, arg2 is Testing 123."
> say u(va,7)
You say, "Word is function., arg2 is ."
> say u(me/va,6,Foobar)
You say, "Word is u, arg2 is Foobar."
Related Topics: s(), v(), get(), get_eval(), map(), ulocal().
& UCSTR()
UCSTR()
FUNCTION: ucstr(<string>)
Returns <string> with all letters converted to uppercase.
Example:
> say ucstr(This is a test, really!)
You say, "THIS IS A TEST, REALLY!"
Related Topics: capstr(), lcstr().
& UDEFAULT()
UDEFAULT()
FUNCTION: udefault([<obj>/]<attr>,<default case>[,<arg>]...)
This function returns the value of the user-defined function
as defined by <attr> (or <obj>/<attr>), as if retrieved via
the u() function, with <args>, if the attribute exists and is
readable by you.
Otherwise, it evaluates the default case, and returns that. The
default case is only evaluated if the attribute does not exist
or cannot be read.
Examples:
> &TEST me=[center(%0,5,*)]
> say udefault(Test,-- BOOM --,ACK)
You say, "*ACK*"
> &TEST me
> say udefault(me/Test,-- BOOM --,ACK)
You say, "-- BOOM --"
Related Topics: get(), get_eval(), u(), default(), edefault().
& ULOCAL()
ULOCAL()
FUNCTION: ulocal([<obj>/]<attr>[,<arg>]...)
The ulocal() function is almost identical to u() in function: it
evaluates an attribute, either from the object performing the function,
or another object that you control or has the same owner as you, passing
in arguments and returning the result. When evaluating the fetched
attribute, %# refers to the original enactor and not the 'calling' object;
'me' refers to the object that supplied the attribute.
However, unlike the u() function, the global registers r(0) through
r(9) and r(A) through r(Z) (%q0 - %q9, %qA - %qZ) are preserved in
their initial state. This means that functions "below" the level of
the u() can reset global registers for temporary calculations,
without needing to worry about "clobbering" the original values.
This makes ulocal() particularly useful for global or shared code which
calls arbitrary u() functions, where global register values need to be
preserved from accidental user clobbering.
Related Topics: ulocal2
& ULOCAL2
ULOCAL() (continued)
Examples:
> &FRUIT me=apples bananas oranges pears
> &SUB-FUNCTION me=[setq(0,v(FRUIT))][extract(%q0,match(%q0,%0),1)]
> &TOP-FUNCTION me=[setq(0,are delicious!)][ulocal(SUB-FUNCTION,%0)] %q0
> say u(TOP-FUNCTION,b*)
You say, "bananas are delicious!"
If SUB-FUNCTION had been called with u() instead of ulocal():
> &TOP-FUNCTION me=[setq(0,are delicious!)][u(SUB-FUNCTION,%0)] %q0
> say u(TOP-FUNCTION,b*)
You say, "bananas apples bananas oranges pears"
In this second example, in SUB-FUNCTION, %q0 was set to "apples bananas
oranges pears", so that when the u() "returned" and TOP-FUNCTION evaluated
%q0, this is what was printed. In the first example, ulocal() reset the
value of %q0 to its original "are delicious!"
Related Topics: u(), setq(), r()
& UMBRA
UMBRA
The UMBRA flag is used to denote an object which is in the umbra. They
will see the room's UMBRADESC if it is present and will not see or be
seen by those not set UMBRA.
& UNFINDABLE
UNFINDABLE
FLAG: UNFINDABLE(U) ()
If a player is set UNFINDABLE, he cannot be found by the loc() or room()
functions.
If a room is set UNFINDABLE, players in that room (or inside objects
in the room) cannot be found by loc()/room().
Related Topics:
& UNICODE
UNICODE
FLAG: UNICODE(~)
When set on a player, it forces the client character set in all sessions to
be UTF-8. This necessarily affects the encoding of bytes to the client.
The default is for each client to negotiate its character set ability on a
per session basis, but some clients which support UTF-8 do not support the
auto negotiation of it.
Related Topics: accent(), stripaccents(), chr(), ord(), ASCII.
& UNINSPECTED
UNINSPECTED
FLAG: UNINSPECTED(g) ()
This flag is typically set on rooms that need to be
inspected for good building practices. This flag may only be set by
wizards and royalty.
Related Topics:
& UNPACK()
UNPACK()
FUNCTION: unpack(<packed number>[,<radix>[,<baseconv>]])
Returns the equivalent normal base-10 number of the given
packed-number using the specified base. The default radix is 64.
The inverse function of unpack is pack.
By default, this conversion is compatible with the codes used in Myrddin's
popular Bulletin Board, and they are also valid for an attribute name
(except for the first letter). This set is:
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz@$
This set is not the same as Unix-to-Unix copy (uuencode). Optionally, with
boolean <baseconv>, the behavior changes to be compatible with baseconv().
Examples:
>think unpack(bVxTM)
629126998
>think unpack(1111,2)
15
Related Topics: baseconv(), pack().
& USE
USE
COMMAND: use <object>
Uses <object>. Some objects will do interesting, useful, or dangerous
things when used, for instance, using a camera should result in a
picture being taken.
Objects that you wish to limit who or under what circumstances they may
used by others should be @lock'ed with the appropriate uselock.
Related Topics: @ause, @ouse, @use, @lock, @lock locks.
& USER-DEFINED COMMANDS
USER-DEFINED COMMANDS
These commands are called arbitrary commands, user-defined commands, or
$-commands (for how they are defined). See 'arbitrary commands' for the
full description.
Related Topics: arbitrary commands
& V()
V()
FUNCTION: v(<string>)
Depending on <string>, the V function can be used as an alternative for
percent (%) substitution, as a replacement for get(me/<arg>), or as a way to
access all arguments (the first ten and beyond).
If <string> is two characters long or longer and starts with a letter, then
the object performing the v() call (and its parent, if necessary) is
searched for the named attribute, and its value is returned if possible.
If <string> is a single letter, a percent substitution is performed on the
argument (so that v(o) is equivalent to %o, for instance). The percent form
(%o in the previous example) is preferred as it is faster, and there are no
longer any security problems associated with it. Note that attributes with
single-character names cannot be retrieved with v().
If <string> begins with a digit, it represent an argument number equivalent
to %0, %1, ..., %=<99>.
Note that the %=<> substitution is nearly equivalent to v() except that
single letters are treated as an attribute name instead of a percent
substitution.
Related Topics: GENDER, SUBSTITUTION, PARENT OBJECTS, get().
& VACATION
VACATION
FLAG: VACATION(|) ()
This flag can only be set by wizards. It is usually used to
mark players who will be inactive for a long period of time. It is
automatically cleared when the character logs on.
Related Topics:
& VADD()
VADD()
FUNCTION: vadd(<vector|scalar>,<vector|scalar>[,<delim>][,<output delim>])
Returns the result of either the addition of a vector by a scalar or the
addition of two vectors. A vector is a list of numbers separated by spaces
or a delimiter, and may have up to 20 dimensions.
Example:
> think vadd(1 2 3,4 5 6)
5 7 9
> think vadd(0|0|0,1|2|3,|,^)
1^2^3
Related Topics: vsub().
& VALID()
VALID()
FUNCTION: valid(<category>,<argument>)
This returns true or false depending on whether the characters and
arrangement of characters in <argument> satisfy the restrictions implied by
<category>.
Possible values for <category>:
attrname Validates attribute name.
comalias Validates comsys alias.
doing Validates @doing string.
exitname Validates exit name.
malias Validates @malias name.
maliasdesc Validates @malias description.
name Validates object name (same as thingname).
password Validates for password rules.
playername Validates player name for @name and @alias.
roomname Validates room name.
thingname Validates thing name.
Valid() does not check the database for existence and it does not guarantee
that an attempt to use such an object will succeed. It only looks at
<argument> as a string of characters.
Related Topics: isdbref().
& VCROSS()
VCROSS()
FUNCTION: vcross(<vector>,<vector>[,<delim>][,<output delim>])
Returns the cross product of two vectors. The cross product of two
vectors is a vector.
| a b c |
(a,b,c) X (d,e,f) = det | d e f | = i(bf-ce) + j(cd-af) + k(ae-bd)
| i j k |
where i, j, and k are taken as unit vectors in Cartesian space.
Example:
> @pemit me=vcross(1 2 3,2 3 4)
-1 2 -1
Related Topics: vdot(), vmul().
& VDIM()
VDIM()
FUNCTION: vdim(<vector>[,<delimiter>])
Returns the dimensionality of a vector.
Example:
> think vdim(1 2 3 4)
4
Related Topics: vmag(), vunit().
& VDOT()
VDOT()
FUNCTION: vdot(<vector>,<vector>[,<delim>][,<output delim>])
Returns the dot product of two vectors. The dot product of two
vectors is a scalar. (a,b,c) * (x,y,z) = ax + by + cz
Example:
> @pemit me=vdot(1 2 3,2 3 4)
20
Related Topics: vmul(), vcross().
& VERBOSE
VERBOSE
FLAG: VERBOSE(v) ()
This flag causes all commands executed by the object having
the flag to be sent to the owner of the object.
Examples:
> @create foo
> @set foo=VERBOSE
> @force foo="Hi.
foo "Hi.
foo says "Hi."
Related Topics: TRACE
& VERBS
VERBS
For many verbs there are three attributes that specify messages and actions
associated with the verb in addition to the verb's built-in action.
The attributes are named Verb, Overb, and Averb. Verb is the message that
the enactor sees, Overb is the message that everyone else in the same room
as the enactor sees, and Averb is a list of commands that are run.
These attributes may be set using the @<attribute> command, so the commands
to set the attributes related to the 'drop' command are @drop, @odrop, and
@adrop.
& VERSION
& @VERSION
VERSION
COMMAND: version
Displays the version of MUX that is running and the date it was last
rebuilt.
& VERSION()
VERSION()
FUNCTION: version()
Returns a string which contains various version information for the MUX
you're on.
Example:
> version
MUX 2.2.0.44 #1 [ALPHA]
Build date: Tue Oct 1 11:47:16 PDT 2002
> say version()
You say, "MUX 2.2.0.44 #1 [ALPHA]"
Related Topics:
& VISIBLE()
VISIBLE()
FUNCTION: visible(<object>,<victim>[/<attr>])
Returns 1 if <object> can examine <victim>, or 0 otherwise. If
<object> or <victim> do not exist, 0 is returned.
If an object-attribute pair is provided, 1 is returned if <object>
can see <attr> on <victim>. If <attr> is not present on <victim>,
1 is returned if <object> can examine <victim>.
Related Topics: cansee().
& VISUAL
VISUAL
FLAG: VISUAL(V) ()
The flag a lot of players have been waiting for. When set on
your object, it allows other players to examine it and see all the
object's attributes as if they owned the object. They cannot make
any changes to the object.
Related Topics:
& VMAG()
VMAG()
FUNCTION: vmag(<vector>[,<delimiter>]
Returns the magnitude of a vector using a Euclidean distance metric.
That is, for vector a b c d, it returns sqrt(a^2+b^2+c^2+d^2).
Example:
> think vmag(3 4)
5
Related Topics: vdim(), vunit().
& VMUL()
VMUL()
FUNCTION: vmul(<vector|num>,<vector|num>[,<delim>][,<output delim>])
Returns the result of either multiplying a vector by a number (scalar
multiplication) or an element-wise multiplication of two vectors.
Example:
> think vmul(1 2 3,2)
2 4 6
> think vmul(1 2 3,2 3 4)
2 6 12
Related Topics: vdot(), vcross().
& VSUB()
VSUB()
FUNCTION: vsub(<vector|scalar>,<vector|scalar>[,<delimiter>][,<output delimiter>])
Returns the difference between two vectors, two scalars, or a combination of
either.
Example:
> think vsub(3 4 5,3 2 1)
0 2 4
> think vsub(3 4 5,3 2 1,,|)
0|2|4
Related Topics: vadd().
& VUNIT()
VUNIT()
FUNCTION: vunit(<vector>[,<delimiter>])
Returns the unit vector (a vector of magnitude 1) which points
in the same direction as the given vector.
Example:
> think vunit(2 0 0)
1 0 0
> think vmul(vunit(5 6 7),vmag(5 6 7))
5 6 7
Related Topics: vdim(), vmag().
& WHERE()
WHERE()
FUNCTION: where(<object>)
This function returns the "true" location of an object. You must control
the object or be near it in order for it to work. For players and things,
the "true" location is the normal location of the object. For exits, the
"true" location is the source room. For rooms, it is #-1.
Related Topics: loc(), rloc().
& WHISPER
WHISPER
COMMAND: whisper [<player>[,<player2>[, ...]]]=<message>
Whispers the message to one or more players in the same room. No one else
can see the message that you whisper.
You can format the message one of several ways by specifying ':', ';', or
'"' as the first character of the message. ':' and ';' format the message
as 'You sense <player> <message>', with ';' omitting the space between
<player> and <message>. '"' formats the message in normal whisper format
(this is the default).
Like the page command, the last list of players is used again if the
following short-hand is used:
"w :waves." or,
"w I'm back."
Related Topics: page, pose, say, :, ;, ".
& WHO
WHO
COMMAND: who [<prefix>]
Displays a list of players currently connected to the MUX.
The WHO report tells you how long a player has been on, how long they
have been inactive, and what they are doing (if they have used the @doing
command). If <prefix> is specified, only players whose names start with
<prefix> are listed.
Related Topics: @doing.
& WIDTH()
WIDTH()
FUNCTION: width(<player|port>)
Returns the width of the client window as reported by Telnet's Negotiate
About Window Size (NAWS) option. For clients which do not negotiate the
NAWS option, a value of 78 is returned.
If <player|port> is numeric, it's taken as a port number (as shown in
SESSION). Otherwise, it's treated as a player name. If the named player is
connected more than once, the width of the session having the smallest idle
time is returned.
You and any object with the See_All @power may obtain the width of your
sessions.
Example:
> say width(me)
You say, "122"
Related Topics: colordepth(), height(), terminfo().
& WIPE()
WIPE()
FUNCTION: wipe(<obj>[/wildattr])
The wipe() function will remove all matching attributes specified by
a wildcard, or, if no attribute is specified, remove all attributes of
the specified object. This function works like @wipe and follows all
permissions and restrictions of the matching command.
See Also: @wipe, @set, &, set()
& WIZARD
WIZARD
FLAG: WIZARD(W) ()
If a person is WIZARD, they are a wizard, unkillable,
subject to fewer restrictions, and able to use wizard commands.
In general, WIZARDs can do anything using #<number> or *<player>.
Only player #1 can set and unset the WIZARD flag of other players.
No WIZARD can turn their own WIZARD flag off.
Related Topics:
& WIZARDS
WIZARDS
Wizards are the people that help run the game and make sure that everything
is working properly. They have special powers to tweak reality in ways
mortals can only dream of. Be nice to them, they are going out of their
way to help keep the game running smoothly. And remember, if you have any
problems or just want to talk to someone, they will be there for you as
well.
& WORDPOS()
WORDPOS()
FUNCTION: wordpos(<string>, <charpos>[, <delim>])
Returns the number of the word within <string> where the character position
<charpos> falls. Spaces between words are treated as belonging to the word
that follows them. If <charpos> is not within the string, the value #-1 is
returned. Both words and characters are numbered starting at 1.
<delim> may be used to specify a delimiter other than a space.
Example:
> say wordpos(This is a test, 4)
You say, "1"
> say wordpos(This is a test, 5)
You say, "2"
> say wordpos(This is a test, 6)
You say, "2"
> say wordpos(This is a test, 20)
You say, "#-1"
Related Topics: member(), pos().
& WORDS()
WORDS()
FUNCTION: words(<string>[, <delim>])
Returns the number of words in <string>. <delim> may be used to specify
a delimiter other than a space.
Example:
> say words(This is a test)
You say, "4"
say words(Would you like coffee or perhaps tea?)
> You say, "7"
say words(This:is:a:colon:separated:list,:)
> You say, "6"
Related Topics:
& WRAP()
WRAP()
FUNCTION: wrap(<text>,<width>[,<just>,[<lefttxt>[,<righttxt>
[,<hanging>[,<osep>[,<width1>]]]]]])
This function word wraps the text to fit into a column of the specified
width. Words are separated by spaces. If a word in the text is longer than
a single line, it is simply broken at the end of the line. Tabs are
expanded to 8 spaces, and %r's are treated as a force to the next line,
overriding the logic of the word wrapping.
The <just> argument may be Left, Right, or Center. Only the first
character of the argument is significant. <just> defaults to Left.
The <lefttxt> and <righttxt> specify text to insert as borders on either
side of each line. They default to nothing.
The <hanging> argument specifies an optional number of spaces to insert on
the left margin for any line that is not the first line. This is commonly
called a hanging indent in word processing. <osep> is the output separator,
and it defaults to %r. <width1> is the width of the first line (default of
<width>).
("help wrap2" for more)
& WRAP2
WRAP() (continued)
Examples:
> @emit wrap(Hi there. How are you?, 10, right, |%b, %b|)
| Hi there. |
| How are |
| you? |
> @emit DESC: [wrap(get(me/desc), 10, left,,,6)]
DESC: You see
before
you a
stranger.
The width can not be above 4000 characters.
Related Topics: ljust(), rjust(), center(), columns().
& WRITETIME()
WRITETIME()
FUNCTION: writetime(<seconds>)
This function converts seconds to a number of time elements (hours,
minutes, seconds) that is equivalent to the given number of
<seconds>.
This is very similar to the exptime() function, but the elements
are given their long names instead of short names.
Example:
> say writetime(45)
You say, "45 seconds"
> say writetime(12345)
You say, "3 hours 25 minutes 45 seconds"
> say writetime(123456)
You say, "1 day 10 hours 17 minutes 36 seconds"
Related Topics: digittime(), exptime(), secs(), singletime(), time().
& XGET()
XGET()
FUNCTION: xget(<object>,<attribute>)
This function works exactly like get(), but uses the object and attribute
separated into two arguments.
Related Topics: get(), eval(), get_eval().
& XOR()
XOR()
FUNCTION: xor(<boolean1>[,<booleanN>]...)
Takes one or more BOOLEAN-Z arguments, and returns TRUE(1) if an odd number
of them are equivalent to TRUE.
Related Topics: BOOLEAN VALUES, and(), not(), or(), t().
& ZFUN()
ZFUN()
FUNCTION: zfun(<attrib>, <arg0>[, <arg1>[, ...]])
Evaluates <attrib> on the enactor's zone object with parameters.
Related Topics: ZONES, zone().
& ZONE OBJECTS
ZONE OBJECTS
Every object in the database has the potential of being associated with a
zone object. For more details on how zones work, see the related topic.
Related Topics: zones
& ZONE()
ZONE()
FUNCTION: zone(<object>)
Returns the object's 'zone'. This is the dbref of the master object
which defines the zone.
Related Topics: ZONES.
& ZONES
ZONES
Zones are areas of the MUX which may be controlled by many people.
Essentially, they allow group ownership of objects.
The default zone is NOTHING. Any building done by a player defaults
to belonging to the same zone that the player belongs to.
Every zone is defined by a Zone Master Object (ZMO). The ZMO is an
ordinary MUX object owned by some player. A wizard may change the
zone of an object or player to a ZMO.
If the ZMO is a room, it is called a "Parent room." Most of the
statements about ZMOs also apply to parent rooms; for details,
see the help topic PARENT ROOMS.
{ 'help zones2' for more }
& ZONES2
ZONES (continued)
Anyone who can pass the Enter lock of the ZMO has control over all
objects in that zone. This, in essence, gives that player wizard
powers within that zone. For this reason, one must be extremely
careful with the enter locks of ZMOs!
Also, $commands on a ZMO are treated as global within that zone.
The game attempts to match $commands for the ZMO of the player's
location, as well as $commands for the player's own zone.
For some suggestions on how to use zones, see "help ZONES3".
{ 'help zones3' for more }
& ZONES3
ZONES (continued)
Some suggested uses of zones:
1. If you are working on a building project with several people, it
may be useful to create a zone object and @elock it to all of you,
and ask a wizard to @chzone the players involved to the zone object.
That way, all of the players working on the project will be able to
modify the building.
2. On a similar thread, if several players are working on a project
involving only a few objects, it may be simpler to create a zone
object and @chzone those few objects to the ZMO instead of resetting
the zones of the players. Note that a player does not have to belong
to a zone in order to change objects in that zone; all is merely
required to pass the ZMO's enter lock.
{ 'help zones4' for more }
& ZONES4
ZONES (continued)
More possible uses for zones:
3. If local wizards are desired, a zone object may be created and enter
locked to the local wizard. Players building within that zone should
be @chzone'd to that ZMO. The local wizard will then be able to
control anything within that domain.
4. If you want restricted global commands defined over only a small area,
you can define that area to be part of a zone, and place the desired
$commands upon the ZMO.
& ZWHO()
ZWHO()
FUNCTION: zwho(<object>)
Returns a list of players who are a member of the zone defined by <object>.
Inzone requires the executor to either own/control the <object> or possess
wizard/royalty permissions.
Related Topics: inzone(), ZONES.
& \
\
COMMAND: \<message>
Outputs <message> to everyone in your current room without embellishment.
Example:
>\A chill falls over the room.
A chill falls over the room.
Related Topics: @emit, @oemit, NOSPOOF.
|