User Control Panel
Advertisements
HELP US, HELP YOU!
Author
Message
purcelly God Like Joined: 10 Jun 2004Posts: 560 Location: North West, England
Posted: Sun Jan 23, 2005 11:58 am Post subject:
so far i have this Quote: sub slots { my ($bot,$self, $user, $name, $msg, $color) = @_; #open our file my $filename = "stuff/quotes/slots.txt"; open (FILE, "< $filename") or die "Could not open $filename"; #load the lines into a array my @lines = ; #close the file close (FILE); #remove any extra lines chomp (@lines); #get our random line my $str = $lines[int(rand(scalar(@lines)))]; #return our line return "slot Symbols:\n$str"; } { Category => 'Casino', Description => 'Play slots', Usage => '!slots', };
And slots.txt is this Quote: (xx) (O) +o( :-# < ) (*lazy*) (n)
can you tell me what i would need to add/remove to make it choose 3 of them randomly and if they pick 3 same the person gets points say 5 points? -------------------------- did i post in the right place?
Back to top
Dazzy Agent Joined: 09 Jan 2004Posts: 1731
Posted: Sun Jan 23, 2005 12:25 pm Post subject:
Try taking a look at mine HERE It does most things....use it to learn :rolleyes:
Back to top
purcelly God Like Joined: 10 Jun 2004Posts: 560 Location: North West, England
Posted: Sun Jan 23, 2005 12:28 pm Post subject:
cheers dazzy that helped -------------------------- whiel i have a post here will andromeda commands work on evolution?
Back to top
Dazzy Agent Joined: 09 Jan 2004Posts: 1731
Posted: Sun Jan 23, 2005 12:39 pm Post subject:
Just slight modification, the hash at the top and any settings ect..
Back to top
purcelly God Like Joined: 10 Jun 2004Posts: 560 Location: North West, England
Posted: Sun Jan 23, 2005 12:50 pm Post subject:
so to make them work just remove a hash and change like the menu settings/usage etc...
Back to top
Dazzy Agent Joined: 09 Jan 2004Posts: 1731
Posted: Sun Jan 23, 2005 12:59 pm Post subject:
QUOTE(purcelly-tech @ Jan 23 2005, 12:50 PM)
so to make them work just remove a hash and change like the menu settings/usage etc...
Dont remove it , replace it with it, its the varibls it recieves (my ($self,$user.....) = @_ Copy it from another evolution command and yes all the settings...
Back to top
purcelly God Like Joined: 10 Jun 2004Posts: 560 Location: North West, England
Posted: Sun Jan 23, 2005 1:56 pm Post subject:
ok cheers
Back to top
purcelly God Like Joined: 10 Jun 2004Posts: 560 Location: North West, England
Posted: Sun Jan 23, 2005 2:01 pm Post subject:
ok cheers dazzy ------------------ off topic again ----------------- when running andromeda to see what its like i get this Quote: Starting now... SERVER ERROR : Empty event received from server : ''
and when i try to talk to the bot using blab it doesnt respond also it doesnt repsond when using commands like !menu
Back to top
darkmonkey The Merovingian Joined: 18 Apr 2004Posts: 2557 Location: London, England votes : 7
Posted: Sun Jan 23, 2005 2:25 pm Post subject:
If you know it's offtopic, then why, instead of double posting, don't you go and make a new topic? "SERVER ERROR : Empty event received from server : '' is meant to appear, and it is likely that that is not what is causing your brain (or the bot's) to not work. Make sure you didn't change any vital coding . _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
purcelly God Like Joined: 10 Jun 2004Posts: 560 Location: North West, England
Posted: Sun Jan 23, 2005 2:35 pm Post subject:
no i havnt edited anything just set-up the bot i had this problem last time i used andromeda and never got it sorted out
Back to top
button79 Newbie Joined: 01 Jan 2006Posts: 5
Posted: Sun Jan 01, 2006 9:45 pm Post subject: Why
Dazzy wrote: Try taking a look at mine
And why the hell would one want to do something like that...please tell me....
Back to top
Cer Upgraded Agent Joined: 03 Feb 2004Posts: 3776 Location: Michigan votes : 4
Posted: Sun Jan 01, 2006 9:49 pm Post subject: Re: Why
button79 wrote: Dazzy wrote: Try taking a look at mine
And why the hell would one want to do something like that...please tell me....
For fun? For practice, maybe? People don't experiment with programming by creating huge 4 MB projects now do they?
And stop posting so much useless stuff, this topic is ancient, you're just trying to up your post count and it's getting old. Quality over quantity, 100 posts is nothing if they are just pointless spam. _________________ Current Site (2008) http://www.cuvou.com/
Back to top
darkmonkey The Merovingian Joined: 18 Apr 2004Posts: 2557 Location: London, England votes : 7
Posted: Sun Jan 01, 2006 9:52 pm Post subject:
Cer, it's a spam bot. You can tell by the signature. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Cer Upgraded Agent Joined: 03 Feb 2004Posts: 3776 Location: Michigan votes : 4
Posted: Sun Jan 01, 2006 9:58 pm Post subject:
I wonder how/why the spam bot seems to know what it's talking about, and to quote only part of Dazzy's post... _________________ Current Site (2008) http://www.cuvou.com/
Back to top
mikeo Newbie Joined: 07 May 2005Posts: 38 Location: Amsterdam, The Netherlands
Posted: Mon Jan 02, 2006 9:06 am Post subject:
Cer wrote: I wonder how/why the spam bot seems to know what it's talking about, and to quote only part of Dazzy's post...
I was also thinking that.
I think he is just someone who wants to try and do like a spam bot. Probably he has no life if he doesn't quit with it soon.
Back to top