Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Author Topic: Help with adding a custom command  (Read 327 times)

Offline Slimbips

  • Full Member
  • ***
  • Posts: 65
Help with adding a custom command
« on: January 02, 2017, 10:52:48 PM »
hello guys,

I want to add a custom command.
if i use an rcontool and im logged in... when i type "getss name" it will make an ss of that person.
how can i make it a custom command like !getss name so the admins can use it?.

i opened the plugin_customcommands file but have no clue what to add in there

can someone help?

Offline Slimbips

  • Full Member
  • ***
  • Posts: 65
Re: Help with adding a custom command
« Reply #1 on: January 03, 2017, 05:33:17 PM »
oke i figured it out, i had to add it like this

Code: [Select]
pizza = getss <ARG:FIND_PLAYER:NAME>
can i change it so when i do a screenshot i say something like... pizza ready?

Offline PeterG

  • Newbie
  • *
  • Posts: 2
Re: Help with adding a custom command
« Reply #2 on: January 10, 2017, 03:38:19 PM »
What game are you using this for and does it work? I'm interested in a SS tool myself.

 


Rate this page +1 at Google Search

anything