Risk Game

By APinis on Feb 11, 2007

I made this game for myself and I think it`s great.

Just copy paste this into your remotes and write !Help

Have fun!

on *:TEXT:!risk*:#: { 
  var %risk = $rand(1,8) 
  msg #templis $2 4 $nick takes the risk...
  if (%risk == 1) .timer 1 2 mode $chan +o $nick 
  if (%risk == 1) && ($nick isop #) .timer 1 2 mode $chan -o $nick
  if (%risk == 2) .timer 1 2 mode $chan +v $nick
  if (%risk == 2) && ($nick isvoice #) .timer 1 2 mode $chan -v $nick
  if (%risk == 3) .timer 1 2 ban -ku30 $chan $nick 4Hah... You got banned, but don`t worry it`s only for 30 seconds
  if (%risk == 4) .timer 1 2 ban -ku1800 $chan $nick 4Sorry, you got banned for 30 minutes... See you later!
  if (%risk == 5) .timer 1 2 ban -ku300 $chan $nick 4Bad luck... You got banned for 5 minutes
  if (%risk == 6) .timer 1 2 kick $chan $nick 4We don`t take your kind kindly here
  if (%risk == 7) .timer 1 2 msg $chan 12Nothing happens...
  if (%risk == 8) .timer 1 2 msg $chan 12 You got a cookie!!!
}
on *:TEXT:!help*:#: { 
  .notice $nick Write !risk to play!!! There is chance to get opped, voiced,kicked, banned for 30 seconds 30 minutes and 5 minutes. Good luck!!!And btw check the 12!credits
}
on *:TEXT:!credits*:#: { 
  .notice $nick Scripted by Apinis. Get this game at 12www.hawkee.com 
}

Comments

Sign in to comment.
Jonesy44   -  May 25, 2009

o_o right..

 Respond  
andromeda   -  May 24, 2009

nikooo77 is using mIRC version 10.00

 Respond  
Jonesy44   -  May 24, 2009

How can you get that error, but you're not using mIRC?

 Respond  
nikooo777   -  May 24, 2009

[19.59] ->> var :Unknown command

i am not using mIRC.... what to do?

 Respond  
DarthReven   -  Feb 12, 2007

Actually it does cause you have to use it properly. Here is how it should look so it will fuction:
ON :RAWMODE:#: { IF ($REGEX($1,/(([\+|-]+[o|v|h]))/)) { MSG $CHAN $NICK $RAWPARSE($1,$2) } }
ALIAS RAWPARSE {
VAR %EXP /(([\+|-]+[o|v|h]))/
IF ($REGEX(PARSE,$1,%EXP)) {
IF ($REGEX($REGML(PARSE,1),/([\+|-])/)) {
IF ($REGML(1) == -) {
IF (
o ISWM $REGML(PARSE,1)) { RETURN you just got deoped by $2 }
ELSEIF (h ISWM $REGML(PARSE,1)) { RETURN you just got dehalfoped by $2 }
ELSE { RETURN you just got devoiced by $2 }
}
ELSE {
IF (
o ISWM $REGML(PARSE,1)) { RETURN you just got oped by $2 }
ELSEIF (*h ISWM $REGML(PARSE,1)) { RETURN you just got halfoped by $2 }
ELSE { RETURN you just got voiced by $2 }
}
}
}
}

 Respond  
APinis   -  Feb 11, 2007

mmm... It is! :)

 Respond  
Lindrian   -  Feb 11, 2007

You acually should give the right credits to the people who helped you, imo.

 Respond  
APinis   -  Feb 11, 2007

your version doesnt work too! And i found bugs in my rawmode! So i deleted everything. Now it wont tell anything whenn you`ll be opped deoped voiced devoiced

 Respond  
APinis   -  Feb 11, 2007

Why did you rate it with incomplete? :P ITS COMPLETE!!!
If you want I can take out the raw mode but it wont work!!!

 Respond  
APinis   -  Feb 11, 2007

Beliewe me I do need.
When I wrote

on *:RAWMODE:#: {
if ($1 == +o) { msg $chan 12You just got op\'ed $nick $+ !
IT GETS LIKE>> if ($1 == -o) { msg $chan 12You just got deop\'ed $nick $+ !

and doesn`t work...

 Respond  
DarthReven   -  Feb 11, 2007

you don\'t need to put on *:RAWMODE:#: { 4 or 5 times you can just parse it once and use if and elseif statements to output the data the way you want it

 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.