Openkore.com
http://forums.openkore.com/

[accinwin.pl] Adds acc name in the beginning of console name
http://forums.openkore.com/viewtopic.php?f=34&t=212283
Page 1 of 1

Author:  Mortimal [ 28 Aug 2017, 09:12 ]
Post subject:  [accinwin.pl] Adds acc name in the beginning of console name

Code:
use Globals qw(%config);
use Plugins;

return unless
Plugins::register('accinwin', 'Add account name to window title', \&on_unload);

my $hooks = Plugins::addHooks(
      ['mainLoop::setTitle', \&onSetTitle],
   );

sub on_unload {
   Plugins::delHook($hooks);
}

sub onSetTitle{
   $_[1]->{return} =  $config{username} ." | ".$_[1]->{return};
}


in gist https://gist.github.com/Mortimal/7eb5cd ... 31160f9240

Author:  SkylorD [ 29 Aug 2017, 13:33 ]
Post subject:  Re: [accinwin.pl] Adds acc name in the beginning of console name

Amazing ! 8-) 8-)

Author:  c4c1n6kr3m1 [ 29 Aug 2017, 15:00 ]
Post subject:  Re: [accinwin.pl] Adds acc name in the beginning of console name

why not edit customcaption plugin it's on needs-review

Author:  Mortimal [ 29 Aug 2017, 15:37 ]
Post subject:  Re: [accinwin.pl] Adds acc name in the beginning of console name

that's why it is on forums but not in pull requests...

Author:  Mortimal [ 29 Aug 2017, 16:16 ]
Post subject:  Re: [accinwin.pl] Adds acc name in the beginning of console name

ok but il revise that thx for info

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/