Raised This Month: $105 Target: $400
 26% 

AutoCMD


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   EKS (167)
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-13-2005 , 04:34   AutoCMD
Reply With Quote #1

AutoCMD 0.11 by Avalanche
suggested by MC-Olivenoel of the AMXx forums
http://forums.alliedmods.net/showthread.php?t=16440

REQUIREMENTS:
Create the directory: addons/amxmodx/data/autocmd

CVARS:
autocmd_delay <seconds> (def: 0.1) - how fast the commands will be run, 0 is as fast as possible, otherwise 0.1 is minimum

COMMANDS:
autocmd_start <filename> - starts recording a sequence and saves it to filename ON THE SERVER
autocmd_add <command> - adds a command to the current sequence
autocmd_stop - stops recording the current sequence
autocmd_load <filename> - loads the sequence and executes all the commands with autocmd_delay delay
autocmd_tele_save - saves your position in the sequence, when loaded will teleport to here
autocmd_tele <x> <y> <z> - teleports self to xyz
autocmd_list - lists all sequences saved on the server
autocmd_view <filename> - displays the commands in a sequence
autocmd_remove <filename> - removes a sequence from the server

USAGE:
Save godmode and noclip:
---
autocmd_start godlynoclip
autocmd_add amx_godmode avalanche 1
autocmd_add amx_noclip avalanche 1
autocmd_stop

Run godmode and noclip:
---
autocmd_load godlynoclip

WHY?:
Why should you use this instead of making a config file and using the exec command? There are a few reasons:
- The sequence is saved on the server so you never lose it and so other admins can access your sequences
- Your commands can be executed with a custom delay rather than all at once
- You can easily add a commands to teleport to where you are standing
- I don't know, I didn't think this plugin up in the first place
Attached Files
File Type: sma Get Plugin or Get Source (autocmd.sma - 1670 views - 9.8 KB)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 08-13-2005 , 06:05  
Reply With Quote #2

COOL.

I'm gonna use this on my server .
__________________
Plugins:
none

n0obie4life is offline
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 08-13-2005 , 20:22  
Reply With Quote #3

Very nice job I saw this plugin in suggestions and I thought it would be a great idea. Nice seeing that you accomplished the task .

Also good for people who are having a tough times with learning files its a good reference.
__________________
Sig Under Construction.
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-13-2005 , 23:03  
Reply With Quote #4

Just added the autocmd_view command that lets you view the contents of a sequence and made sure to remind you to create the directory first.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
jackass2
Junior Member
Join Date: May 2007
Old 05-27-2007 , 06:30   Re: AutoCMD
Reply With Quote #5

thx



can i use that for client command


Ex :-

amx_exec playername "bind mouse1 kill"


i need something to bind more thing auto!!


that what am talking about, Ex :-

amx_exec playername "exec jack.cfg"


-------------------------------------------------



jack.cfg have insaid

bind mouse1 kill
bind mouse2 kill
bind mouse3 kill
bind .... kill
bind .... kill
bind .... kill
fps_model 1

-------------------


Like That :"(
jackass2 is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 05-28-2007 , 02:04   Re: AutoCMD
Reply With Quote #6

You can actually do even better than that with a single command:

amx_ban
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 04:19.


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