Download Latest Version apbot0.1.5B.py (6.2 kB)
Email in envelope

Get an email when there's a new version of apbot

Home / Plugins / Russian Roulette
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2011-05-30 839 Bytes
roulette.py 2011-05-30 667 Bytes
Totals: 2 Items   1.5 kB 0
This is a read me file for the plugin roulette for APBOT. This read me will explain how to add roulette to apbot.py

Use the wiki page if you are confused.

1) Open up apbot.py in a text editor.
2) Find where the other imports are add "import roulette".
3) Linux: 
	Copy roulette.py to the same folder as apbot and your done.
   Windows:
	Copy roulette.py to your Python folder (normally 'C:/Python27')

4) Go down to where the functions are and add:
  
        
    elif cmd == SYMBOL +"roulette" and len(arg)>1:
      hard = msg.split(" ")[1] 
      new_line = line.replace(":","")
      new_input = new_line.split("!")
      user = new_input[0]
      roulette.roulette(s, hard, CHANNEL, user) 

           
5) There, now you're done. Just start up apbot and use $(or whatever your symbol is)roulette <amount of bullets in the gun(0-8)>
Source: README.txt, updated 2011-05-30