title: Python irc bot input
body: <p>ive been working on an irc bot and have run into a halt, i cant figure out how to accept input for arguments for a function, specifically my function add(), heres the function, </p>
  
  <pre><code>def add(x1,x2):
      xtot = x1 + x2
      ircsock.send("PRIVMSG "+ channel + " :Toatal =  %s.\n" % (xtot))
  </code></pre>
  
  <p>and heres how its called</p>
  
  <pre><code>if ircmsg.find('add.' + botnick) != -1:
      add()
  </code></pre>
  
  <p>i want to know how to attach input along side just running the function, as in add.mybot 1,2
  instead of just add.mybot</p>