mIRC Home    About    Download    Register    News    Help

Print Thread
#169066 18/01/07 08:46 PM
Joined: Jan 2007
Posts: 10
J
Joshee Offline OP
Pikka bird
OP Offline
Pikka bird
J
Joined: Jan 2007
Posts: 10
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.


Look ^here^ to see a scripting noob smile
Joshee #169069 18/01/07 10:06 PM
Joined: Apr 2006
Posts: 400
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 400
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.


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


Invision Support
#Invision on irc.irchighway.net
Riamus2 #169222 20/01/07 03:24 PM
Joined: Feb 2006
Posts: 164
V
Vogon poet
Offline
Vogon poet
V
Joined: Feb 2006
Posts: 164
describe #

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


Invision Support
#Invision on irc.irchighway.net
Riamus2 #169254 20/01/07 07:59 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
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. :(


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #169255 20/01/07 08:00 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
woops i mean :

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


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


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard