07-12-2009, 12:07 PM
|
Script-fu
|
|
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
|
|
I have made the ("-Playerlist").anypmswaiting() a public function so that should return if there are any unread PMs.
The correct format is to use ("-Playerlist").openPMWindow({array of player objects}, bool ismasspm); (note the ismasspm value is ignored if reading a received PM). On the current client this may not always produce an external PM window as currently shown on the Windows client, but the TServerPlayer.openexternalPM(bool display PM) function doesn't work properly on Mac or Linux I don't think (where the scripted playerlist is used already).
In the next client the scripted playerlist windows are all external by default anyway. Tig has also made some changes to the scripted playerlist in an attempt to make it more like the Windows one (which is currently uploaded on Login 2). |
__________________
|
|
|