16-09-2008, 12:05 AM
So then this should work, correct? Thanks for your help. And it'll check if they have the item that is number 200 right?
(this is in modGameLogic in the Client)
(this is in modHandleData in the server)
(this is in modGameLogic in the Client)
Code:
' AIDA command
If Mid$(MyText, 1, 5) = "/aida" Then
MyText = Mid$(MyText, 5, Len(MyText) - 4)
Call SendData(CAida & END_CHAR)
End If
MyText = ""
Exit Sub
End If
(this is in modHandleData in the server)
Code:
' :::::::::::::::::
' :: AIDA Packet ::
' :::::::::::::::::
Case CAida
If HasItem(Index, 200) Then
Call Aida(Index)
Exit Sub