UnrealDecoy Posted July 15, 2010 Share Posted July 15, 2010 Is there any way to add a timer to my client side commands for example say I wanted to: say text blah blah every 20 secs would there be anyway of doing it? Link to comment
MaddDogg Posted July 15, 2010 Share Posted July 15, 2010 I don't really get. what you want.. Like this? addCommandHandler("blah", function () setTimer(someFunc, 20000, 0) end ) Please reexplain, what you want to do. Link to comment
TheRealCow Posted July 15, 2010 Share Posted July 15, 2010 (edited) MaddDog i think he want this: setTimer ( outputChatBox, 20000, 0, "blah blah blah", 255, 255, 0 ) for timer u should use this SetTimer and if u moved a bit down, then there is exampel, what u need Edited July 15, 2010 by Guest Link to comment
UnrealDecoy Posted July 15, 2010 Author Share Posted July 15, 2010 I have tried the setTimer function but could not get it to work. Does it work client-side or is it just for server side scripting? There is a server I play on which has a /chance command which allows you to bet money on a coin flip the command is: /flip amount But you can only use this command every 20 secs or so. My idea is to set a timer so it automatically flips every 20 secs for me so I can play and not have to remember to flip all the time. Any ideas? Link to comment
50p Posted July 15, 2010 Share Posted July 15, 2010 I have tried the setTimer function but could not get it to work. Does it work client-side or is it just for server side scripting? There is a server I play on which has a /chance command which allows you to bet money on a coin flip the command is: /flip amount But you can only use this command every 20 secs or so. My idea is to set a timer so it automatically flips every 20 secs for me so I can play and not have to remember to flip all the time. Any ideas? You can't do it without scripts. You can't make script only for yourself only. Server owner decides if he wants to add such feature for his player. Link to comment
UnrealDecoy Posted July 15, 2010 Author Share Posted July 15, 2010 I have found another way to do this so it's ok now. Thanks for the help though Link to comment
50p Posted July 15, 2010 Share Posted July 15, 2010 I have found another way to do this so it's ok now. Thanks for the help though What is the other way? Share with us. Do you mean you bound a key to that command and press it every 20 sec.? Link to comment
Dark Dragon Posted July 15, 2010 Share Posted July 15, 2010 this is indeed a valid request, even though the way you request it sounds more like a way to spam automatically Link to comment
[DMC] Posted July 15, 2010 Share Posted July 15, 2010 youre not dmc noob.... stop putting it in ur name everywere Link to comment
UnrealDecoy Posted July 15, 2010 Author Share Posted July 15, 2010 Sheepeeshaun New User Posts: 20 Joined: Sat Jan 28, 2006 6:47 pm I know it sounds like a way to spam but it is really just for using it for what I specified. I will not go into detail about how I managed to get it to work but it does involve binds of course. Shame that you can't do client side scripting like how mIRC allows although I suppose it is *really* not required. -Shaun 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