Advertisement
Brownies

on_off commands

Dec 22nd, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. <inputcommands>
  2.         <cmd input="/th4 on">
  3.             <if advanced="$th4=false">
  4.                 <setvar name="th4" value="true" />
  5.                 <command>/ac disable main</command>
  6.                 <command>/ac disable sub</command>
  7.                 <command>/ac disable hands</command>
  8.                 <addtochat color="57">TH4 mode enabled!</addtochat>
  9.             </if>
  10.         </cmd>
  11.         <cmd input="/th4 off">
  12.             <if advanced="$th4=true">
  13.                 <setvar name="th4" value="false" />
  14.                 <command>/ac enable main</command>
  15.                 <command>/ac enable sub</command>
  16.                 <command>/ac enable hands</command>
  17.                 <addtochat color="57">THmode mode disabled.</addtochat>
  18.             </if>
  19.         </cmd>
  20.     </inputcommands>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement