Author Topic: Who a host on the channel  (Read 2059 times)

speedy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Who a host on the channel
« on: December 02, 2008, 09:21:54 AM »
To me I am difficult to tell badly I know eng
access addhost = 20
acces  host = 0


[20:06:42] <me> .addhost player1
[20:06:43] <Bot player1 host>
[20:06:54] <me> .addhost player2
[20:06:54] <Bot player2 host>
[20:07:20] <me> .addhost player3
[20:07:20] <bot player3 host>
[20:07:31] <me> .addhost player4
[20:07:31] <Bot player4 host>
[20:07:39] -- player1 has left the channel.
[20:07:40] -- player2 has left the channel.
[20:10:05] <me> .host
[20:11:52] <Bot Host on the channel  player3 :: player4>
[20:12:42] -- player1  has joined the channel
[20:13:05] <me> .host
[20:13:52] <Bot Host on the channel  player3 :: player4 :; player1>
[20:14:40] -- player1 has left the channel.
[20:14:42] -- player2 has left the channel.
[20:14:46] -- player3 has left the channel.
[20:14:49] -- player4 has left the channel.
[20:15:05] <me> .host
[20:11:52] <Bot  There is no host on the channel>


I will add a host when with I ask a bot who tells a host on the channel

Hero

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • View Profile
    • http://rev7.net
Who a host on the channel
« Reply #1 on: December 02, 2008, 08:07:06 PM »
What language do you speak?

What script/plugin are  you using?
« Last Edit: December 02, 2008, 08:07:26 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

speedy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Who a host on the channel
« Reply #2 on: December 03, 2008, 12:46:09 AM »
plugin for  StealthBot v2.6 ^^

plugin for  StealthBot v2.6 ^^

Hero

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • View Profile
    • http://rev7.net
Who a host on the channel
« Reply #3 on: December 03, 2008, 03:30:57 PM »
You didn't say what language you speak..

Please post the plugin here.
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

speedy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Who a host on the channel
« Reply #4 on: December 03, 2008, 09:58:28 PM »
I form Russia!
I do not have plugin

ArticWolve

  • Global Moderators
  • Hero Member
  • *****
  • Posts: 636
    • View Profile
    • http://
Who a host on the channel
« Reply #5 on: December 04, 2008, 06:41:03 AM »
This is a request Hero, not a modification of an existing one. (Didn't Read all the posts.) He basically wants a script that can manage multiple games:

Game1
A1
B1
C1
D1
Etc
Game 2
A2
B2
C2
Etc
Etc...

Basically, he wants a script that tells what players are hosts for games.

Edit: Doesn't one of Vector's plugins do this already?
« Last Edit: December 04, 2008, 09:31:50 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]

Vector

  • Administrator
  • Hero Member
  • *****
  • Posts: 550
    • View Profile
    • http://clanmage.phost.ws
Who a host on the channel
« Reply #6 on: December 04, 2008, 10:25:51 AM »
I am an Unofficial StealthBot Technician, an Unofficial StealthBot scripter, among other things. See my about page for more info.

Quote from: ArticWolve
Sorry I went down. Had internet problems with a cracker-jack-licensed driver hitting my internet pole (about 8 of them fell) and drooping my phone and electricity. Sorry ><

Rev77.net Plugins Manager

Proud host of Vector.no-ip.info | VectorJBLS.no-ip.org Status: [img]http://rev77.net/ServerCheck/check.asp?query=check&server=VectorJBLS.no-ip.org_status.png\" border=\"0\" class=\"linked-image\" /]

Shito-Ryu Karate-Do Genbu-Kai Rank: 8th Kyu (White belt, one stripe)

Rev77.Net Remote Support (Double-Click my name only if you were told to)

If the above link doesn't work, or if you use Vista, try this alternate link.

Noob ~Vector

speedy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Who a host on the channel
« Reply #7 on: December 04, 2008, 01:58:27 PM »
There are no you have not understood. I want that the bot was told by whom from hosts is now on the channel!
It is necessary to me that the bot was told by whom can хостить from the present


Quote from: speedy
There are no you have not understood. I want that the bot was told by whom from hosts is now on the channel!
It is necessary to me that the bot was told by whom can hosts from the present

ArticWolve

  • Global Moderators
  • Hero Member
  • *****
  • Posts: 636
    • View Profile
    • http://
Who a host on the channel
« Reply #8 on: December 04, 2008, 02:00:03 PM »
okay, what he wants is just a list of people who are still in channel that are hosting games ><
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]

Hero

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • View Profile
    • http://rev7.net
Who a host on the channel
« Reply #9 on: December 04, 2008, 03:01:39 PM »
Here, if you want anything changed just say so
Code: [Select]
'hol
'1.0
'&Host List:Hero:Lists hosts in the channel

Private hol_Access_AddHost
Private hol_Access_Hosts
Private hol_Command_AddHost
Private hol_Command_Hosts

hol_Command_AddHost = "addhost"
hol_Access_AddHost = 20

hol_Command_Hosts = "host"
hol_Access_Hosts = 0

