'////////////////////////////////////////////////////////////////////////
'// FRIENDS LIST FIX FOR 9.4
'// WRITTEN BY: Chriso
'// This will fix the friends list requests for specific clients that do 
'// not fully support SID_FRIENDSLIST.
'////////////////////////////////////////////////////////////////////////

'// Return Script Information
Sub Script(Name, Major, Minor, Build, Author, Commands, Description)
	Name = "Friend List Fix Script"
	Major = 1
	Minor = 0
	Build = 0
	Author = "Chriso"
	Description = "This will fix the friends list requests for specific clients that do not fully support SID_FRIENDSLIST."
End Sub

Sub Event_ServerError(CE)
	If Matches(CE.Message, "* your friends list.") Then
		'// Refresh Friends List
		GetBot.SendFriendsList
	End If
End Sub

Sub Event_ServerInfo(CE)
	If Matches(CE.Message, "* your friends list.") Then
		'// Refresh Friends List
		GetBot.SendFriendsList
	End If
End Sub