• Home
  • Servers
  • Chat
  • Channels
  • Commands
  • Forum
  • FAQ
  • Software
  • Quotes
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#1538 - 04/05/08 01:31 PM !winner
jwire4 Offline
Over 50 posts

Registered: 03/18/08
Posts: 55
Loc: Califotnia
Does anybody have the !winner script for mIRC or a Salemander bot?

_________________________
<witty comment here>

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#1558 - 04/08/08 01:41 PM Re: !winner [Re: dave]
Pctech37 Offline
newbie

Registered: 03/26/08
Posts: 35
Loc: Everett, WA
nice
_________________________
Hi. I am a forum signature virus. Paste me to your signature(s). *evil laugh*

Pctech37
G33k
Recognized WyldRyde Life Form
#Chris - VOP
#DavisCreation - SOP
#davisops - Founder
#gtaivchat - SOP
#Karol - HOP
#mancode - 5
#McInTEC - VOP
#pctech37 - Founder
#pctech37poker - Founder
#sports - Founder
#turtles - HOP

Top
#1559 - 04/08/08 01:47 PM Re: !winner [Re: Pctech37]
Phil Offline
Over 200 posts

Registered: 10/23/06
Posts: 205
Loc: Warwick, UK
The same thing daveking posted can be done in 5 lines...

on 1:TEXT:!winner:#:{
if ($nick isop $chan || $nick ishop $chan) {
msg $chan $nick($chan, $rand(1, $nick($chan, 0)))
}
}

Phil


Edited by Phil (04/08/08 01:49 PM)

Top
#1568 - 04/08/08 05:50 PM Re: !winner [Re: Phil]
dave Offline
n00b

Registered: 04/07/08
Posts: 17
Loc: canada
Originally Posted By: Phil
The same thing daveking posted can be done in 5 lines...

on 1:TEXT:!winner:#:{
if ($nick isop $chan || $nick ishop $chan) {
msg $chan $nick($chan, $rand(1, $nick($chan, 0)))
}
}

Phil

well i think in mine it is like The winner is: *****
so my fix is.


on 1:TEXT:!winner:#:{
if ($nick isop $chan || $nick ishop $chan) {
msg $chan the winner is $nick($chan, $rand(1, $nick($chan, 0)))
}
}


but that is a relly good one.
_________________________
O is for on the dark side, beacouse we have some fresh cookies. (COOKIES)
WOO!

Top
#2833 - 08/02/08 09:39 PM Re: !winner [Re: dave]
Jerry Offline
newbie

Registered: 04/27/08
Posts: 35
Loc: New Jeresy, USA
just noticing but to also add vop users to the pick list you would change the second line to
Code:
if ($nick isop $chan || $nick ishop $chan || $nick isvop $chan0

Just throwing the fact our there.
_________________________
--Jerry Smith
#Jerry, #macfan406, #iPhone, #nick
http://jerrysmith.us.to

Top
#2835 - 08/03/08 02:29 AM Re: !winner [Re: Jerry]
jwire4 Offline
Over 50 posts

Registered: 03/18/08
Posts: 55
Loc: Califotnia
thanks Jerry smile
_________________________
<witty comment here>

Top
#3183 - 09/09/08 05:41 PM Re: !winner [Re: jwire4]
Steven9088 Offline
n00b

Registered: 09/07/08
Posts: 4
Loc: Canada
where do you add that script into?

Top
#3193 - 09/11/08 07:22 AM Re: !winner [Re: Steven9088]
Firebucket Offline
newbie

Registered: 06/07/08
Posts: 39
Loc: Australia
Remotes Section of the mIRC Scripts Editor

Top
#3262 - 09/27/08 12:39 PM Re: !winner [Re: Firebucket]
David Moreen Offline
n00b

Registered: 09/04/08
Posts: 12
Loc: United States
This is my !winner script

on 1:TEXT:!winner:#channel:{
if ($nick isop $chan || $nick ishop $chan) { /msg $chan The Winner Is... $nick($chan, $rand(1, $nick($chan, 0)))
else {}}

There it is plain and simple but I would like to add mode $chan +v <the nick that won>
Have any suggestions?

Top
#4341 - 02/24/09 03:04 AM Re: !winner [Re: David Moreen]
FordLawnmower Offline
Over 100 posts

Registered: 02/15/09
Posts: 111
Loc: Ohio
This will make it a little less painful for all the winners who get highlighted ;/ Nickname will be N.ickname instead.
Not sure what the else is for. Expansion winners, I suppose wink
Code:
on 1:TEXT:!winner:#:{
  if ($nick isop $chan || $nick ishop $chan || $nick isvop $chan) { 
   set %winner.nick $nick($chan,$rand(1,$nick($chan,0)))
   set %winner.nick $left(%winner.nick,1) $+ . $+ $right(%winner.nick,$calc($len(%winner.nick) -1))
   msg $chan The Winner Is... %winner.nick
  }
  else {
  }
  unset %winner.nick
}
_________________________
If you already know everything, You can never learn anything :P

Top
Page 1 of 2 1 2 >


Moderator:  Jeff, mandy, usrbingeek