quote:
Originally posted by BEWARE^^
that are commands im msn messenger or msg plus
/xslap = just a slap method
/xslapwith = that you slap with the person's nick.
note1: /slap is a quick text
note2: /slapwith isnt a normal command for messenger
and both are mIRC command lines
You obviously know nothing about my plugin, Slapper. Next time, read up and think before you reply.
Choli, I know that both contacts used /nick2 (I'm one of them
). Also, I have no word filters, but my friend has, to change 'Brainz' to 'rich'.
As for ParseCommand:
code:
Public Function ParseCommand(ByVal sCommand As String, ByVal sCommandArg As String, _
ByVal oConversationWnd As Object, ByRef sResult As String) As Boolean
Dim ConvWnd As MessengerAPI.IMessengerConversationWnd
Dim Contacts As MessengerAPI.IMessengerContacts
Dim Victim As MessengerAPI.IMessengerContact
Dim nick As String
Set ConvWnd = oConversationWnd
Set Contacts = ConvWnd.Contacts
Set Victim = Contacts.Item(0)
nick = Victim.FriendlyName
If sCommand = "/xslapver" Then
MsgBox "Slapper Version 1.0", vbOKOnly, "Slapper"
ParseCommand = True
End If
If sCommand = "/xslap" Then
sResult = sCCMeStart + "slaps " + nick + " around a bit with a large trout" + sCCMeEnd
ParseCommand = True
End If
If sCommand = "/xslapwith" Then
If sCommandArg = "" Then
MsgBox "Please specify an object", vbOKOnly, "Slapper"
Else
sResult = sCCMeStart + "slaps " + nick + " around a bit with a " + _
sCommandArg + sCCMeEnd
End If
ParseCommand = True
End If
End Function