Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.54 KB | None | 0 0
  1. class Gun < BotPlugin
  2.  
  3.   match /shoot (.*)/i, method: :shoot_person(m, $1.to_s)
  4.  
  5.   def shoot_person(m, person)
  6.     return unless execute?(m)
  7.     case rand(4)
  8.     when 0
  9.       m.reply "The trigger is pulled and the bullet fly's through the soft matter in " + person + "'s brain."
  10.     when 1
  11.       m.reply person + ", you just got f***ing shot."
  12.     when 2
  13.       m.reply "Hehe... " + person + " can has dead."
  14.     when 3
  15.       m.reply person + ", you are no longer living. For this reason, I kindly ask you to GTFO."
  16.     end
  17.   end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement