Help - Search - Members - Calendar
Full Version: Friend login sound
StealthBot.net > StealthBot > Scripting and Plugins > Script Creation Requests
Fragda
Hi I were just wondering if someone can make a script where it sounds when a friend is signing in.
Wich kind of sound is not important, I just need a notify when they are going online.
Cheers
Ted
The-Black-Ninja
CODE
'friendlogin
'1.0


Sub friendlogin_Event_ServerInfo(Message)

   If InStr(Message, "Your friend ") > 0 AND InStr(Message, " has entered Battle.net.") > 0 Then
      DoBeep 800,100
      DoBeep 600, 100
      DoBeep 300, 100
   End If
End Sub
Fragda
QUOTE(The-Black-Ninja @ Oct 4 2009, 01:54 AM) *

CODE
'friendlogin
'1.0


Sub friendlogin_Event_ServerInfo(Message)

   If InStr(Message, "Your friend ") > 0 AND InStr(Message, " has entered Battle.net.") > 0 Then
      DoBeep 800,100
      DoBeep 600, 100
      DoBeep 300, 100
   End If
End Sub






Thanks alot, sorry I'm a noob at this.. Just adding it in script document dont work, do I have to add a "'//Fires when" tag before the code?



7thAce
No, you should read this topic.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.