Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Brenbot Plugin
Re: Brenbot Plugin [message #401336 is a reply to message #400153] Wed, 02 September 2009 19:27 Go to previous messageGo to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
Yea i was just testing some stuff out. So I tired making a timer but it didn't work not sure what to do with code you gave me.


		my %playerlist = playerData::getPlayerList();
		while ( my ( $id, $player ) = each ( %playerlist ) )
		{
			if ( modules::get_module( "bhs" ) )
			{
				POE::Session->create
				( inline_states =>
					{
						_start => sub
						{
							$_[HEAP]->{next_alarm_time} = int( time() ) + 5;
							#$_[KERNEL]->alarm( end => (int(time() ) +3) => $player->{'name'}
							$_[KERNEL]->alarm( end => $_[HEAP]->{next_alarm_time} );
						},
						end => sub 
						{
							modules::RenRemCMD ( "player_info" );
							brIRC::ircmsg( "7 Player 4 $player->{'name'} 4 $player->{'ip'}  7 Ping 4 $player->{'ping'} 7Serial 4 $player{'serial'} ", "A" );
						}
					}
				);
			}
		}


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

[Updated on: Wed, 02 September 2009 19:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Server crash when loaded C&C_Under.mix edit
Next Topic: Leveledit
Goto Forum:
  


Current Time: Wed Nov 27 18:52:55 MST 2024

Total time taken to generate the page: 0.00826 seconds