Random sexual orientation messages(18+)

Platform:  mIRC
Published  Nov 05, 2011
Updated  Nov 05, 2011
I'm a noob and made this script because i'm bored and tired of people saying gay for no reason so i made a reason lol
this is a script i made that when ever someone say gay the bot will say a diffrent level of being gay or straight each time ramdomly. not sure if alias is the best way to do this but is a simple script. CHECK BELOW for other/better ways to to this! on *:TEXT:*gay*:#:{
$rand( 0, 10)
}
alias 0 {
/describe # 0. no Asexual dont wanna sleep with real women or men
}
alias 1 {
/describe # 1. no Straight thinking only of girls not how your body or any guys looks
}
alias 2 {
/describe # 2. no Straight but like to compare your body to other men
}
alias 3 {
/describe # 3. no Straight but think sometimes on what would it be like to be gây
}
alias 4 {
/describe # 4. no Straight but do gây stuff when your bored, drunk, and/or hornÿ
}
alias 5 {
/describe # 5. no Bi but dated more girls
}
alias 6 {
/describe # 6. no Bi but dated more boys
}
alias 7 {
/describe # 7. Gây but do straight stuff when your bored, drunk, and/or hornÿ
}
alias 8 {
/describe # 8. Gây but think sometimes on what would it be like to be straight.
}
alias 9 {
/describe # 9. Gây but like to compare your looks to a women.
}
alias 10 {
/describe # 10. Gây thinking only of man not how women bodies or styles look
}

Comments

Sign in to comment.
Alter8   -  Nov 08, 2011
ahahahaha [85] :))) now this makes some sense, i`ll grab it
 Respond  
[85]   -  Nov 08, 2011
Code
 
 Respond  
Alter8   -  Nov 08, 2011
:)
 Respond  
Jethro   -  Nov 08, 2011
Well, gay people need just as much loving as their straight counterpart.
 Respond  
powerofwhat   -  Nov 07, 2011
thx lol i love you guys, but not in a gay way (◕ ︿_,~)
 Respond  
Jethro   -  Nov 06, 2011
What I've tried to do say is, you tried too hard to make it appealing. For an 8-ball related snippet as such doesn't need to be complicated.

Goto has its advantages, while it gets despised by many, it works really well with 8 ball variation coding. Compared to if statements, goto doesn't require if checks for each conditions. It jumps from one point to another.
 Respond  
napa182   -  Nov 06, 2011
lol clowns....
 Respond  
_Dean_   -  Nov 06, 2011
its not extra stuff... if you can use isnum and $replace to avoid the repetition, i think its better, than use goto...
 Respond  
Jethro   -  Nov 06, 2011
What does the goto have to do with the benefit? It's showing people a way of achieving the final result of what this snippet is intended. A goto is pretty much a jumping point to go to a certain condition and execute it.

What you've been showing in your example, Mr. Dean, is that you're sugarcoating it with all the extra stuffs that serve no benefits and are purposeless.

Also,
on *:text:$($iif(*gay* iswm $strip($1-),$1-)):#:{
You don't need to add the dash behind the $1, the way the on text match works with $iif() doesn't actually require you to include it. if you don't believe me, try and see for yourself.

P.S. I'll quote jaytea's explanation of this matter:
the matchtext is applied to the string early on, before the remote identifiers are set up and before $1 is tokenized. this allows you to use leading, trailing or multiple consecutive spaces in your matchtext and have it remain accurate, and also saves mIRC from having to perform the extra work if the event fails to trigger.
 Respond  
SReject   -  Nov 06, 2011
and the regsubex way
Code
 
 Respond  
_Dean_   -  Nov 06, 2011

SunnyD
*Waiting for someone to reply with an overly complicated rewrite including flood protection*


i was very sure that SunnyD was talking about you when he said that, but since he gave you a like on your comment, i dont know...

by the way, why that is so complicated, using $replace and isnum?

i used a dynamic var
in your case Jethro if someone says the word "gay" it will stop to work for the entire room,
not only for the person who did it

Code
 


but i wanna know the benefits in using goto
 Respond  
SReject   -  Nov 06, 2011
Jethro, alas, I did. But it's fixed now :)
 Respond  
MashhitDK   -  Nov 06, 2011
I was bored so here's My edit ->
Code
 
 Respond  
Jethro   -  Nov 06, 2011
SReject, I think you may have forgotten to change all the repetitive number 3 to reflect the actual numbers from 4 to 10.
 Respond  
Jethro   -  Nov 06, 2011
Mr. Dean's hit the jackpot with what SunnyD was saying, "with an overly complicated rewrite." You set up local vars, isnum check, and then $replace()...making it all unnecessarily fancy-schmancy (in a superfluous manner if you will) and having mIRC work extra harder than it should. What you have done above outweighs any benefit if there is one. Actually there is none.
 Respond  
SReject   -  Nov 06, 2011
Code
 
 Respond  
_Dean_   -  Nov 06, 2011
if you dont want too much repetition

Code
 


but i still wanna know the benefits...
 Respond  
Jethro   -  Nov 05, 2011
Use goto for this 8-ball type of snippet:
Code
 
I use an alias so I don't have to place the halt in each goto condition, along with a simple trigger flood protection and control codes stripped out.
 Respond  
powerofwhat   -  Nov 05, 2011
Thx sunnyd and pball those are great ideas. i will have to learn flood protection and use pball method in the furture
 Respond  
pball   -  Nov 05, 2011
how about a simple rewrite?
Code
 

Since you said you're new I figured I show an alternative method. This places all of the sayings into a variable with | separating them. The second part uses $gettok which gets one of the tokens (sayings). Each of the saying is called a token which is separated by | which is character 124. So the gettok command gets a random token 1 to 11 from the variable which has the tokens separated by |.
 Respond  
SunnyD   -  Nov 05, 2011
*Waiting for someone to reply with an overly complicated rewrite including flood protection*

Yes using aliases may not have been the greatest way to go about a snippet such as this, but that's for you to decide.

Long as it works. All the best.
 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.