I think it would be great to be able to rename your runebooks, to help organize them.
I did this script a while back. Heres the changes you'd need to make:
Gump layout:
"button 130 230 2472 2473 1 0 2", //rename button
Change the result from the gump for case 2:
2: // Rename RuneBook
if (book.movable)
RenameBook ( who , book );
return;
else
SendSysMessage (who, "You can't rename locked down runebooks.");
return;
endif
return; //nothing
Then add this function at the end:
///////////////////
// allows the user to enter a new name for the book
///////////////////
function RenameBook (who, book)
//request the user to enter a new name
local rune_name := RequestInput (who, book, "Please enter a new name for this runebook. (max 20 characters)" );
//make sure that they entered a name, and that it's not longer than 20 characters
if (!rune_name)
SendSysMessage (who, "Canceled.");
return;
elseif (len(rune_name) > 20)
SendSysMessage (who, "The name must be 20 characters or less.");
return;
else
book.name := "Runebook: " + rune_name;
endif
endfunction
I havent tried this code under the new Pol, but it should work I think. Guess I need to set up my test server again
Anyways, it helped me maintain my runebook collection