>> AUTO INVITE CLAN PLUG <<

This is a discussion on >> AUTO INVITE CLAN PLUG << within the Warcraft 3 Hacks, bots and tools board part of the Warcraft 3 forum category; Join Clan PluG Default settings: Clan : 1mba Minimum Wins : 30 Minimum Percent : 50 % Minumum Level = ...

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    T[X]AS's Avatar
    T[X]AS is offline Premium Member
    Array
    Join Date
    Feb 2007
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    138

    >> AUTO INVITE CLAN PLUG <<

    Join Clan PluG

    Default settings:

    Clan : 1mba
    Minimum Wins : 30
    Minimum Percent : 50 %
    Minumum Level = 15

    Game: TFT
    GateWay : Northend

    This plug Auto invite a player who type .Join in clan channel , if he pass the required stats.
    If you wanna change the stats , modifi this:

    private const MyClan = "1MBA"
    private const MinLevel = 15
    private const MinWinS = 30
    private const MinPercent = 50
    private const GameTyPe = "TFT"





    Code:
    &#39;joinc
    &#39;1.0
    &#39;By DrOiD @ T[X]AS
    
    &#39;///// CONDITIONS ///////////
    private const MyClan = "1MBA"
    private const MinWinS = 30
    private const MinPercent = 50
    private const GameTyPe = "TFT"
    private const MinLevel = 15
    
    &#39;>>>>>>> Sub Events <<<<<<<<<<
    
    Sub joinc_event_UserTalk(Username, Flags, Message, Ping)
    
    
    If Left(lcase(message),6) = botvars.trigger & "join" then
    
    	addq "/emote ** Wait... Analizing Acc... [ " & username & " ] **"
    	tag = LCase(GetInternalDataByUsername(Username, 0))
    
    	if ucase(tag) = ucase(MyClan) then
    		Addq " >.< YOU ARE IN CLAN " & myclan & " ! " & username & " !!"
    		exit sub
    	end if
    	if ucase(tag) <> "" then
            Addq " >.< Leave the clan " & tag & " ! " & username & " !! If you wanna Join..."
            exit sub
    	end if
    
    	if ScINet.stillExecuting then
    	  addq username & "  >>>> SorrY <<<<      ^_^ I&#39;M BuSy  "
    	  exit sub
    	end if
        
        &#39;Web Profile
        if gametype = "ROC" then Content = scinet.openurl("http://www.battle.net/war3/ladder/wa...ame="&Username)
        if gametype = "TFT" then Content = scinet.openurl("http://www.battle.net/war3/ladder/w3...ame="&Username)
    
        &#39;*** TesT if WeB is DowN ***
        posErroR = instr(content, "Error Encountered")
    
        if poserror > 0 then
         Addq "/emote >> BatTLe.NeT Profile WeB is DoWN -> I cant TesT Your Acc << Ask to Shaman..."
         exit sub
        end if
    
    	&#39;******* User StatS ******
    	pos1 = instr(content, "Total")
    	pos1 = instr(pos1,content,"rankingRow")
    	pos1 = instr(pos1, content, ">")+1
    	pos2 = instr(pos1, content, "<")
    	twins = mid(content, pos1, pos2-pos1)
    	pos1 = instr(pos1, content, "%")-15
    	pos1 = instr(pos1, content, ">")+1
    	pos2 = instr(pos1, content, "<")-2
    	tpercent = mid(content, pos1, pos2-pos1)
    
        UserStat = GetInternalDataByUserName(Username, 5)
        Levelx = Split(UserStat, " ")(2)
    
        if cint(levelx) < MinLeveL then
          addq "/emote ** " & username & " You need Level " & minlevel & " To enter clan " & myclan
          exit sub
        end if
    
    
        &#39;Wins Condition
        if cint(twins) < MinWinS then
          addq "/emote ** " & username & " You need " & minwins & " Wins To enter clan " & myclan
          exit sub
        end if
    
        &#39;Percent Condition
        if cint(tpercent) < MinPercent then
          addq "/emote ** " & username & " You need " & minpercent & " % To enter clan " & myclan
          exit sub
        end if
        
        &#39;All Conditions Passed -> Step : Invite to clan
        addq "/emote Welcome to CLan " & myclan & " " & Username
        addq Command(BotVars.Username, "/invite " & Username, True)
    end if
    end sub

    The plug is not tested , but i think all is ok , Post here your comment when you test iT ;D
    ----------------
    ! DrOiD InSiDe !
    ----------------

  2. #2
    Nsx's Avatar
    Nsx
    Nsx is offline Member
    Array
    Join Date
    Mar 2007
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    Yeah !! It&#39;s work !! COOL !! thx ! But man, can u change count of wins to lvl in solo or rt ??? If bot check lvl, that&#39;s will be more good !
    And now u safelisted on channel clan 1mba with acc: T[X]AS ! thx

  3. #3
    T[X]AS's Avatar
    T[X]AS is offline Premium Member
    Array
    Join Date
    Feb 2007
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    138

    Re: >> AUTO INVITE CLAN PLUG <<

    ok , Donne

    Now bot test: Num Wins , Percent , Clan and Level


    Test again and post your comment 8)
    ----------------
    ! DrOiD InSiDe !
    ----------------

  4. #4
    Nsx's Avatar
    Nsx
    Nsx is offline Member
    Array
    Join Date
    Mar 2007
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    Yep !! COOL !! It&#39;s work !!!
    !!

  5. #5
    Fersu is offline Newbie
    Array
    Join Date
    Apr 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    [123:40] UserTalk Call Error On File> D:\Programas\StealthBot\plugins\Invite.plug
    [123:40] Error Number: 5 Description: Invalid procedure call or argument


    :-X

  6. #6
    Nsx's Avatar
    Nsx
    Nsx is offline Member
    Array
    Join Date
    Mar 2007
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    Man, search it on forum, try to reinstall plug sist or your SB

  7. #7
    T[X]AS's Avatar
    T[X]AS is offline Premium Member
    Array
    Join Date
    Feb 2007
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    138

    Re: >> AUTO INVITE CLAN PLUG <<

    >> battle.net profile web is down, so plug cant get stats from players.. so wait , mb tomorrow will be up again :/

    Anyways Download Again the plug, now Plug test is web is up before get stats...
    ----------------
    ! DrOiD InSiDe !
    ----------------

  8. #8
    Fersu is offline Newbie
    Array
    Join Date
    Apr 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    One idea for obi xD

    Can u add more condition?

    I.E.:
    100 wins =60% Min.
    200 wins =55% Min.
    300 wins =60% Min.

  9. #9
    T[X]AS's Avatar
    T[X]AS is offline Premium Member
    Array
    Join Date
    Feb 2007
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    138

    Re: >> AUTO INVITE CLAN PLUG <<

    and if player have > 300 wins?

    Think all conditions that players can have Before post plz
    ----------------
    ! DrOiD InSiDe !
    ----------------

  10. #10
    Just-Poison's Avatar
    Just-Poison is offline Sugar And Spice
    Array
    Join Date
    Apr 2007
    Location
    Australia where the kangaroos kick ass
    Posts
    1,014
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    235

    Re: >> AUTO INVITE CLAN PLUG <<

    [6:04:10 AM] UserTalk Call Error On File> F:\cool stuff\My Downloads\setups\Diablo 2\plugins\joinclan.txt
    [6:04:10 AM] Error Number: 5 Description: Invalid procedure call or argument

    Same here. Where do we get the plug from? oh my bot has heaps of plugins on it already but do i need one for just this!!
    Matt is my waifu

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •