Graal Forums

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

coreys 07-14-2007 04: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:
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



Twinny 07-14-2007 09: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:
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 :D)


All times are GMT +2. The time now is 10:44 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.