Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Win32 FDS » mirc_ren.dll read from FDS
mirc_ren.dll read from FDS [message #440390] Tue, 30 November 2010 00:58 Go to next message
crysis992 is currently offline  crysis992
Messages: 314
Registered: June 2008
Karma: 0
Recruit

Hello,

I was wondering if the mirc_ren.dll can also read out the console.
Or get playernames working. At the moment it only to work with IDs.

Example:
on *:text:!mute*:#:{
  if ($nick == crysis) {
    dll mirc_ren.dll FDS_Send 127.0.0.1 4949 ***** mute $2
    msg $chan UserID $2 has been muted for: $3- 
    dll mirc_ren.dll FDS_Send 127.0.0.1 4949 ****** pamsg $2 You have been muted by $nick for: $3- :: Do not rejoin to evade the mute.
  }
}


1) This is working only if i type the ID in the second place. Possible to get it with nicks working?
2) Possible to read out the Console(FDS) with mirc_ren.dll without 50000 lines of scripts?
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 next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
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
Re: mirc_ren.dll read from FDS [message #441395 is a reply to message #440390] Sun, 12 December 2010 19:09 Go to previous message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Hacker codes!

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Previous Topic: Bad ping :/
Next Topic: Brenbot rank plugin
Goto Forum:
  


Current Time: Sat May 04 14:13:13 MST 2024

Total time taken to generate the page: 0.01001 seconds