Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Feature request
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-14-2007, 03: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:
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

__________________

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
  #2  
Old 07-14-2007, 08: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:
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 )
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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