Guest User

/action

a guest
May 29th, 2017
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Активация через чат: /action [текст] [количество раз]
  2. :B0?:/action::
  3. Input, action, T V, {enter}
  4. sleep 1150
  5. params := StrSplit(action, A_Space)
  6. acstring := ""
  7. loop, % params.MaxIndex() - 1
  8. acstring := acstring " " params[A_Index]
  9. loop, % params[params.MaxIndex()]
  10. {
  11.     sendchat("/me " acstring "[" A_Index "/" params[params.MaxIndex()] "]")
  12.     sleep 1150
  13. }
  14. return
RAW Paste Data