mIRC Home    About    Download    Register    News    Help

Print Thread
#169066 18/01/07 08:46 PM
J
Joshee
Joshee
J
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.

#169069 18/01/07 10:06 PM
Joined: Apr 2006
Posts: 399
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 399
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.

#169076 18/01/07 11:54 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Code:
on *:action:*slaps*trout*:#: {
  inc %stolen.fish
  describe steals the fish from $nick $+ .  ( $+ %stolen.fish fish stolen)
}

Riamus2 #169222 20/01/07 03:24 PM
V
vexed
vexed
V
describe #

#169226 20/01/07 04:39 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Lol. Good catch.

Riamus2 #169254 20/01/07 07:59 PM
D
DuXxXieJ
DuXxXieJ
D
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. :(

#169255 20/01/07 08:00 PM
D
DuXxXieJ
DuXxXieJ
D
woops i mean :

Code:
 ON *:ACTION:*slaps*:#:{
if ($me isin $1-) {
msg $chan Slapping Peoples Is Bad. :(
}
}

#169269 20/01/07 09:12 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
I don't think he wanted it to only trigger on his nick. Also, you don't have a counter in there.


Link Copied to Clipboard