Sub hol_Event_Usertalk(userName, userFlags, textRecieved, userPing)
  Dim objFSO, textStream, accessNum, accessFlags, out, textContent
  Set  objFSO = CreateObject("Scripting.FileSystemObject")

  GetDBEntry userName, accessNum, accessFlags

  If LCase(Left(Trim(textRecieved), Len(BotVars.Trigger & hol_Command_AddHost))) = LCase(BotVars.Trigger & hol_Command_AddHost) AND CInt(accessNum) >= CInt(hol_Access_AddHost) Then
    If UBound(Split(textRecieved)) > 0 Then
      Set textStream = objFSO.OpenTextFile(BotPath & "HostList.txt", 8, True)
      textStream.WriteLine Split(textRecieved)(1)
      textStream.Close
      Dsp 3, "Added host.", Username, vbGreen
    Else
      Dsp 3, "Please specify a user to add as a host.", Username, vbGreen
    End If
  ElseIf LCase(Left(Trim(textRecieved), Len(BotVars.Trigger & hol_Command_Hosts))) = LCase(BotVars.Trigger & hol_Command_Hosts) AND CInt(accessNum) >= CInt(Replace(hol_Access_Hosts, 0, -1)) Then
    Set textStream = objFSO.OpenTextFile(BotPath & "HostList.txt", 1, True)
    If Not textStream.AtEndOfStream Then
      textContent = Split(textStream.ReadAll, vbNewLine)
      For i = 0 To UBound(textContent)
        For j = 1 To GetInternalUserCount()
          If LCase(textContent(i)) = LCase(GetNameByPosition(j)) Then
            out = out & GetNameByPosition(j) & ", "
          End If
        Next
      Next
    End If
    textStream.Close
    If out = vbNullString Then
      AddQ "There are no hosts in the channel."
    Else
      AddQ "Hosts: " & Left(out, Len(out) - 2)
    End If
  End If
End Sub
« Last Edit: December 05, 2008, 01:47:29 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

speedy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Who a host on the channel
« Reply #10 on: December 05, 2008, 03:24:39 AM »
[14:24:13] <sp.speedy> .addhost sp.speedy
 [14:24:13] UserTalk Call Error On File> D:\Все о StealthBot\Dpgs\StealthBot-ligа-for.DPGs\plugins\hol.plug
 [14:24:13] Error Number: 13   Description: Type mismatch
 [14:24:17] <sp.speedy> .hosts
 [14:24:17] UserTalk Call Error On File> D:\Все о StealthBot\Dpgs\StealthBot-ligа-for.DPGs\plugins\hol.plug
 [14:24:17] Error Number: 13   Description: Type mismatch

speedy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Who a host on the channel
« Reply #11 on: December 05, 2008, 04:41:08 AM »
[15:37:57] <sp.speedy> .host
 [15:37:57] UserTalk Call Error On File> D:\Все о StealthBot\Dpgs\StealthBot-ligа-for.DPGs\plugins\hol.plug
 [15:37:57] Error Number: 13   Description: Type mismatch

ArticWolve

  • Global Moderators
  • Hero Member
  • *****
  • Posts: 636
    • View Profile
    • http://
Who a host on the channel
« Reply #12 on: December 05, 2008, 07:42:47 AM »
Please do not double post. Hero is in the states like most of us here (I think...) so it takes time for him to get on due to his personal life. He will be on in around 6 hours if that...... (Estimated time) so just wait.
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]

speedy

  • Newbie
  • *
  • Posts: 19
    • View Profile
Who a host on the channel
« Reply #13 on: December 05, 2008, 09:00:45 AM »
I do not know as to edit posts, on it have written 2 posts

Hero

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • View Profile
    • http://rev7.net
Who a host on the channel
« Reply #14 on: December 05, 2008, 01:48:25 PM »
Quote from: speedy
[14:24:13] <sp.speedy> .addhost sp.speedy
 [14:24:13] UserTalk Call Error On File> D:\Все о StealthBot\Dpgs\StealthBot-ligа-for.DPGs\plugins\hol.plug
 [14:24:13] Error Number: 13   Description: Type mismatch
 [14:24:17] <sp.speedy> .hosts
 [14:24:17] UserTalk Call Error On File> D:\Все о StealthBot\Dpgs\StealthBot-ligа-for.DPGs\plugins\hol.plug
 [14:24:17] Error Number: 13   Description: Type mismatch


Quote from: speedy
[15:37:57] <sp.speedy> .host
 [15:37:57] UserTalk Call Error On File> D:\Все о StealthBot\Dpgs\StealthBot-ligа-for.DPGs\plugins\hol.plug
 [15:37:57] Error Number: 13   Description: Type mismatch
Sorry, I made a minor error that I did no catch. Fixed, updated my post.


Quote from: Shadow
Please do not double post. Hero is in the states like most of us here (I think...) so it takes time for him to get on due to his personal life. He will be on in around 6 hours if that...... (Estimated time) so just wait.
He was saying different stuff, so no  problem.
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