Advertisement
Guest User

Untitled

a guest
Dec 9th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. function capture_comms()
  2.     local ch = gmcp.Comm.Channel.Start
  3.     ui.cc.last = misc
  4.  
  5.     for c, t in pairs(ui.cc.types) do
  6.         if ch:find(c) then
  7.             ui.cc.last = t
  8.             break
  9.         end
  10.     end
  11.  
  12.     enableTrigger("comms capture")
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement