User Control Panel
Advertisements

HELP US, HELP YOU!

Shoot Command

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Code Help
View unanswered posts
Author Message
chaos
Member
Member


Joined: 25 Mar 2004
Posts: 100

Reputation: 27.8Reputation: 27.8Reputation: 27.8

PostPosted: Fri Apr 30, 2004 12:57 am    Post subject: Reply with quote

Hey Im Thinking of Making a Shoot Command So if you Type !shoot (Email) it will Say SOmthing like Ouch:

*lazy*: !Shoot Naughty_Lamb@msn.com
Bot: Sorry naughty_lamb@hotmail.com you have been Shot by (Email) Type !shoot (email) to Shoot back!

LOL

If you Can Help Thanks:)
Back to top
Tony_shu
God Like
God Like


Joined: 12 Nov 2003
Posts: 624

Reputation: 42.9Reputation: 42.9Reputation: 42.9Reputation: 42.9

PostPosted: Fri Apr 30, 2004 1:14 am    Post subject: Reply with quote

That has already been made.

Search through the forum for "fight command". Its basically exactly what you want. If there isn't any command that says "shoot" specifically, then just download one of the fight commands...and change it so it says shoot & whatever you want!

Have fun with it...& next time try searching the forums. With so many users, anything a new program may think of doing, has an issue with, or needs help with...has probably already been done/discussed here Very Happy

_________________
Anthony Arslan
@-Squared Enterprises
MacroHard Corporation
Back to top
Trebe
Young One
Young One


Joined: 23 Mar 2004
Posts: 58
Location: Computer Desk, My House, Alberta, Canada
Reputation: 27Reputation: 27Reputation: 27

PostPosted: Fri Apr 30, 2004 2:01 am    Post subject: Reply with quote

Here, I didn't know if there was/wasn't one on here so this should hold
Code:
sub kick<br />{<br />  my ($bot, $self, $user, $msg) = @_;<br />  <br /><br />  if ($msg ne '')<br />  {<br />     my $socknum = $self->{Socket}->fileno;<br />     <br />     $bot->{msn}->call($msg, "$user has shot you. Shoot him/her back by typing $bot->{settings}->{CommandChar}shoot $user");<br />     <br />     return "I will now shoot $msg.";<br />  }<br />  else<br />  {<br />     return "Try $bot->{settings}->{CommandChar}shoot email";  }<br />}<br /><br />{<br />   Category    => 'Fight',<br />   Description => 'Use this command to attack emails. ',<br />};
Back to top
chaos
Member
Member


Joined: 25 Mar 2004
Posts: 100

Reputation: 27.8Reputation: 27.8Reputation: 27.8

PostPosted: Fri Apr 30, 2004 3:06 am    Post subject: Reply with quote

K

Thanks
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Fri Apr 30, 2004 1:08 pm    Post subject: Reply with quote

is there one for maya? I couldn't find the fight command.
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
farkie
God Like
God Like


Joined: 15 Nov 2003
Posts: 673

Reputation: 3.4Reputation: 3.4Reputation: 3.4

PostPosted: Fri Apr 30, 2004 3:01 pm    Post subject: Reply with quote

Here you go Smile ill make one now...

Code:
<br />if ($msg=~/^shoot (.*)/) {<br />&send($self,"I will now shoot $1.","$username");<br />    $msn->call("$1","$username Has shot you, type !shoot $username to shoot them back!");<br />}<br />
Back to top
jeanhub
Almost An Agent
Almost An Agent


Joined: 14 Feb 2004
Posts: 1138

Reputation: 50.7

PostPosted: Fri Apr 30, 2004 9:55 pm    Post subject: Reply with quote

*looks like bot2k3 whisper command <_<*
Back to top
Trebe
Young One
Young One


Joined: 23 Mar 2004
Posts: 58
Location: Computer Desk, My House, Alberta, Canada
Reputation: 27Reputation: 27Reputation: 27

PostPosted: Fri Apr 30, 2004 9:57 pm    Post subject: Reply with quote

What difference does it make?
Back to top
chaos
Member
Member


Joined: 25 Mar 2004
Posts: 100

Reputation: 27.8Reputation: 27.8Reputation: 27.8

PostPosted: Thu May 27, 2004 2:31 am    Post subject: Reply with quote

*lazy*What Different
Back to top
..::BIGmouth( )::..
God Like
God Like


Joined: 05 Feb 2004
Posts: 801

Reputation: 44.1Reputation: 44.1Reputation: 44.1Reputation: 44.1

PostPosted: Thu May 27, 2004 4:22 am    Post subject: Reply with quote

The tell is like bot2k3 whisper command.. Who really cares..
Back to top
85thday
Senior Member
Senior Member


Joined: 20 Jan 2004
Posts: 260

Reputation: 33.3Reputation: 33.3Reputation: 33.3

PostPosted: Thu May 27, 2004 9:56 am    Post subject: Reply with quote

trebe that will not work, you have the sub as kick here you go

Code:
<br />sub shoot<br />{<br /> my ($bot, $self, $user, $msg) = @_;<br /> <br /><br /> if ($msg ne '')<br /> {<br />    my $socknum = $self->{Socket}->fileno;<br />    <br />    $bot->{msn}->call($msg, "$user has shot you. Shoot him/her back by typing $bot->{settings}->{CommandChar}shoot $user");<br />    <br />    return "I will now shoot $msg.";<br /> }<br /> else<br /> {<br />    return "Try $bot->{settings}->{CommandChar}shoot email";  }<br />}<br /><br />{<br />  Category    => 'add',<br />  Description => 'Use this command to shoot some one. ',<br />};<br />
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Code Help All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group