This file contains 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
# if netid is logged in, send a random cat fact to all of its terminals. | |
# usage: crontab -e. paste in: | |
# 0 * * * * python ~/catfact.py | |
# logs in ~/victims.txt | |
# why did i spend so much time on this. | |
# this got me banned from the school servers for two days | |
messagechance = 5 # 1 is 1%, 99 is 99%. keep in mind this will only run if they're logged in. | |
postscript = '\n this has been an automated cat fact. contact me to unsubscribe. or to subscribe others.\n' | |
listofnetids = ['netids','go','here'] |