Author Topic: Making bot wisp..  (Read 982 times)

zammy

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://kaspar.risk.ee
Making bot wisp..
« on: January 05, 2009, 08:54:17 AM »
I want my bot to wisper a command to my hosting bot right after the game is full and ready.

So heres the original code... Now after the script has made bot say that the game has began i want him to wisper         /w EstL-Hosting !pub & GN &
Code: [Select]
hlLeague.CreateNormalGame GN, Host, Mode
  hlLeague.SignInPlayer hlLeague.GetSelectedGame, Username
  Dsp dspID, "A " & HL_CLAN & " game is begginning! | GN: " & GN & " | Host: " & Host & " | Mode: " & Mode, Username, vbLB
  HL_VS = 10
End Sub


Is it possible and if so then what word do i have to put in front of it   i see this in the code "Dsp dspID,"  but it wont work, im newb in this still

ArticWolve

  • Global Moderators
  • Hero Member
  • *****
  • Posts: 636
    • View Profile
    • http://
Making bot wisp..
« Reply #1 on: January 05, 2009, 10:12:52 AM »
I believe that to achieve that you would only need to change it slightly:
Code: [Select]
hlLeague.CreateNormalGame GN, Host, Mode
  hlLeague.SignInPlayer hlLeague.GetSelectedGame, Username
  Dsp dspID, "A " & HL_CLAN & " game is begginning! | GN: " & GN & " | Host: " & Host & " | Mode: " & Mode, Username, vbLB
  AddQ "/w EstL-Hosting (What you want to whisper goes here)"
  HL_VS = 10
End Sub
So change "(What you want to whisper goes here)" to what you want your bot to whisper. So if you wanted your bot to whisper "!pub & GN &" then the AddQ would be:
Code: [Select]
AddQ "/w EstL-Hosting !pub & GN &"
« Last Edit: January 05, 2009, 10:14:37 AM by Shadow »
Quote
Darker then the darkest shade of night...
    A Rebel at heart... A criminal by mind
    All in the eyes of the beholder... is the truth to life
    But Th---The Only---The One and Only True Master of Death is the Reaper itself
[/color]
[/color]
[div align=\'center\'][img]http://img261.imageshack.us/img261/9411/mydesktopce6.jpg\" border=\"0\" class=\"linked-sig-image\" /][img]http://www.danasoft.com/sig/238153.jpg\" border=\"0\" class=\"linked-sig-image\" /][/div]                     [div align=\'center\']    Click ME for my forums. You know you want to click ME. Come on CLICK ME DAMN IT! But don't click THIS!![/div]

zammy

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://kaspar.risk.ee
Making bot wisp..
« Reply #2 on: January 05, 2009, 10:18:00 AM »
Tnx it works, but i can always use the cmd AddQ   to make the bot print a message i want?

Hero

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • View Profile
    • http://rev7.net
Making bot wisp..
« Reply #3 on: January 05, 2009, 01:27:13 PM »
AddQ Text -- can send messages to battle.net, these do not go through the stealthbot command processor though/

Dsp Target, Text, User, Color -- also sends a message

Target:
1 = Normal
2 = Emote
3 = Whisper
4 = AddChat (Message inside the bot)

Some Colors:
vbGreen
vbRed
vbYellow
vbTeal

Example: Dsp 3, "This is a whisper to bob", "Bob", vbGreen
« Last Edit: January 05, 2009, 01:27:55 PM by Hero »
Hero
AKA: HeroAssasin and Mike
- - - - -  - - -
Visit Clan R77
- - - - -  - - -
Please do not PM me with random questions. That is what I made these forums for.

Noob ~Vector