Soda Game

By lehmann14l on Aug 23, 2007

If someone says the secret word they get a free soda.

to set the secret word: /msg BotName sodapass
anyone can set a secret word if one isn't set.

to reset the secret word: /msg BotName sodareset
you need to add your mask/nick as lvl 500 in the users section on the remote.ini

I was bored so i just made something up. This script is generally useless. Comments and suggestions appreciated.

make a file called soda.txt and put different brands in the file (one per line)

Coke
Pepsi
Sprite
etc...

on *:TEXT:$(%spass):#:{
 /msg $chan $nick won a free soda!
 /timer 1 1 /describe $chan hands $nick a $read(soda.txt)
 /unset %spass
}
on *:TEXT:sodapass*:?:{
 if ($2) {
  if (!%spass) {
 /set %spass $2
 /msg $nick Secret word set to: $2
  }
  else { /msg $nick A secret word is already set. Go and guess it :) }
 }
 else { /msg $nick Whats the secret word? }
}

on 500:TEXT:sodareset:?:{
 /unset %spass
 /msg $nick Secret word reset!
}

Comments

Sign in to comment.
Riht_2   -  Aug 24, 2007

Really.. what is it supposed to do anyways?

 Respond  
Riht_2   -  Aug 24, 2007

Yeah... it looks like crud, maybe you should try fixing it?

 Respond  
guest598594   -  Aug 23, 2007

doesnt even work

 Respond  
guest598594   -  Aug 23, 2007

else { /msg $nick Whats the secret word? }

just

else msg $nick Whats the secret word?

 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.