mIRC Homepage
Posted By: Joshee Slap commands? - 18/01/07 08:46 PM
well im a nub at scripting but i got this:

on *:action:*slap*:#:{ //msg $chan slapping people is bad frown }

now i know this is like the most simple script ever.. so i want to hype it up a bit laugh how can i add a counter so that when some1 uses the right click a name then slap i can like steal the fish or whatever and say howmany i stolen, or slap some1 back and say how many times ive had to do it?

thanks in advance.
Posted By: Kurdish_Assass1n Re: Slap commands? - 18/01/07 10:06 PM
There's no way to find out if he/she right-clicked a name, is there a specific thing that everyone says when they right-click a persons name? Sorry, I wouldn't know, I use a custom IRC.
Posted By: Riamus2 Re: Slap commands? - 18/01/07 11:54 PM
Code:
on *:action:*slaps*trout*:#: {
  inc %stolen.fish
  describe steals the fish from $nick $+ .  ( $+ %stolen.fish fish stolen)
}
Posted By: vexed Re: Slap commands? - 20/01/07 03:24 PM
describe #
Posted By: Riamus2 Re: Slap commands? - 20/01/07 04:39 PM
Lol. Good catch.
Posted By: DuXxXieJ Re: Slap commands? - 20/01/07 07:59 PM
I got this :
(If you wanna reply it on YOUR nickname, no? remove the
Code:
  if ($me isin $1-) { 
from it then.

Code:
ON *:ACTION:*slaps*:#chan:{
  if ($me isin $1-) {
 msg $chan Slapping peoples is bad. :(
Posted By: DuXxXieJ Re: Slap commands? - 20/01/07 08:00 PM
woops i mean :

Code:
 ON *:ACTION:*slaps*:#:{
if ($me isin $1-) {
msg $chan Slapping Peoples Is Bad. :(
}
}
Posted By: Riamus2 Re: Slap commands? - 20/01/07 09:12 PM
I don't think he wanted it to only trigger on his nick. Also, you don't have a counter in there.
© mIRC Discussion Forums