mIRC Home    About    Download    Register    News    Help

Print Thread
#25469 22/05/03 03:49 PM
Joined: May 2003
Posts: 13
M
miniki Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 13
i have asked " the slap all people on the channel script "before
now it is work ,but it not show the line at once ,like this :
[0:21:01] * miniki slaps Tom around a bit with a large trout
[0:21:04] * miniki slaps Ann around a bit with a large trout
[0:21:05] * miniki slaps Tommy around a bit with a large trout
[0:21:07] * miniki slaps Zuki around a bit with a large trout
[0:21:08] * miniki slaps Mandy around a bit with a large trout
[0:21:10] * miniki slaps Zue around a bit with a large trout
[0:21:11] * miniki slaps Dog around a bit with a large trout
My script :
/ss {
set %nick-max $nick(#,0)
set %nick-num 0
:loop
if (%nick-num != %nick-max) {
inc %nick-num
if ($nick(#,%nick-num) != $me) {
/me slaps  $+ $rand(1,15) $+ $nick(#,%nick-num) $+  around a bit with a large trout :P
goto loop
}
else goto loop
}
}

how can i change? i want it show at once ....

#25470 22/05/03 04:00 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
explain better please...
do you mean you want it to say
miniki slaps nick1,nick2,nick3 around a bit with a large trout....


new username: tidy_trax
#25471 22/05/03 04:13 PM
Joined: Dec 2002
Posts: 60
C
Babel fish
Offline
Babel fish
C
Joined: Dec 2002
Posts: 60
try this remote if it exactly same with what u meant

Code:
 
alias superslap { 
  if ($active !ischan) { echo -a Please type /superslap on active channel window | halt }  
  var %ctr = 1,%tmp 
  while ($nick($chan,%ctr)) { if ($ifmatch != $me) { var %tmp = %tmp $nick($chan,%ctr) } | .inc %ctr }
  var %tmp = $replace(%tmp,$chr(32),$chr(44)) 
  /describe $chan slaps %tmp around a bit with a large trout :P
}
 


its will return $me slaps nick1,nick2,nick3,......, around blaa..blaa..

p/s: dont do this on large channel

put this on your REMOTE not aliases,and type /superslap on the channel

Last edited by coder; 22/05/03 04:23 PM.
#25472 22/05/03 04:36 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I'll do you one better

/ss {
/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.
}

that will give you this (supposing your nick5)

nick1, nick2, nick3, nick4 and nick6

Excludes yourself, includes spaces, and proper grammar. >:D


-KingTomato
#25473 23/05/03 06:52 AM
Joined: Dec 2002
Posts: 60
C
Babel fish
Offline
Babel fish
C
Joined: Dec 2002
Posts: 60
what a big remote
lol grin

both are same function

#25474 23/05/03 07:58 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
not big, just i do a next line at every pipe, where as you carry it on same line..

And by same, you mean in general terms, not grammar--right? grin


-KingTomato

Link Copied to Clipboard