1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IRC random user script?

Discussion in 'HTML, Graphics & Programming' started by SideWinder, 15 Jun 2006.

  1. SideWinder


    Joined: 12 Jun 2004

    Posts: 149,493

    Location: NW5

    n0=On *:ACTION:*slap*:#: if ($me isin $1-) { describe $chan launches metric at $nick
    Currently have that, with this effect:

    [15:06] * Lilith slaps SideWinder around a bit with a large trout
    [15:06] * SideWinder launches metric at Lilith
    What i would like to do is have the script change everytime, randomly. For instance metric is the name of a person in a channel i go into, i want to have it so each time someone slaps me, a different person is 'launched' at the person who slapped me. So basically, the script picking a random user in the channel.