Advertisement
Guest User

Untitled

a guest
Oct 8th, 2015
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. function my.commands.doSemi(com)
  2.     local commands = string.split(com, ";")
  3.     for k, v in pairs(commands) do
  4.         if string.ends(v, "\\") then
  5.             dsend(string.sub(v,1,#v-1)..";"..commands[k+1], false)
  6.             table.remove(commands,k+1)
  7.         else
  8.             expandAlias(v, false)
  9.         end
  10.     end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement