Recent Posts
C | 13 sec ago
Erlang | 20 sec ago
Ruby | 23 sec ago
None | 46 sec ago
None | 58 sec ago
None | 58 sec ago
None | 1 min ago
Ruby | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 9th of Feb 2010 11:49:43 PM Download | Raw | Embed | Report
  1. #!/usr/bin/env python
  2. """
  3. fap module by Andi Miller, designed to be the alter ego of ZesDa from #42 on AFNet
  4. """
  5. import random
  6.  
  7. def interjection(phenny, input):
  8.    phenny.say(input.nick + '!')
  9. interjection.rule = r'$nickname!'
  10. interjection.priority = 'high'
  11. interjection.thread = False
  12.  
  13. def fap(phenny, input):
  14.    choice=random.choice(range(0,5))
  15.    if choice==1:
  16.       phenny.say("FAP")
  17.    if choice==2:
  18.       list=input.split(" ")
  19.       word=random.choice(list)
  20.       phenny.say("s/"+word+"/fap/")
  21.  
  22. fap.rule = r'(.*)'
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: