Top

Wheel Of Fate

Please Register to submit score.
Average Score  8.8
Scores Submitted  5
Date Added  Aug 13, 2007
Last Updated  May 14, 2008
Tags  game 

Introduction

got bored and made this game just Load in a new remote of a bot and click channel to turn on or off.




Grab the Code

Comments

  (14)  RSS
Anti
Comments: 288
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 6:01 pm
rofl nicely done you for got our trade mark in it rofl
--------
im going to rip out some ideas from it hehehehe
Anti
Comments: 288
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 6:02 pm
jkjk hehehe
Olliegod
Comments: 77
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 9:10 pm
You don't really need the whole
Code:
    if (%fate == 1) { set %w GAG }
    if (%fate == 2) { set %w KICK }
    if (%fate == 3) { set %w BAN }
    if (%fate == 4) { set %w DEMODE }
    if (%fate == 5) { set %w VOICE }
    if (%fate == 6) { set %w HALFOP }
    if (%fate == 7) { set %w OP }
part, just do
Code:
if (%fate == 1) { msg $chan Aww Sorry $nick Better Luck Next Time
etc. And also why make %fate a global variable? Local variables would work the same and don't leave any mess in your variables section. And for the modes, you dont need a seperate line for each mode:
Code:
mode $chan -o $nick | mode $chan -h $nick | mode $chan -v $nick | mode $chan +b ~q: $+ $address($nick,2)
would be the same as
Code:
mode $chan +b-ohv ~q: $+ $address($nick,2) $nick $nick $nick
and would require less code as well as would produce less mode spam in the channel.
Olliegod
Comments: 77
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 9:14 pm
And another thing: in your if elseif statements you sometimes use /halt which is unneeded in those circumstances.
napa182
Comments: 733
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 9:28 pm
i dont care about comments on this thats why i said Edit the way you want.....
Olliegod
Comments: 77
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 9:34 pm
I'm not going to use this code and therefore I won't be editing it. I'm posting this to help you, whats the point of putting your scripts on hawkee if you aren't going to accept advice which is provided for the purpose of helping you to learn?
napa182
Comments: 733
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 9:41 pm
um yeah i know that no reason to be rude..
Oh i forgot to say thanks for the input I appreciate it.
MyWebs
Comments: 3
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 9:57 pm
Nice looking script Steve.
Sure it could be written in a smaller way. But... I would prefer a bit of extra code if that makes it easier to see whats going on so its easier to understand. As compared to terribly compact code thats impossible to read. Disk space, memory and bandwidth are all so cheap now days who gives a shoot about a few extra lines? I sure don't.

I've learned alot of what I know about programming from studying other peoples code and often grabbing bits here and there then tweaking it to suit my needs. This is a great way to learn and code readability helps immensely. There is more than 1 way to learn programming and personally I find IRC a major PITA compared to other languages. ITs poorly designed and the help file blows chunks.
Thanks,
MyWebs
napa182
Comments: 733
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 13, 2007 10:39 pm
heh the 1 part that I liked that you said Olliegod was to use
Code:
mode $chan +b-ohv ~q: $+ $address($nick,2) $nick $nick $nick
Anti
Comments: 288
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 14, 2007 4:55 pm
My GoodyBag is betters! hehehehe!
Anti
Comments: 288
 
mIRC Snippet:  Wheel Of Fate
Posted on Aug 15, 2007 4:32 pm
It isnt a wheel of fate if it just says Better Luck Next Time! ..
mountaindew
Comments: 1,366
 
mIRC Snippet:  Wheel Of Fate
Posted on Sep 5, 2007 8:47 pm
in

.timer 1 20 mode $chan -b ~q: $+ $address($nick,2)

what does the ~q: $+ do?
mountaindew
Comments: 1,366
 
mIRC Snippet:  Wheel Of Fate
Posted on Sep 5, 2007 8:48 pm
and when you do the timed ban you can do

Code:

ban -u20 $chan $nick


the -u20 auto unbans after twenty seconds
napa182
Comments: 733
 
mIRC Snippet:  Wheel Of Fate
Posted on Sep 13, 2007 1:00 am
the server im on the
Code:
mode $chan +b ~q: $+ $address($nick,2)
is a gag/mute

Please Register or Login to start posting comments.
Bottom