This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mystic_bbs import * | |
x,y = termsize() | |
# ScrollingList is a class that provides functionality for displaying a list of items in a scrollable format. | |
# It supports various features like scrolling up and down, wrapping around the list, and selecting items. | |
# It also supports customization of the display format, including prefixes and suffixes for items, | |
# and separators for item attributes. | |
class ScrollingList: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pywmata import Wmata | |
from blessed import Terminal | |
import os | |
import dd | |
import sys | |
t = Terminal() | |
api = Wmata("xxxxxxxxxxxxxxxxxxxx") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
## Original code by Sampsa Laine, B4BBS (2:250/7), http://sampsa.com/b4bbs | |
## Usage Example (get door codes after joining bbslink.net): | |
## Command line format: /home/bbs/python/dd-bbslink.py %N <door code> | |
## | |
## DOOR_COMMAND.. LORD | |
## DOOR_TYPE..... 6 | |
## DOOR_SECURITY. 200 | |
## DOOR_EXECUTE.. /home/bbs/python/dd-bbslink.py %N LORD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import httplib, urllib | |
# Config | |
# You will need to sign up for a pushover.net account - and download | |
# their paid ios or android apps or their various 3rd party plugins. | |
# https://pushover.net/apps | |
appToken = "APPTOKEN HERE" | |
userKey = "USERKEY HERE" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("http.js"); //this loads the http libraries which you will need to make requests to the web server | |
load("sbbsdefs.js"); | |
// Pushover notifications for synchronet v0.13 by nolageek | |
// | |
// This script adds simple push notifications to your synchronet bbs, using the pushover API, | |
// NOTE: install the free Pushover browser plugins or paid iOS or Android apps, you'll receive | |
// notifications for different events as soon as they occur on your BBS. Any configurable event | |
// can have a notification easily added, basically by running the script and adding a "KEYWORD" | |
// afterwards. | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("http.js"); //this loads the http libraries which you will need to make requests to the web server | |
load("sbbsdefs.js"); // i always load this when making stuff for synchronet don't know why | |
//var wungrndAPIkey = "xxxxx"; // put your wunderground API key here | |
function forecast() { | |
var req= new HTTPRequest(); | |
var req2= new HTTPRequest(); | |
var current = req.Get("http://api.wunderground.com/api/" + wungrndAPIkey + "/conditions/q/autoip.json?geo_ip=" + user.ip_address); | |
var forecast = req2.Get("http://api.wunderground.com/api/" + wungrndAPIkey + "/forecast/q/autoip.json?geo_ip=" + user.ip_address); | |
var cu = JSON.parse(current); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For default | |
################################### | |
Open login.js in your /sbbs/exec directory (or in /sbbs/mods) or applicable login.js replacement. | |
IPs are added to | |
/sbbs/text/ip.can | |