Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 23rd, 2004, 9:14 AM   #1
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 140
Rep Power: 5 bulio is on a distinguished road
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*
}
bulio is offline   Reply With Quote
Old Aug 23rd, 2004, 10:14 AM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
nice, i think i might have to make use of that.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Aug 25th, 2004, 3:45 PM   #3
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 140
Rep Power: 5 bulio is on a distinguished road
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
bulio is offline   Reply With Quote
Old Aug 25th, 2004, 3:54 PM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
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.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old May 7th, 2005, 7:56 AM   #5
BoBo
Newbie
 
Join Date: May 2005
Posts: 1
Rep Power: 0 BoBo is on a distinguished road
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?
BoBo is offline   Reply With Quote
Old May 7th, 2005, 8:20 AM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Looks good, Bulio. Now someone make one for X-Chat.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:34 PM.

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