Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Scripting Languages (http://www.programmingforums.org/forum39.html)
-   -   Mirc Multi-slap Script (http://www.programmingforums.org/showthread.php?t=403)

bulio Aug 23rd, 2004 8:14 AM

A basic script with loops that I made to slap everybody in a certain room at once.



Quote:


Mega Slap! {
set %slapall.i 1
set %slapall.workstring slaps
:next
set %slapall.nick $nick(#,%Slapall.i)
if (!%slapall.nick) goto done
if (%slapall.nick == $me) goto skip
if (*covert* iswm %slapall.nick) goto skip
if (*green* iswm %slapall.nick) goto skip
if (*justaguy* iswm %slapall.nick) goto skip
if (*malthius* iswm %slapall.nick) goto skip
if (*pt* iswm %slapall.nick) goto skip
if (*wier* iswm %slapall.nick) goto skip
if ($len(%slapall.workstring) > 230) {
set %slapall.workstring %slapall.workstring %slapall.nick
me %slapall.workstring with a $1-
set %slapall.workstring slaps
}
else {
set %slapall.workstring %slapall.workstring %slapall.nick
}
:skip
inc %slapall.i
goto next
:done
if ($len(%slapall.workstring) > 5) me %slapall.workstring with a $1-
unset %slapall*
}


Pizentios Aug 23rd, 2004 9:14 AM

nice, i think i might have to make use of that.

bulio Aug 25th, 2004 2:45 PM

here's a sample:

Quote:

bulio slaps Bolvangar GuardianX TheLorax ^{-_-}^ Admee` BaGhAwAt camera_xx Collective dieppiej E-Guard Friendsz0ne Matt| medo482 Mentality NotRacc Scat_Man Sigh_ Thoutmes Tye Withinside WOT zaz zwer- with a TheLorax

Pizentios Aug 25th, 2004 2:54 PM

Heh, that's funny. You slaped em all with TheLorax. Atleast you didn't program it so it was a channel flood script. That would have been annyoing.

BoBo May 7th, 2005 6:56 AM

im quite a noob :)

well - its very usefull for me :) But how do I do it?

I mean. Do I write sumthing to do it?

Ooble May 7th, 2005 7:20 AM

Looks good, Bulio. Now someone make one for X-Chat. ;)


All times are GMT -5. The time now is 12:43 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC