mIRC Home    About    Download    Register    News    Help

Print Thread
#23696 11/05/03 11:38 AM
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
how can add a random colour in the slaps?
i want the nickname of the people who slap by me will random colour

and i want to ask that how can me slap all the people on the channel at once ?

#23697 11/05/03 12:48 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
alias massslap {
set %i 1
:next
set %nick $nick(#,%i)
if %nick == $null goto done
else { /me slaps  $+ $rand(0,15) $+ $nick(#,%i) $+  on its tight ass :P
inc %i
goto next
:done
}

#23698 11/05/03 01:29 PM
Joined: Apr 2003
Posts: 414
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
;Syntax /SlapsAll [Chan] [Interval In Seconds]
Alias SlapsAll {
var %i = 1
If ($me !ison $1) { echo You must join $1 i can't get the nick list | halt }
while (%i <= $nick($1,0)) {
If ($nick($1,%i) != $me) {
.timerslap $+ $nick($1,%i) 1 $calc($2 * %i - %inter) describe $1 slaps $+(,$rand(1,15),$chr(44),$rand(1,15),$nick($1,%i),) around a bit with a large trout }
Else var %inter = $2
inc %i
}
}


mIRC Chm Help 6.16.0.3 Full Anchored!
#23699 11/05/03 04:01 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
why so god dammed complicated?

#23700 11/05/03 04:37 PM
Joined: Apr 2003
Posts: 414
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
Nothing complicated .. Just i like the while operator ..
And i add the interval ..
With your alias if you whant to slap a channel with 50 peoples you get Excess Flood immediately ..


mIRC Chm Help 6.16.0.3 Full Anchored!
#23701 11/05/03 05:32 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
good one didnt thought abou that

#23702 11/05/03 10:55 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I'll do you one better, add every name from the channel to the slap list, and do it all at once. And even better yet, it excludes yourself and uses proper grammer. >:F


/Slap All {
/set -u0 %a 1
while (%a <= $nick($active, 0)) {
if ($nick($active, %a) != $me) /set -u0 %nicks $+(%nicks,$chr(32),$nick($active, %a),$iif(%a != $nick($active, 0), $chr(44)))
/inc -u0 %a
}
/set -u0 %nicks $replace(%nicks, $gettok(%nicks, $gettok(%nicks, 0, 32), 32), $+(and,$chr(32),$gettok(%nicks, $gettok(%nicks, 0, 32), 32)))
/me slaps %nicks around a bit with a large trout.
}

Ex: If you had
Adrenaline
ChanSys
KingTomato
Miniki
Terror_Vdb

In the channel, it would say:
* KingTomato slaps Adrenaline, ChanSys, Miniki and Terror_Vbd around a bit with a large trout.

grin


-KingTomato
#23703 12/05/03 07:27 PM
Joined: Dec 2002
Posts: 10
A
Pikka bird
Offline
Pikka bird
A
Joined: Dec 2002
Posts: 10
i like that smile how about listing the users that are +v, i could use that wink

#23704 13/05/03 07:08 AM
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
But i really want slap the people one by one and i really dun know how to use Adrenalin's script
well ,i am just a irc newbie :#)


Link Copied to Clipboard