plugins/Slap.rb
# Slap people around with some fish. Warning: Some of the rare and unique
# specimens of fish that we've collected may not resemble any fish you are
# familiar with. But take my word, they *are* fish. :)
Slap people around with some fish. Warning: Some of the rare and unique
specimens of fish that we've collected may not resemble any fish you are
familiar with. But take my word, they *are* fish.
Slap people around with some fish . Warning : Some of the rare and unique specimens of fish that we ' ve collected may not resemble any fish you are familiar with . But take my word they * are * fish .
def slap(source, msg)
		return unless match = msg.match(/^slap[ \t]+(.+)/i)
		target = match[1]
		target = "itself" if target.downcase.include?(@client.nick.downcase)
		say(source, "slaps #{target} around a bit with #{@fish.random}.", :action)
		flinch(source) if %w(himself herself itself).include?(target)
	end
def slap ( source , msg ) return unless match = msg . match ( / ^slap[  \t ]+(.+) /i ) target = match [ 1 ] target = "itself" if target . downcase . include? ( @client . nick . downcase ) say ( source , "slaps #{target} around a bit with #{@fish.random}." , :action ) flinch ( source ) if %w( himself herself itself ) . include? ( target ) end
Slap people around with some fish.
Slap people around with some fish .
source
<not_specific>
msg
<not_specific>