This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
masterstanf2k
Voice
Posts: 29 Joined: Fri Oct 03, 2003 6:15 pm
Post
by masterstanf2k » Mon Oct 06, 2003 10:20 pm
can someone make a simple script... it would be.... !slap BOB hahah... and return /me slaps BOB hahah... know what I mean?? REALLY simple....
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Tue Oct 07, 2003 10:50 am
Code: Select all
bind pub - !slap slap:target
proc slap:target {nick uhost hand chan arg} {
set target "[lindex [split $arg] 0]"
putserv "PRIVMSG $chan :\001ACTION slaps $target around a bit with a large trout\001"
}
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Tue Oct 07, 2003 10:57 am
Code: Select all
set reason [lrange [split $arg 1 end]
Once the game is over, the king and the pawn go back in the same box.
masterstanf2k
Voice
Posts: 29 Joined: Fri Oct 03, 2003 6:15 pm
Post
by masterstanf2k » Tue Oct 07, 2003 1:29 pm
THX! :0. I'll try it when I get home, and I'll report on whether it works or not! THX again!
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Tue Oct 07, 2003 2:32 pm
you want it to respond to !slap nick reason, then this is better:
Code: Select all
bind pub - !slap slap:target
proc slap:target {nick uhost hand chan arg} {
set target "[lindex [split $arg] 0]" ; set reason "[join [lrange [split $arg] 1 end]]"
putserv "PRIVMSG $chan :\001ACTION slaps $target $reason\001"
}