Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Plugin.create :fav2u do
- count = 0
- onappear do |ms|
- ms.each do |m|
- user = m.user
- if m.user.to_s == 'toshi_a'
- m.message.favorite(true)
- count += 1
- puts 'ふぁぼった ' + count.to_s
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement