Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Win32 FDS » BrenBot
BrenBot [message #435592] Thu, 26 August 2010 19:49 Go to next message
crysis992 is currently offline  crysis992
Messages: 314
Registered: June 2008
Karma: 0
Recruit

Hello, i have a little problem.

If i load for example now a ssgm plugin to my server.
Then i can access the commands for this plugin ingame.

What can i do that i can access the commands also in IRC with BrenBot? Any examples?

,
crysis992
Re: BrenBot [message #435600 is a reply to message #435592] Thu, 26 August 2010 22:48 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 743
Registered: February 2005
Location: Slovakia
Karma: 0
Colonel
Try look here: http://new.brenbot.com/projectDetails.php?projectID=7&OS=w not sure if that commands arent for in game only... Also you can create aliases for existing commands. Try look to Commands.xml in BR directory.
Re: BrenBot [message #435602 is a reply to message #435592] Thu, 26 August 2010 23:28 Go to previous messageGo to next message
crysis992 is currently offline  crysis992
Messages: 314
Registered: June 2008
Karma: 0
Recruit

what i mean is, if i load for example reborns random rotation.
This plugin include the commands !n !nextmap and more.

!nextmap have brenbot also. But if i type now !n in IRC nothing happens =)

you know what i mean? :/


Also other question. I loaded to the ssgm.ini the luaplugins, downloaded the !refillme and parachute plugin and moved themto the LuaPlugins folder. But they dont work ingame Sad
also for any other downloaded Lua plugin Sad

,
crysis992
Re: BrenBot [message #435618 is a reply to message #435602] Fri, 27 August 2010 02:12 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 743
Registered: February 2005
Location: Slovakia
Karma: 0
Colonel
crysis992 wrote on Fri, 27 August 2010 08:28

what i mean is, if i load for example reborns random rotation.
This plugin include the commands !n !nextmap and more.

!nextmap have brenbot also. But if i type now !n in IRC nothing happens =)

you know what i mean? :/


Also other question. I loaded to the ssgm.ini the luaplugins, downloaded the !refillme and parachute plugin and moved themto the LuaPlugins folder. But they dont work ingame Sad
also for any other downloaded Lua plugin Sad

,
crysis992


Hmm. Not sure because its not console command and its SSGM Chat Hook.

And I think !nextmap in BR just read next line in server cfg.
Re: BrenBot [message #435734 is a reply to message #435592] Sat, 28 August 2010 08:57 Go to previous messageGo to next message
trooprm02 is currently offline  trooprm02
Messages: 3266
Registered: August 2005
Location: Canada
Karma: 0
General (3 Stars)
If you are able to use a command ingame, but not in IRC, you just need to add IRC to its group in commands.xml or the plugins .xml file. For example, ill use !locate:

<command name="locate">
<hideInHelp value="1" />
<group>ingame</group>
<help value="Displays the position of your teammate." />
<permission level="1" />
<syntax value="!locate &lt;teammate&gt;" />
<enabled value="0" />
</command>

If you wanna also use locate in IRC (!locate would be picked up, but wouldn't actually display your position obviously), add:

<command name="locate">
<hideInHelp value="1" />
<group>ingame</group>
<group>irc</group>
<help value="Displays the position of your teammate." />
<permission level="1" />
<syntax value="!locate &lt;teammate&gt;" />
<enabled value="0" />
</command>


Re: BrenBot [message #437137 is a reply to message #435592] Tue, 28 September 2010 04:36 Go to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Reborns commands are only for ingame "SSGM Chat Hook" and has nothing to do with brenbot but would interfere with ingame commands. It would cause double output one from brenbot one from reborns ssgm plugin. You could just remove brebot ingame group for the command if you want to keep reborns plugin.

If you want the !n or !next command for !nextmap for Brenbot you would just add alias to the brenbot command in commands.xml with the <alias> </alias> Tags.

  <command name="nextmap">
    <permission level="1"/>
    <syntax value="!nextmap"/>
    <help value="Shows the next map"/>
    <enabled value="1"/>
    <group>irc_admin</group>
    <group>irc_public</group>
    <group>ingame</group>
    <hideInHelp value="0"/>
    <alias>shownext</alias>
    <alias>shownextmap</alias>
    <alias>n</alias>
    <alias>next</alias>
  </command>



To call reborns commands in irc you would either have to make a console command that brenbot could use or make the plugin connect to irc. I think reborn made a plugin that connects a bot to irc.


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Tue, 28 September 2010 04:43]

Report message to a moderator

Previous Topic: BrenBot problem-Fixed
Next Topic: Lua load problem
Goto Forum:
  


Current Time: Sun May 05 07:30:04 MST 2024

Total time taken to generate the page: 0.00687 seconds