View Single Post
  #5  
Old 07-12-2009, 12:07 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
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).
__________________
Skyld
Reply With Quote