tilde.chat/motd/index.php

34 lines
1.2 KiB
PHP
Raw Normal View History

2020-09-09 16:34:25 +00:00
<?php
header("Content-Type: text/plain");
$node = $_GET["node"] ?? "hub";
2020-09-09 16:36:34 +00:00
echo shell_exec("figlet -w120 -f slant -- " . escapeshellarg($node) . ".tilde.chat");
2020-09-09 16:34:25 +00:00
echo "welcome to tilde.chat\n";
echo "this is the irc network for the tildeverse (https://tildeverse.org)\n";
echo "\n";
echo "check out the appropriate channel for your tilde:\n";
echo "\n";
$members = json_decode(file_get_contents("https://tildeverse.org/members.json", false, stream_context_create(['socket' => ['bindto' => '0:0']])))->members;
foreach ($members as $member) {
echo " - " . str_pad($member->name, 17) . "~> " . $member->channel . "\n";
}
echo "\n";
2020-11-18 15:48:04 +00:00
echo "the main lobby channel is #meta. you must log in with nickserv to speak there.\n";
2020-11-18 15:49:11 +00:00
echo "to get registered, run /quote ns help register or read our wiki: https://tilde.chat/wiki/nicks\n";
2020-11-18 15:48:04 +00:00
echo "check out https://tilde.chat/stats/ or run /list to find other channels\n";
2020-09-09 16:34:25 +00:00
echo "/join #helpdesk if you need assistance\n";
echo "\n";
echo "check out #tilderadio for our internet radio station!\n";
echo "\n";
echo "please see our etiquette guidelines: https://tilde.chat/wiki/etiquette\n";
echo "\n";
2020-10-20 13:54:02 +00:00
echo " ~~ be excellent to each other ~~";