[accinwin.pl] Adds acc name in the beginning of console name

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

Message
Author
Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

[accinwin.pl] Adds acc name in the beginning of console name

#1 Post by Mortimal »

Code: Select all

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
Please use pin function for uploading your file contents!

User avatar
SkylorD
Moderators
Moderators
Posts: 1167
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: [accinwin.pl] Adds acc name in the beginning of console name

#2 Post by SkylorD »

Amazing ! 8-) 8-)
Learn rules

c4c1n6kr3m1
The Way Of Human
The Way Of Human
Posts: 150
Joined: 24 Mar 2012, 04:13
Noob?: Yes

Re: [accinwin.pl] Adds acc name in the beginning of console name

#3 Post by c4c1n6kr3m1 »

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

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: [accinwin.pl] Adds acc name in the beginning of console name

#4 Post by Mortimal »

that's why it is on forums but not in pull requests...
Please use pin function for uploading your file contents!

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: [accinwin.pl] Adds acc name in the beginning of console name

#5 Post by Mortimal »

ok but il revise that thx for info
Please use pin function for uploading your file contents!

Post Reply