View Single Post
  #2  
Old 07-14-2007, 09:54 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by coreys View Post
It would be nice to add your own options in the playerlist. There's the warpto in the playerlist, but it would nice to be able to script a summon option that could show up in the drop down menu as well, and whatever else you might want to add (reconnect, disconnect, etc). This would be a really great feature to have.

There could be an option in the serverops where you would put the name of the weapon that has the special function for playerlist options. The function could go like this:
Graal Script Code:
public function playerlistOptions(selectionselector) {
  
//selection is the account name being selected
  //selector is the account name that's doing the selecting
  
new PlayerListOption("Summon") {
    
doSummon(selection,selector);
  }
}
function 
doSummon(selectionselector) {
  
//do summon stuff here

That would be awesome! It would be cool to also edit the current ones ,say, make profile open your own scripted profile which may add more information while hiding other (such as level )
Reply With Quote