Raised This Month: $51 Target: $400
 12% 

Command Repeater


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   v3x (159)
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 02-26-2006 , 20:02   Command Repeater
Reply With Quote #1

this plugin allows you to repeat (nearly) any command by prefixing it with a number and optionally an interval. if the cvar cr_adminsonly (default 0) is set to 1 then only admins can use this functionality.

this runs the commands through the player who called it, so you still have to have proper access levels for whatever command you are repeating.

version 0.1.1 fixes minor efficiency issues but you shouldn't be bothered to redownload if you are using 0.1.0. additionally the wonder twins make an appearance.

Example:

5 amx_slap kraugh 10
this will instantaneously slap player kraugh 5 times for 10 damage each

20/1.5 amx_slap kraugh 5
this will slap player kraugh 20 times for 5 damage each every 1.5 seconds (the first one is instant)
Attached Files
File Type: sma Get Plugin or Get Source (command_repeater.sma - 1860 views - 2.7 KB)
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode