mIRC Home    About    Download    Register    News    Help

Print Thread
#157502 25/08/06 04:00 PM
Joined: Aug 2006
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2006
Posts: 7
My script is not working. It is suppost to say something funny when someone says !destroy <name here>.the code is,

on *:text:!destroy*:#:{
if ($2-==$me) { /msg $chan I WILL NEVER KILL MYSELF DUMBASS! }
else { /msg $chan Wacks you with a spiked whip and poors acid over $2! }
}

Can someone please help

#157503 25/08/06 04:15 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Code:
 on *:text:!destroy &amp;:#:{
  if ($2 == $me) { msg $chan I WILL NEVER KILL MYSELF DUMBASS! }
  else { msg $chan Wacks you with a spiked whip and poors acid over $2! }
} 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#157504 25/08/06 04:28 PM
Joined: May 2006
Posts: 93
Babel fish
Offline
Babel fish
Joined: May 2006
Posts: 93
Quote:
Code:
 on *:text:!destroy &amp;:#:{
  if ($2 == $me) msg $chan I WILL NEVER KILL MYSELF DUMBASS!
  else msg $chan Wacks you with a spiked whip and poors acid over $2!
} 

#157505 25/08/06 04:34 PM
Joined: Aug 2006
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2006
Posts: 7
It still isnt working. confused

#157506 25/08/06 04:38 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Do you have an on *:TEXT:*:#: above it in the same file?


-KingTomato
#157507 25/08/06 04:40 PM
Joined: Aug 2006
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2006
Posts: 7
I have exactly what XDaeMoN wrote.

Last edited by acorallino; 25/08/06 05:02 PM.
#157508 25/08/06 04:44 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
You just posted the same thing, just without the braces. It doesn't make any difference.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#157509 25/08/06 04:46 PM
Joined: Aug 2006
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2006
Posts: 7
Well, now it works on mIRC but i want to get it to work MKP chat and stuff if any1 can help?

#157510 26/08/06 06:47 PM
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
is MKP chat another kind of chat client that you're asking for scripting help with?

#157511 27/08/06 12:25 PM
Joined: May 2006
Posts: 93
Babel fish
Offline
Babel fish
Joined: May 2006
Posts: 93
it's better to remove useless brackets, they slow down a little the code because mirc reads {} as commands :P

#157512 29/08/06 05:04 PM
Joined: Aug 2006
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2006
Posts: 7
I am confused...

#157513 30/08/06 10:36 PM
Joined: Aug 2006
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2006
Posts: 7
Can someone help please? confused

#157514 31/08/06 12:36 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Quote:
Well, now it works on mIRC but i want to get it to work MKP chat and stuff if any1 can help?


If you want it to work with MKP, then you should contact their help/support. This site is for mIRC help, which has been given to the point where you have a script that works in mIRC.

#157515 31/08/06 02:12 PM
Joined: Aug 2006
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2006
Posts: 7
What about jIRC? confused

#157516 31/08/06 02:15 PM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
What about jIRC? Does this look like a jIRC forum to you?

-genius_at_work


Link Copied to Clipboard