|
| Author |
Message |
chaos Member

Joined: 25 Mar 2004 Posts: 100
   
|
Posted: Fri Apr 30, 2004 12:57 am Post subject: |
|
|
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

Joined: 12 Nov 2003 Posts: 624
    
|
Posted: Fri Apr 30, 2004 1:14 am Post subject: |
|
|
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  _________________ Anthony Arslan
@-Squared Enterprises
MacroHard Corporation |
|
| Back to top |
|
 |
Trebe Young One

Joined: 23 Mar 2004 Posts: 58 Location: Computer Desk, My House, Alberta, Canada
   
|
Posted: Fri Apr 30, 2004 2:01 am Post subject: |
|
|
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

Joined: 25 Mar 2004 Posts: 100
   
|
Posted: Fri Apr 30, 2004 3:06 am Post subject: |
|
|
K
Thanks |
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Fri Apr 30, 2004 1:08 pm Post subject: |
|
|
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

Joined: 15 Nov 2003 Posts: 673
   
|
Posted: Fri Apr 30, 2004 3:01 pm Post subject: |
|
|
Here you go 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

Joined: 14 Feb 2004 Posts: 1138
 
|
Posted: Fri Apr 30, 2004 9:55 pm Post subject: |
|
|
| *looks like bot2k3 whisper command <_<* |
|
| Back to top |
|
 |
Trebe Young One

Joined: 23 Mar 2004 Posts: 58 Location: Computer Desk, My House, Alberta, Canada
   
|
Posted: Fri Apr 30, 2004 9:57 pm Post subject: |
|
|
| What difference does it make? |
|
| Back to top |
|
 |
chaos Member

Joined: 25 Mar 2004 Posts: 100
   
|
Posted: Thu May 27, 2004 2:31 am Post subject: |
|
|
| *lazy*What Different |
|
| Back to top |
|
 |
..::BIGmouth( )::.. God Like

Joined: 05 Feb 2004 Posts: 801
    
|
Posted: Thu May 27, 2004 4:22 am Post subject: |
|
|
| The tell is like bot2k3 whisper command.. Who really cares.. |
|
| Back to top |
|
 |
85thday Senior Member

Joined: 20 Jan 2004 Posts: 260
   
|
Posted: Thu May 27, 2004 9:56 am Post subject: |
|
|
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 |
|
 |
|