Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-17-2007, 09:02 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Added a way for adding your own menu entries to the scripted player list, some example on Zone:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  (
"-Playerlist").addCustomMenuEntry(1000,"Kick");
}

function 
PlayerList_Menu.onSelect(entryid,text) {
  
temp.pl = ("-Playerlist").menuplayers[0];
  switch (
entryid) {
    case 
1000: {
        
triggeraction(0,0,"serverteamchat","kick " temp.pl.account);
        break;
      }
  }

Reply With Quote
  #2  
Old 11-17-2007, 10:30 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Stefan View Post
Added a way for adding your own menu entries to the scripted player list, some example on Zone:
Thats nice and all, but what I'm really interested in is being able to script the external GUIs to make improvements or tools for administration.

The first thing I'm doing to do is make the comment system more organized so its not just a mass of text
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:02 PM.


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