[HH] Random Power

By HeatedHeart on Dec 29, 2007

Put in remotes, " ALT + R " And now when a user joins the channel it sets a random number, and if that number is within a certain perimeter it gives them a certain power >:D enjoy

on ^*:JOIN:#:{ 
set %Rand $rand(1,100)
if (%rand == 100) { mode # +a $nick | /msg # $Nick Gets [+a] For Being so lucky ^.^ }
if (%Rand >= 85) { mode # +o $nick | /msg # $Nick Gets [+o] For Being so lucky ^.^ }
if (%Rand >= 50) { mode # +h $nick | /msg # $Nick Gets [+h] For Being so lucky ^.^ }
if (%Rand >= 25) { mode # +v $nick | /msg # $Nick Gets [+v] For Being so lucky ^.^ }
else if (%rand <= 24) { /msg # >.> .... Better Luck Next Time $nick }
unset %rand }

Comments

Sign in to comment.
Hid4n   -  Jan 01, 2008

Wow pointless but good job I guess. Btw I would add some sort of timer or a join flood protection, I would just /hop until I got the & if I saw a channel using this.

 Respond  
[DX]   -  Dec 30, 2007

hehe.. nice shit :D

 Respond  
SLS10   -  Dec 29, 2007

...This will be used. I predict.

 Respond  
guest598594   -  Dec 29, 2007

use /var %var = data

also, on @*: to check for op

 Respond  
HeatedHeart   -  Dec 29, 2007

Thanks, sorry. Ive used hawkee for a while and decided just now to register, cough boredom and cant sleep cough and may have had a few errors on both @_@ || thank you i fixxed

 Respond  
Freckle   -  Dec 29, 2007

Just like your first script, you\'re missing the final bracket

on ^*:JOIN:#:{ 
..........
.........
}
 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.