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

[ANY] Command Cycle


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Plugin ID:
2940
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Execute Commands via Config File Every Designated Amount of Time
    Unapprover:
    Reason for Unapproving:
    Not really usable for an end user, existing crontab plugins surpass the plugin.
    Old 05-08-2012 , 22:22   [ANY] Command Cycle
    Reply With Quote #1

    Command Cycle
    Description:

    Execute commands via config file every designated amount of time. This is made for servers that would basically like to run a specified command every few minutes or so.

    First off, I do not suggest setting the timer for your commands to run every 5 seconds. This will most likely cause lag to the server and instability if your server is running on a low grade computer.

    If you are going to advertise something using sm_say commands, use this.
    If you want to run commands at a certain time of day, use this.

    This will run exec commands in the console. If any command has an output that displays in console, it will display in console each time the command(s) run. These will record in logs if logs are enabled.

    CVar's (Defaults):
    PHP Code:
    sm_comcycle_enabled "1" Enable Command Cycle
    sm_comcycle_time 
    "120" Time Increment to Run Commands 
    Version Log:
    Spoiler

    Installation:
    PHP Code:
    comcycle.smx addons\sourcemod\plugins\
    comcycle.cfg cfg\sourcemod
    See my other plugins.
    Attached Files
    File Type: sp Get Plugin or Get Source (comcycle.sp - 1147 views - 1.6 KB)
    File Type: zip comcycle.zip (4.5 KB, 543 views)

    Last edited by ReFlexPoison; 10-27-2012 at 22:03. Reason: Initial Release
    ReFlexPoison is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 05-08-2012 , 22:23   Re: [ANY] Command Cycle
    Reply With Quote #2

    *Reserved
    ReFlexPoison is offline
    Yalamix
    Member
    Join Date: Dec 2011
    Location: Brazil
    Old 05-08-2012 , 22:44   Re: [ANY] Command Cycle
    Reply With Quote #3

    Nice. Perfect for when my server starts working.
    Yalamix is offline
    serpentine
    I don't have a problem
    Join Date: Feb 2011
    Location: Madison, WI
    Old 05-09-2012 , 04:15   Re: [ANY] Command Cycle
    Reply With Quote #4

    This is pretty cool. I'd like to use it for spawning HHH and Monoculus but I believe both of those requre someone to be aiming at the spawning point.
    __________________
    serpentine is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 05-09-2012 , 10:43   Re: [ANY] Command Cycle
    Reply With Quote #5

    Quote:
    Originally Posted by serpentine View Post
    This is pretty cool. I'd like to use it for spawning HHH and Monoculus but I believe both of those requre someone to be aiming at the spawning point.
    I "think" there are edits of those plugins in the plugin threads. I know for horseman they made it so it would spawn via cordinate points on the map other than where the admin points at.
    ReFlexPoison is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 05-09-2012 , 10:48   Re: [ANY] Command Cycle
    Reply With Quote #6

    Quote:
    Originally Posted by serpentine View Post
    This is pretty cool. I'd like to use it for spawning HHH and Monoculus but I believe both of those requre someone to be aiming at the spawning point.
    Yeah I wouldn't use this for a timed HHH or Mono... they are both easy to create.
    Horsedick is offline
    Yalamix
    Member
    Join Date: Dec 2011
    Location: Brazil
    Old 05-09-2012 , 21:18   Re: [ANY] Command Cycle
    Reply With Quote #7

    Quote:
    Originally Posted by ReFlexPoison View Post
    I "think" there are edits of those plugins in the plugin threads. I know for horseman they made it so it would spawn via cordinate points on the map other than where the admin points at.
    Maybe you could add a CVar or something to spawn HHH or Monoculus on specific coordinates on specific maps
    Yalamix is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 05-09-2012 , 21:32   Re: [ANY] Command Cycle
    Reply With Quote #8

    Quote:
    Originally Posted by Yalamix View Post
    Maybe you could add a CVar or something to spawn HHH or Monoculus on specific coordinates on specific maps
    That has nothing to do with this plugin. Just go the HHH thread and find it.
    ReFlexPoison is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 05-10-2012 , 14:59   Re: [ANY] Command Cycle
    Reply With Quote #9

    If you are going to advertise something using sm_say commands, use this.
    If you want to run commands at a certain time of day, use this

    Just pointing it out.
    Drixevel is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 05-10-2012 , 15:18   Re: [ANY] Command Cycle
    Reply With Quote #10

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    If you are going to advertise something using sm_say commands, use this.
    If you want to run commands at a certain time of day, use this

    Just pointing it out.
    Spelling and grammar, not my strong point. Blaming it on google's auto correct

    Last edited by ReFlexPoison; 05-10-2012 at 16:22.
    ReFlexPoison is offline
    Reply


    Thread Tools
    Display Modes

    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 10:52.


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