Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Perl by Dadouchi ( 17 years ago )
our %cmdlist = (
#...
  'whoami' => {
	  'subaddr'    => &cmd_whoami,
      'need_admin' => 0,
      'need_alive' => 1
	}
#...
);
#...
sub cmd_whoami {
    my ($launcher) = @_;
	if(exists($players{$launcher}))
	{
		say(P_GAMEADV, 'info', $launcher,
	    $messages{'cmds'}{'getJob'},
	    $messages{'jobs_name'}{ $players{$launcher}{'job'} });
	}
	else
	{
		say(0, 'error', $launcher,$messages{'errors'}{'unknown_ply'},$laucher);
	}
}
#...

 

Revise this Paste

Children: 5095
Your Name: Code Language: