!bottle
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 3.0 |
| Scores Submitted | 3 |
| Date Added | Oct 10, 2007 |
| Last Updated | Oct 13, 2007 |
| Tags | bot bottle game spin the |
|
|
Introduction
Replace #ROOM_GOES_HERE with the room(s) you want it to work in, or # for all rooms.
/bottleon turns the game on
/bottleoff turns it off
Paste in a new file in your bot's remotes. (File=>New)
mIRC Snippet:
!bottle
Posted on Oct 16, 2007 11:18 pm
Posted on Oct 16, 2007 11:18 pm
Instead of using /inc and an extraordinarily long variable, why not use /set %currentplayer $nick and change the if event to
Also, there is no need to use a local variable and $gettok, why not just make an alias that does that? I made one:
Basically returns a random token out of the string. For example: $rprop(testing,this,alias) could return testing, this, or alias. So you could make the $gettok and local variable to $rprop(kiss,kiss,smooch,etc,etc). But that's what I would do and you don't necessarily have anything wrong with your code. Just some suggestions. Good job and nice idea though. I might make a snippet like this even though their are millions of spin the bottle snippets out there. ;]
| Code: |
| if (%currentplayer (!)= $nick) { etc } |
| Code: |
| alias -l rprop { return $($+($,$r(1,$0)),2) } |
mIRC Snippet:
!bottle
Posted on Oct 17, 2007 9:31 am
Posted on Oct 17, 2007 9:31 am
Eh, true. Just overthinking things I guess. Nice job nonetheless.









