nielskedb Posted May 28, 2011 Share Posted May 28, 2011 Hi, i'm a newb in scripting but i wanne ask some thing about it, We have Some Sounds on the Server just luke /trololo and it plays a sound But Now we have the problim that they Spam with it so i wanne make a Soundmute wich means that they can't use / when they are "soundmuted" But still can talk in the chatbox. I rly hope Some1 can help me , or some1 has that script it would be verry helpful Link to comment
Minokon Posted May 29, 2011 Share Posted May 29, 2011 When use ex. "/trololo" save that in variable and start timer, which reset that variable. You must add condition in function attached to command. Ex.: -- in your command: if (soundMuted == false) then -- your command code soundMuted = true setTimer(...) -- i don't remember params now end Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now