Shadow19

The clear command for commands filter in DPE

Aug 27th, 2016
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.68 KB | None | 0 0
  1. Thread.new(decoy) do |decoy|
  2.     #149 messages is the golden number for clearing all past messages apparently.
  3.     1.upto(150) do |mid|
  4.         decoy["<"].print(
  5.             packet(
  6.                 {
  7.                     "m"=>{
  8.                         "t"=>"",
  9.                         "u"=>"0",
  10.                         "i"=>"#{mid}"
  11.                     }
  12.                 }
  13.             )
  14.         )
  15.         decoy["<"].print(
  16.             packet(
  17.                 {
  18.                     "m"=>{
  19.                         "t"=>"/d#{mid}",
  20.                         "u"=>"0",
  21.                         "i"=>"0"
  22.                     }
  23.                 }
  24.             )
  25.         )
  26.     end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment