Yes, this is complicated for a beginner.
Shadow, GetInternalDataByUsername(Username, 0) will get the clan tag of the user that joined.
If you need any help, just ask me what each function does.
Consider this:
'cb
'0.1
'&Clan ban:Vector
'// Add the clans you want banned here.
Const ClanTags = Array("", "", "", "")
Sub cb_Event_UserJoins(Username, Flags, Message, Ping, Product, Level, OriginalStatString)
If InArray(ClanTags, GetInternalDataByUsername(Username, 0)) Then
AddQ "/ban " & Username & " Clan banned"
End If
End Sub
Function InArray(arr, Item)
For i=0 to Ubound(arr)
If Lcase(arr(i)) = Lcase(Item) Then
InArray = True
Exit Function
End If
Next
'// If this line is reached, the user's clan is not banned.
InArray = False
End Function
I don't have the patience to explain exactly how you do this. Please ask me, and I will answer any questions you may have.