Raised This Month: $52 Target: $400

Easy Plugin CVar/Cmd Lists for Web Page/Github/Etc.

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 04-13-2018 , 21:55   Easy Plugin CVar/Cmd Lists for Web Page/Github/Etc.
Reply With Quote #1

I made a script to drop my sourcepawn scripting (.sp) files onto and have it put a list of CVars, player cmds, and admin cmds into the clipboard in a nice clean format. Simply drag/drop the file onto cvar_cmds_toclipboard.vbs and the output will be in your clipboard.

An alternate script (cvar_cmds_htmltoclipboard.vbs) makes the same list, but has the output put into spoilers for a web page. The spoiler I use have the following CSS:

And utilize the following javascript:

Here is an example output from a test file I made put through both scripts:

The scripts check if something is commented out, but since it was developed for my coding style, it might need adaptations for some others. The scripts do support AutoExecConfig include as well. They were made for my convenience, but I thought I'd post em here for others to make use of if they want.

EDIT: Added Github script (cvar_cmds_githubtoclipboard.vbs) as well, providing github spoilers and formatting. For an example of the output, view the readme for my clan tags plugin: https://github.com/ThatOneHomelessGu...ster/README.md
Attached Files
File Type: zip cvar cmd list scripts.zip (7.9 KB, 12 views)

Last edited by ThatOneGuy; 04-14-2018 at 13:09. Reason: Added Github script
ThatOneGuy is offline

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 02:42.

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