View Single Post
  #2  
Old 05-26-2012, 09:44 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
HTML Code:
enablefeatures(int flags)		 Enable/disable client features
Flags can consist of:

Value	Description
1	 M key (map)
2	 P key (pause)
4	 Q key (weapon select)
8	 R key (show ratings)
0x10	 S+A key combination for dropping items
0x20	 S+D key combination for switching weapons
0x40	 TAB key (if disabled then you cannot switch to the chat field with TAB)
0x80	 Display of chat text
0x100	 Display of the hearts over player heads
0x200	 Display of nicknames
0x400	 Toall/PM-icons on the minimap
0x800	 Right-click on players opens their profile
0x1000	 Emoticons (disable it if you want to do other stuff with control+keys)
0x2000	 Alt+5 for making snapshots (deprecated)
0x4000	 Alt+8/9 for zooming (deprecated)
0x8000	 Allows F2 output (savelog()/echo())
allfeatures	 All of the previously stated feature flags enabled
http://www.graal.net/index.php/Creat.../Script/Client

You can disable unstick me by checking if the chat bar contains unstick me or unstuck me and clear the chat bar text.

PHP Code:
function ChatBar.onAction() {
  if (
ChatBar.text == "unstick me" || ChatBar.text == "unstuck me") {
    
ChatBar.text "That feature is disabled!";
  }

Reply With Quote