Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Win32 FDS » mirc_ren.dll read from FDS
Re: mirc_ren.dll read from FDS [message #440393 is a reply to message #440390] Tue, 30 November 2010 01:46 Go to previous messageGo to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
why mirc

brenbot
sub mute
{
	my ( $kernel, $session, $heap, $args ) = @_[ KERNEL, SESSION, HEAP, ARG0 ];
	my %args = %{$args};

	if ( $args{arg} =~ m/^\!\S+\s(.+)$/i )
	{
		my ( $result, %player ) = plugin::getPlayerData ( $1 );
		if ( $result == 1 )
		{
			plugin::RenRemCMD("mute $player{id}");
			#modules::add_muted( $player{name}, $player{ip}, $player{serial} );
		}
		else { brIRC::ircmsg ( "$1 was not found ingame, or is not unique", "A"); }
	}
	else
	{
		brIRC::ircmsg ( "Usage: !mute <player id>", "A");
	}
}


http://s18.postimage.org/jc6qbn4k9/bricks3.png
 
Read Message
Read Message
Read Message
Previous Topic: Bad ping :/
Next Topic: Brenbot rank plugin
Goto Forum:
  


Current Time: Tue Dec 03 19:01:41 MST 2024

Total time taken to generate the page: 0.00666 seconds