On *:Join:#: {
  msg $chan 8welcome $nick  4i am the bank bot 0just type `bank to 5start the way
  msg $chan 0once you type `gbank dont do it agian or you lose all cash
}
on 1:text:`bank:#: {
  notice $Nick 7Welcome to the bank
  notice $Nick 6here you can come and store bells and take out bell
  notice $Nick 9to take bells you just type `take out 
  notice $Nick 8to put in bells type `deposit bells 
  notice $Nick 0Ok to get your bells from the start just type `gbank
  notice $Nick 0There is a game called dice type !dice to play
  notice $Nick 12 there is a lottery number game type !draw to play
}
on *:text:`take out:#: {
  msg $nick 8 you have took out's $rand(1,400)bells
}
on *:text:`deposite bells:#: {
  msg $Nick you deposited $rand(1,00) bells
}
on *:text:`Gbank:#: {
  writeini bell.ini $Nick 500
  msg $nick you got 4out of 600 bells 0 $rand(1,600)bells
}
on *:text:!dice:#: {
  notice $chan $Me rolls a $rand(1,6)
  notice $chan $Nick rolls a $rand(1,6)
}
on *:text:!draw:#: {
  notice $chan winning number 5 
  notice $chan $Nick draws $rand(1,10)
}
on *:text:`pie*:#: {
  .timer 1 4 msg $chan 0 $me throws a pie at $2
  .timer 1 6 msg $chan 4 $me throws a pie at $2
  .timer 1 8 msg $chan 8 $me throws a pie at $2
  .timer 1 10 msg $chan 9 $me throws a pie at $2
  .timer 1 12 msg $chan 12 $me throws a pie at $2
}
on *:text:`bells:#: {
  notice $Nick $readini(bell.ini,$Nick,bells)
}
