The Talking Game

By Zaff on Mar 13, 2009

Simple pointless game called The Talking Game created by Pycho(Me, and NO ITS NOT MEANT TO BE PYSCHO) and Wiz126

You just chat and you get Experience for Words, Lines, and characters.

You can do a 2-3X Exp event by doing !event 2-3 and !eventoff to turn it off...

First create your ini file called game.ini and add this into it

Pointless eh?

[levels]
2=83
3=174
4=276
5=388
6=512
7=650
8=801
9=969
10=1154
11=1358
12=1584
13=1833
14=2107
15=2411
16=2746
17=3115
18=3523
19=3973
20=4470
21=5018
22=5624
23=6291
24=7028
25=7842
26=8740
27=9730
28=10824
29=12031
30=13363
31=14833
32=16456
33=18247
34=20224
35=22406
36=24815
37=27473
38=30408
39=33648
40=37224
41=41171
42=45529
43=50339
44=55649
45=61512
46=67983
47=75127
48=83014
49=91721
50=101333
51=111945
52=123660
53=136594
54=150872
55=166636
56=184040
57=203254
58=224466
59=247886
60=273742
61=302288
62=333804
63=368599
64=407015
65=449428
66=496254
67=547953
68=605032
69=668051
70=737627
71=814445
72=899257
73=992895
74=1096278
75=1210421
76=1336443
77=1475581
78=1629200
79=1798808
80=1986068
81=2192818
82=2421087
83=2673114
84=2951373
85=3258594
86=3597792
87=3972294
88=4385776
89=4842295
90=5346332
91=5902831
92=6517253
93=7195629
94=7944614
95=8771558
96=9684577
97=10692629
98=11805606
99=13034431

on *:text:!eventoff:#The_Typing_Game:{
  if ($isstaff) {
    timer 3 0 msg $chan The %event $+ X is now over
    set %event 1

  }
}

on *:text:!event *:#The_Typing_Game:{
  if ($isstaff) {
    if ($2 isnum 2-3) {
      timer 3 0 msg $chan There is now a $2 $+ X Event!
      set %event $2
    }
  }
}

on *:text:!level*:#The_Typing_Game:{
  if (!$2) {
    notice $nick 2Character level: $readini(game.ini, level.chars, $nick) Exp: $readini(game.ini, chars, $nick)
    notice $nick 2Word level: $readini(game.ini, level.words, $nick) Exp: $readini(game.ini, words, $nick)
    notice $nick 2Line level: $readini(game.ini, level.lines, $nick) Exp: $readini(game.ini, lines, $nick)
    notice $nick 2Total Level: $calc($readini(game.ini, level.lines, $nick) + $readini(game.ini, level.words, $nick) + $readini(game.ini, level.chars, $nick))
  }
  elseif ($readini(game.ini, chars, $2)) {
    notice $nick 2Character level: $readini(game.ini, level.chars, $2) Exp: $readini(game.ini, chars, $2)
    notice $nick 2Word level: $readini(game.ini, level.words, $2) Exp: $readini(game.ini, words, $2)
    notice $nick 2Line level: $readini(game.ini, level.lines, $2) Exp: $readini(game.ini, lines, $2)
    notice $nick 2Total Level: $calc($readini(game.ini, level.lines, $2) + $readini(game.ini, level.words, $2) + $readini(game.ini, level.chars, $2))

  }
  elseif (!$readini(game.ini, chars, $2)) {
    notice $nick That User Doesn't Exist!
  }

}

On *:Text:*:#The_Typing_Game:{
  if ($me == AlertBot) {
    writeini game.ini lines $nick $calc($readini(game.ini, lines, $nick) + $calc(3 * %event))
    writeini game.ini words $nick $calc($readini(game.ini, words, $nick) + $calc($calc($0 * 2) * %event))
    writeini game.ini chars $nick $calc($readini(game.ini, chars, $nick) + $calc($len($1-) * %event))
    if (!$readini(game.ini, level.lines, $nick)) writeini game.ini level.lines $nick 1
    if (!$readini(game.ini, level.words, $nick)) writeini game.ini level.words $nick 1
    if (!$readini(game.ini, level.chars, $nick)) writeini game.ini level.chars $nick 1
    var %scorez $iif($readini(game.ini, level.lines, $nick),$calc($readini(game.ini, level.lines, $nick) + 1),1)
    var %scorez2 $iif($readini(game.ini, level.words, $nick),$calc($readini(game.ini, level.words, $nick) + 1),1)
    var %scorez3 $iif($readini(game.ini, level.chars, $nick),$calc($readini(game.ini, level.chars, $nick) + 1),1)
    if ($readini(game.ini, chars, $nick) >= $readini(game.ini, levels, %scorez3)) {
      writeini game.ini level.chars $nick $calc($readini(game.ini, level.chars, $nick) + 1)
      msg $chan Congratulations2 $nick $+ ! Your 2Character level is now2 $readini(game.ini, level.chars, $nick) $+ ! 
    }
    if ($readini(game.ini, words, $nick) >= $readini(game.ini, levels, %scorez2)) {
      writeini game.ini level.words $nick $calc($readini(game.ini, level.words, $nick) + 1)
      msg $chan Congratulations2 $nick $+ ! Your 2Word level is now2 $readini(game.ini, level.words, $nick) $+ ! 
    }
    if ($readini(game.ini, lines, $nick) >= $readini(game.ini, levels, %scorez)) {
      writeini game.ini level.lines $nick $calc($readini(game.ini, level.lines, $nick) + 1)
      msg $chan Congratulations2 $nick $+ ! Your 2Line level is now2 $readini(game.ini, level.lines, $nick) $+ ! 
    }
  }
}

Comments

Sign in to comment.
dma   -  Dec 21, 2015

sounds crazy

 Respond  
cptpan   -  Aug 30, 2010

How does it work? No one seems to be getting shit even though we're talking

 Respond  
Zaff   -  Mar 16, 2009

Fixed another Bug

 Respond  
Zaff   -  Mar 15, 2009

Thanks, I just finished a !hof script which shows the top 3 for each 'skills'

I wont release it unless I make something else

 Respond  
tzar469   -  Mar 15, 2009

Lol, Runescape levels.

Great work with the script so far.

 Respond  
Zaff   -  Mar 14, 2009

Fixed a small error

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.