Author Topic: CmdBot Help  (Read 1505 times)

This code will fix your BL_ID thing.
Code: [Select]
function getblid(%person) //type in your client console this: getblid("aPlayer'sNameHere");
{
%takeAway = false;
if(!$Pref::Gui::ShowPlayerListBLIDs)
{
%takeAway = true;
}
$Pref::Gui::ShowPlayerListBLIDs = true;
for(%a=0; %a<npl_list.rowcount(); %a++)
{
if(getfield(npl_list.getrowtext(%a), 1) $= %person) //Basically saying "If you type this in, then I will do what the below says"
{
newchatso.addline(getfield(npl_list.getrowtext(%a), 3)); //Sends you the player's BL_ID
}
}
if(%takeAway)
{
$Pref::Gui::ShowPlayerListBLIDs = false;
}

}
Just a function though

People now a' days make code to make pressing F2 and looking at code into this :(

You lazy people.

BTW: you don't need the %takeAway = false; at the top.
« Last Edit: July 09, 2013, 11:27:21 PM by Wrapperup »