Page 1 of 1

Respond to IRC staff commands.

PostPosted: 26 Jun 2013, 04:55
by Leeizazombie
It would make things really easy for multi server hosters if MCDzienny could respond to commands made only by registered, halfop's, ops, admins ect.. for example if I were on IRC and I send a message like "<kick> (player)" MCDzienny should then read it and make it kick that player from the actual game.

Re: Respond to IRC staff commands.

PostPosted: 15 Jul 2013, 16:53
by Clowny
That would be cool but woh... would that be possible O.O since / is already hooked up to regular IRC commands there would have to be another way to read the commands...

Re: Respond to IRC staff commands.

PostPosted: 15 Jul 2013, 17:30
by ismellike
I think all you have to do is type in "kick : player_name"

That is what it shows in mclawl ircbot commands.
It should be the same for mcdzienny.

Re: Respond to IRC staff commands.

PostPosted: 16 Jul 2013, 02:14
by Leeizazombie
ismellike wrote:I think all you have to do is type in "kick : player_name"

That is what it shows in mclawl ircbot commands.
It should be the same for mcdzienny.

It works :D as long as my name is added as an IRC controler in the ranks folder of course

Re: Respond to IRC staff commands.

PostPosted: 16 Jul 2013, 02:20
by Clowny
Ooohh I see nice looking forward to using that

Re: Respond to IRC staff commands.

PostPosted: 16 Jul 2013, 02:32
by ismellike
Here is my known irc command list, from mclawl (mcdzienny's papa).

These are all pretty much straightforward
Code: Select all
restart
update
kick : p_name
ban : p_name
banip : p_name
say : message
setrank : p_name rank_name
mute : p_name
joker : p_name
physics : level_name int
load : level_name
unload : level_name
save : level_name
map : <command input>     (look at /map for the command input)


More commands can't be added since all of the above are directly coded into the ircbot class.

Re: Respond to IRC staff commands.

PostPosted: 16 Jul 2013, 03:23
by Leeizazombie
ismellike wrote:Here is my known irc command list, from mclawl (mcdzienny's papa).

These are all pretty much straightforward
Code: Select all
restart
update
kick : p_name
ban : p_name
banip : p_name
say : message
setrank : p_name rank_name
mute : p_name
joker : p_name
physics : level_name int
load : level_name
unload : level_name
save : level_name
map : <command input>     (look at /map for the command input)


More commands can't be added since all of the above are directly coded into the ircbot class.

Thank you so much! it helps alot!

Re: Respond to IRC staff commands.

PostPosted: 22 Jul 2013, 02:34
by HeyMan7
ismellike, you just pm the bot and as long as your in IRC_Controllers.txt file, you can use all cmds. This format:
"/kick heyman7" would be "kick heyman7"