Gaming Community
Forum
 
Go Back   D3scene > Hot Games > Warcraft 3 forum > Warcraft 3 Tools > Stealthbot > Stealthbot Plugins
Register Blogs Live view Downloads Marketplace FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

>> AUTO INVITE CLAN PLUG <<

This is a discussion on >> AUTO INVITE CLAN PLUG << within the Stealthbot Plugins forum part of the Stealthbot category; Join Clan PluG Default settings: Clan : 1mba Minimum Wins : 30 Minimum Percent : 50 % Minumum Level = ...


Welcome on D3scene.com! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with 70000 other registered members. Downloads, user profiles and some forums can only be seen by registered members. After you create your free account you will be able to customize many options, you will have the full access to new hacks, latest cheats and last but not least will see no advertisements at all. We would love to see you around in our community!
Closed Thread
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-23-2007, 01:40 PM
T[X]AS's Avatar
Premium Member

 
Join Date: Feb 2007
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 137
Rep Power: 3
T[X]AS will become famous soon enoughT[X]AS will become famous soon enough
>> 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:
'joinc
'1.0
'By DrOiD @ T[X]AS

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

'>>>>>>> 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'M BuSy  "
	  exit sub
	end if
    
    '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)

    '*** 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

	'******* 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


    'Wins Condition
    if cint(twins) < MinWinS then
      addq "/emote ** " & username & " You need " & minwins & " Wins To enter clan " & myclan
      exit sub
    end if

    'Percent Condition
    if cint(tpercent) < MinPercent then
      addq "/emote ** " & username & " You need " & minpercent & " % To enter clan " & myclan
      exit sub
    end if
    
    '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
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
  #2  
Old 04-23-2007, 04:54 PM
Nsx's Avatar
Nsx Nsx is offline
Member

 
Join Date: Mar 2007
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 3
Nsx is an unknown quantity at this point
Send a message via ICQ to Nsx
Re: >> AUTO INVITE CLAN PLUG <<

Yeah !! It's work !! COOL !! thx ! But man, can u change count of wins to lvl in solo or rt ??? If bot check lvl, that's will be more good !
And now u safelisted on channel clan 1mba with acc: T[X]AS ! thx
  #3  
Old 04-23-2007, 05:20 PM
T[X]AS's Avatar
Premium Member

 
Join Date: Feb 2007
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 137
Rep Power: 3
T[X]AS will become famous soon enoughT[X]AS will become famous soon enough
Re: >> AUTO INVITE CLAN PLUG <<

ok , Donne

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


Test again and post your comment 8)
  #4  
Old 04-23-2007, 05:31 PM
Nsx's Avatar
Nsx Nsx is offline
Member

 
Join Date: Mar 2007
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 3
Nsx is an unknown quantity at this point
Send a message via ICQ to Nsx
Re: >> AUTO INVITE CLAN PLUG <<

Yep !! COOL !! It's work !!!
!!
  #5  
Old 04-26-2007, 02:39 PM
Newbie

 
Join Date: Apr 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 3
Fersu is an unknown quantity at this point
Re: >> AUTO INVITE CLAN PLUG <<

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


:-X
  #6  
Old 04-26-2007, 03:47 PM
Nsx's Avatar
Nsx Nsx is offline
Member

 
Join Date: Mar 2007
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 3
Nsx is an unknown quantity at this point
Send a message via ICQ to Nsx
Re: >> AUTO INVITE CLAN PLUG <<

Man, search it on forum, try to reinstall plug sist or your SB
  #7  
Old 04-26-2007, 04:47 PM
T[X]AS's Avatar
Premium Member

 
Join Date: Feb 2007
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 137
Rep Power: 3
T[X]AS will become famous soon enoughT[X]AS will become famous soon enough
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...
  #8  
Old 04-29-2007, 08:17 PM
Newbie

 
Join Date: Apr 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 3
Fersu is an unknown quantity at this point
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  
Old 04-29-2007, 11:39 PM
T[X]AS's Avatar
Premium Member

 
Join Date: Feb 2007
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 137
Rep Power: 3
T[X]AS will become famous soon enoughT[X]AS will become famous soon enough
Re: >> AUTO INVITE CLAN PLUG <<

and if player have > 300 wins?

Think all conditions that players can have Before post plz
  #10  
Old 04-30-2007, 12:09 AM
Just-Poison's Avatar
Sugar And Spice

 
Join Date: Apr 2007
Location: australia
Posts: 966
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 189
Rep Power: 3
Just-Poison has a spectacular aura aboutJust-Poison has a spectacular aura about
Send a message via MSN to Just-Poison Send a message via Skype™ to Just-Poison
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!!
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 10:16 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
vBulletin style developed by Transverse Styles