Random Slap

By Seven_Dayss on May 28, 2008

well, this is my first script,

i just mix the scripts that i have, then it turns into this...
(just like in one of MMORPG games RF Online)

enjoy

on 1:action:*slap*:#:{
  if ( slaps $me isin $1- ) {
    goto $rand(a,d)
    :a
    /describe # : 7miss! | halt
    :b 
    /describe # : 12block! | halt
    :c 
    /describe # :4 $rand(510,1000) $+ ! | halt
    :d 
    /describe # :4 $rand(1150,2570) $+ ! | halt
  }
}

Comments

Sign in to comment.
Noutrious   -  May 29, 2008

napa182\'s code is pretty understood able, mine could be bit not so understood able, but that\'s what /help is for. ;)

 Respond  
HoNdAx707   -  May 28, 2008

@Noutrious and napa
i would explain what the stuff does if i didnt know what it did i would be confused to no end
lol

 Respond  
napa182   -  May 28, 2008

or you can just do

;looks to see if slap and ur nick is in it $1-
on *:action:$($+(*,slap,*,$me,*)):#:{ 
  ;if it is it set\'s a local var with responses
  var %slap 7miss!,12block!,4 $r(510,1000) $+ !,4 $r(1150,2570) $+ !
  ;then picks one to say back
  describe # : $gettok(%slap,$r(1,4),44)
}
 Respond  
Noutrious   -  May 28, 2008

This could be done easier from both sides - scripting and editing :)

  • Relay slaps Neisen in the ass
  • Neisen kills a potatoe
  • Relay slaps Neisen in the ass
  • Neisen blocks Relay\'s slap and throws it back
  • Relay slaps Neisen in the ass
  • Neisen hides and Relay\'s slap fly\'s away

Code:

alias -l slaprevenges return hides and $+($nick,\'s) slap fly\'s away|blocks $+($nick,\'s) slap and throws it back|kills $nick|eats a potatoe
on *:ACTION:*:#:if (slaps $me isin $1-) describe $chan $gettok($slaprevenges,$rand(1,$numtok($slaprevenges,124)),124)

Hope you enjoy ;)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.