Raised This Month: $52 Target: $400
 13% 

Simple Commands Helper


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-19-2019 , 09:09   Simple Commands Helper
Reply With Quote #1

Note: I did not see anything like that here, I might be blind too (i'm so tired right now), so i'm sorry if I did that mistake.

Description:
I made that plugin some days ago and decided to post it here
It's just a simple plugin that reads an ini file with registered commands. It's useful to 5x5 matches which owners just wants simple commands instead of all these colorful messages on auto-pugs out there.

How to register:

; If you want to register a command to read a .cfg file, do that:
; "COMMAND NAME" "1" "foldername/configfile.cfg" (NOTE THAT ALL FILES IS ALREADY SENT TO 'configs' folder)
; ---------------
; If you want to register a simple command to change a map, do that:
; ".de_train" "0" "changelevel de_train"
; ---------------


So, in execution, if I want to register a simple command that restart the server:

Example 1: ".restart" "1" "sv_restart 1"
- With this, saying .restart on the chat you'll be able to reset the game.

Example 2: ".warmup" "0" "matchconfigs/warmup.cg"
- With this, saying .warmup on the chat you'll be able to execute a config file.


==================
Attached Files
File Type: sma Get Plugin or Get Source (commandReader.sma - 49 views - 2.2 KB)
File Type: ini commandReaderIni.ini (609 Bytes, 39 views)
__________________

Last edited by EFFx; 01-19-2019 at 09:17.
EFFx is offline
Send a message via Skype™ to EFFx
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-19-2019 , 10:59   Re: Simple Commands Helper
Reply With Quote #2

So, why is it here and not in new plugins?
__________________
HamletEagle is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-19-2019 , 11:36   Re: Simple Commands Helper
Reply With Quote #3

I thought it wasn't enough to be on New Plugin Submissions since it's a simple code that reads an .ini file to help owners.
__________________
EFFx is offline
Send a message via Skype™ to EFFx
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 18:40.


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