Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Hero
« on: December 07, 2008, 03:02:49 PM »

I will add that  when I can get around to it, until  then you can open the Hosts.txt  file located in your bot folder (Settings > Edit Files.. > Open Bot Folder) and manually remove people.
Posted by: speedy
« on: December 06, 2008, 06:08:14 AM »

Oo thanks
............ I have absolutely forgotten it is possible to add a command delhost
Posted by: Hero
« 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.
Posted by: speedy
« on: December 05, 2008, 09:00:45 AM »

I do not know as to edit posts, on it have written 2 posts
Posted by: ArticWolve
« 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.
Posted by: speedy
« 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
Posted by: speedy
« 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
Posted by: Hero
« 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
Posted by: ArticWolve
« 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 ><
Posted by: speedy
« 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
Posted by: Vector
« on: December 04, 2008, 10:25:51 AM »

Posted by: ArticWolve
« 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?
Posted by: speedy
« on: December 03, 2008, 09:58:28 PM »

I form Russia!
I do not have plugin
Posted by: Hero
« on: December 03, 2008, 03:30:57 PM »

You didn't say what language you speak..

Please post the plugin here.
Posted by: speedy
« on: December 03, 2008, 12:46:09 AM »

plugin for  StealthBot v2.6 ^^

plugin for  StealthBot v2.6 ^^