Help with a script please!
#6
(04 Jan 15, 04:26AM)foa.trionkali Wrote: Alright thanks DrauL  
Yes music I tried that, wouldn't work. Thanks  though  :-)
Unless I did it wrong of course,  this is my first experience with cube script.

It can be done, but you must keep present that the menus are static so you cant change the text on it.
You must destroy the menu and then create it again.

alias create_whoismenu [
   delmenu player_list
   newmenu player_list
   loop i (+ (highestcn) 1) [
       if (isclient $i) [
           menuitem (concatword (c 3) (player $i name)) (format "whois %1" $i)
       ]
   ]
]


bind KEY [ create_whoismenu; showmenu player_list ]
Thanks given by:


Messages In This Thread
Help with a script please! - by foa.trionkali - 04 Jan 15, 02:17AM
RE: Help with a script please! - by DrauL - 04 Jan 15, 02:44AM
RE: Help with a script please! - by Mousikos - 04 Jan 15, 03:32AM
RE: Help with a script please! - by PhaNtom - 04 Jan 15, 03:40AM
RE: Help with a script please! - by Jpablon - 04 Jan 15, 05:28AM
RE: Help with a script please! - by MPx - 13 Jan 15, 08:55PM