Author Topic: Simple random pick out  (Read 292 times)

Glow

  • Trial Moderator
  • Junior
  • ***
  • Posts: 69
  • Reputation +3/-4
  • Gimme -1! Newbie mIRC scripter
  • Location: Netherlands
    • View Profile
Simple random pick out
« on: February 16, 2011, 05:46:16 pm »
When you use the trigger, it picks out a random user on the channel.

Code: [Select]
on *:text:!random:#: {
    msg $chan $nick($chan,$r(1,$nick($chan,0)))
}

If you want something else, like random fag just change
Code: [Select]
!random to
Code: [Select]
!randomfag.

If you want a sentence after it add after
Code: [Select]
($chan,0))) Your sentence. For example with !randomfag
Code: [Select]
($chan,0))) is a fag!
The edited script:

Code: [Select]
on *:text:!randomfag:#: { 
    msg $chan $nick($chan,$r(1,$nick($chan,0))) is a fag!
}

Hope you like it^^

Share on Bluesky Share on Facebook


King_Hual

  • Trial Moderator
  • Newbie
  • ***
  • Posts: 36
  • Reputation +3/-2
    • View Profile

Glow

  • Trial Moderator
  • Junior
  • ***
  • Posts: 69
  • Reputation +3/-4
  • Gimme -1! Newbie mIRC scripter
  • Location: Netherlands
    • View Profile
Re: Simple random pick out
« Reply #2 on: February 16, 2011, 05:58:48 pm »
Oh looked over that sorry :-X

Jane

  • Management
  • Full
  • *******
  • Posts: 130
  • Reputation +1/-0
  • mIRC Scripters
    • View Profile
Re: Simple random pick out
« Reply #3 on: February 16, 2011, 08:50:47 pm »
Nice script, Keep it up!