View Single Post
  #1  
Old 07-14-2007, 04:58 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Custom playerlist functions

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

__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote