Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Feature request (https://forums.graalonline.com/forums/forumdisplay.php?f=194)
-   -   Custom playerlist functions (https://forums.graalonline.com/forums/showthread.php?t=75394)

coreys 07-14-2007 03:58 AM

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:
PHP 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



Twinny 07-14-2007 08:54 AM

Quote:

Originally Posted by coreys (Post 1329589)
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:
PHP 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 :D)


All times are GMT +2. The time now is 10:54 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.