Top

Comments

  (23)  RSS
Gforce20's
Fuzion
Comments: 2
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Apr 9, 2008 5:46 pm
i really like this as im using it for my channel one qestion does it auto restart every month or is their a code to restart scores every month ? or does it just keep going ?
Gforce20
Comments: 14
 
PHP Snippet:  Smart Password Generator
Posted on Mar 26, 2008 4:26 pm
Something bad happened when this page was encoded.
The HTML replaced > characters with &#62 - so adding a number right after it made it &#621, 622, etc., which made the HTML entity 621 or 622, rather than the HTML entity 62, followed by a 1.
Gforce20
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 24, 2008 11:51 am
Highscore bug fixed in v3.1.
vegeto079
Comments: 28
 
mIRC Snippet:  Simple number game
Posted on Mar 8, 2008 3:44 am
Oh, and I forgot to say, you should probably take out those two big blocks of code and put this:
Code:
on *:TEXT:*:#: {
if ($1- != 2) && ($1- != 3) { halt }
  if (%numgame == 1) && (%lastnick == $nick) { msg $chan 4You may not take 2 turns in a row!! }
  if (%numgame == 1) && (%lastnick != $nick) {
    set %currentnum %currentnum + $1-
    set %lastnick $nick
    if (%currentnum < %end) { msg $chan 12The number is now4 %currentnum }
    if (%currentnum >= %end) {
      msg $chan 12 $nick has won!!
      unset %end
      unset %currentnum
      unset %lastnick
      unset %ender
      set %numgame 0
    }
  }
}
vegeto079
Comments: 28
 
mIRC Snippet:  Simple number game
Posted on Mar 8, 2008 3:42 am
There's always little sill things you could do to shorten the script. I'd review it and see if it works, but it seems you need 2 people to play, and nobody else is on right now ;P

Code:
  if (%numgame == 1) { msg $chan 12Game already in progress. }
  if (%numgame != 1) {

can simply be
Code:
if (%numgame == 1) { msg $chan 12Game already in progress. | HALT }


and
Code:
     if (%currentnum < %end) { msg $chan 12The number is now4 %currentnum }
    if (%currentnum >= %end) {

could simply be
Code:
if (%currentnum < %end) { msg $chan 12The number is now4 %currentnum | HALT }
LordHawk
Comments: 18
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 4, 2008 8:07 pm
Gforce your right i didnt have the latest version. I have 1 last problem, someone has 9 scores spots taken up.


#4: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #5: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #6: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #7: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #8: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #9: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #10: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #11: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #12: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)
( 21:05:56 ) ( ~LordHawk ) #13: el_cuervito (Played 9 minutes, currently has 3 points, and is on level 1.)

anyway i can fix that ?
Gforce20
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 3, 2008 5:47 pm
LordHawk: The score isn't displayed by using !score, you have to join #iRPG_scores to view it.
Make sure you're using the latest version as well. I've updated it quite a few times.

If the score simply isn't updating... I'm not sure what you're doing wrong. It works fine on my side.
LordHawk
Comments: 18
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 3, 2008 9:34 am
ok, ive seen alot more bugs now. #Irpg doesnt keep an updated version of the score. !score LordHawk returns . but no score, It doesnt display when someone levels, actually for that matter Drizz has been playing for 8 hours and hasnt leveled the first time yet, (which should be 1 hour after he started )
napa182
Comments: 653
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 2, 2008 9:25 pm
thats ok im not useing the script, but thats the first one i saw from looking at ur code on here.
Gforce20
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 2, 2008 9:19 pm
napa182: That has been fixed. There was another bug in that section of the code as well, so I suggest you re-copy the snippet. (As opposed to removing the extra paren. yourself)
napa182
Comments: 653
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 2, 2008 9:17 pm
that error is from line #74 he has an extra ")"
this line has the extra ")"
Code:
if ( $sqrt( %score. [ $+ [ $nick(#iRPG,%increasing) ] ] ) == $int( $sqrt( %score. [ $+ [ $nick(#iRPG,%increasing) ] ] ) ) ) ) msg #iRPG $nick(#iRPG,%listing) $+ , your score is now $sqrt( %score. [ $+ [ $nick(#iRPG,%increasing) ] ] ) $+ .

replace it with this
Code:
if ( $sqrt( %score. [ $+ [ $nick(#iRPG,%increasing) ] ] ) == $int( $sqrt( %score. [ $+ [ $nick(#iRPG,%increasing) ] ] ) ) ) msg #iRPG $nick(#iRPG,%listing) $+ , your score is now $sqrt( %score. [ $+ [ $nick(#iRPG,%increasing) ] ] ) $+ .
Gforce20
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 2, 2008 9:15 pm
LordHawk: I just fixed that a minute ago. I had an extra close parentheses at one point. Refresh the page, copy the script again, etc.
LordHawk
Comments: 18
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Mar 2, 2008 8:50 pm
::: Error: Unknown command ())
( 21:43:53 ) ::: Error: Unknown command ())
( 21:47:41 ) ::: Error: Unknown command ())
( 21:47:41 ) ::: Error: Unknown command ())

this is what i keep getting. i didnt change anything in your code. Im using the same preset channels you have coded into the script. Any help?
Gforce20
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Feb 22, 2008 3:18 pm
darklong: I suppose with heavy modification, you could, but that's not what the script is designed for.
darklong
Comments: 1
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Jan 21, 2008 10:50 am
can i use this for playing trivia or quiz :P
Gforce20
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Jan 18, 2008 10:17 pm
Alexis: Registration is not required, it stores your score as your nickname.
tzar: I'm fairly new to using /timer, so I'll look into that.
tzar469
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Jan 13, 2008 7:26 pm
Name your timers so you don't unset every timer at the end. And if you want a repeating timer, set the repetition value to 0.

Look at /help /timer

Good job on this script so far :)
^Alexis^
Comments: 43
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Jan 13, 2008 2:48 pm
How do You like register?
Gforce20
Comments: 14
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Jan 13, 2008 2:20 pm
I don't think it's very much like the original. However, I have updated this with many improvements. The game automatically tracks nickname changes, so mode +N is no longer needed. #iRPG_scores can now be used to display the top three scores on any network. It's overall quite a bit cleaner than the original code. Also, automatic +v for those who reach Level 5 (one straight week of playing).
^Alexis^
Comments: 43
 
mIRC Snippet:  iRPG - idle Role Playing Game (v4.0)
Posted on Jan 9, 2008 9:09 pm
Is it the same as the original idle-rpg? /msg idle-rpg register <nick> <pass> <class> ? And good job :> in you're next version might wanna add like a tourney or item searcher,good luck
1 2 Next
Bottom