Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ^boom (.+)$
  2.  
  3. if cityList.Mhaldor[matches[2]:title()] then
  4.     if announce then
  5.         send(matches[2].. " remove shackle")
  6.     end
  7.     for k,v in pairs(gmcp.Room.Info.exits) do
  8.         local boom_fn = function()
  9.             local cmd = string.format("cq all;clearalias x1;setalias x1 stand/wield shield boomerang/throw boomerang at %s %s;x1", matches[2], k)
  10.             send(cmd)
  11.         end
  12.         tempTimer(1, boom_fn)
  13.     end
  14. else
  15.     send("wield boomerang")
  16.     send("throw boomerang at " ..matches[2].. " north")
  17.     send("throw boomerang at " ..matches[2].. " south")
  18.     send("throw boomerang at " ..matches[2].. " east")
  19.     send("throw boomerang at " ..matches[2].. " west")
  20.     send("throw boomerang at " ..matches[2].. " northwest")
  21.     send("throw boomerang at " ..matches[2].. " northeast")
  22.     send("throw boomerang at " ..matches[2].. " southwest")
  23.     send("throw boomerang at " ..matches[2].. " southeast")
  24.     send("throw boomerang at " ..matches[2].. " up")
  25.     send("throw boomerang at " ..matches[2].. " down")
  26.     send("throw boomerang at " ..matches[2].. " in")
  27.     send("throw boomerang at " ..matches[2].. " out")
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement