egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Random request

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Thu Apr 02, 2009 7:34 pm    Post subject: Random request Reply with quote

Hey, I need a small script. It picks the random request

like:

!Pot Allyn vs. Xabriel
<Bot> Pot selected for Allyn vs. Xabirel: Pot #1

(Options are Pot #1, Pot #2 or Pot #3)

syntax is: !Pot Player1 vs. Player2

If not: Bot will write: correct syntax is: !Pot Player1 vs. Player2

after the pot is selected, the user can type !Teams

(Will pick a random team for Allyn and Xabriel according to his pot, if Pot #1 was selected it will pick a random team for Allyn from pot1.txt and a random team from pot1.txt - the players can't randomlly get the same team..)

Anyone please?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber