funny wale script :D

By DFSFOT on Jan 14, 2012

this script make you able to send wales like fail wale :D
you can use it manually by clicking on anyone in the nick and hover over wales and choose a wale.
other peoples can do it 2. by saying !wale help you automaticly notice people with the commands and etc.
if they choose a wale you automaticly say:
...wale (requested by ...)

the ...wale is used X times

so it are 6 lines and wale itself 4.

install steps:
1) copy the code
2) paste in remotes (press Alt+r and then paste in remotes)
3) use it :D have fun!

and if you dont want that other peoples use the commands !wale and other stuff where you can't do anything against it delete everything below ;other people part

PS: it only works for mIRC version 7.2 and above because in older versions are unicodes disabled and then you see lots of "?" instead of the wale.

IT IS TESTED AND IT WORKS COMPLETELY

i made the script but anyone else made the wales and i dont know who it made so i cant credit him.
if you know who it made PM me ;)
the whale's have to look like this: Image
(sorry for my bad english)

;#########################################################
;#funny wale script made by DFSFOT                       #
;#########################################################

;manually part
menu nicklist {
 .wales
 ..failwale {
 /msg $chan ▄███████████▄▐█▄▄▄█▌
 /msg $chan ████▌▄▌▄▐▐▌██▌▀▀██▀
 /msg $chan ██▄█▌▄▌▄▐▐▌▀██▄▄█▌
 /msg $chan ▄▄▄█████████████▀
}
 ..winwale {
 /msg $chan ▄███████████▄▐█▄▄▄█▌
 /msg $chan ███▌█ █▐▐▌▀█▐▌▀▀██▀
 /msg $chan ██▄▌▀ ▀▐▐▌█▄▐█▄▄█▌
 /msg $chan ▄▄▄█████████████▀
}
 ..lovewale {
 /msg $chan ▄███████████▄▐█▄▄▄█▌
 /msg $chan ███▌█▌▄▐▌█▐▌▄▌▀▀██▀
 /msg $chan ██▄▌▀▌▀▐▌█▐▌▄█▄▄█▌
 /msg $chan ▄▄▄██████▄█▄▄███▀
}
 ..heartwale {
 /msg $chan ▄███████▓▓█▓▓██▄▐█▄▄▄▄█▌
 /msg $chan ████████▓▓▓▓▓███▌▀▀██▀▀
 /msg $chan ████▄████▓▓▓█████▄▄█▌
 /msg $chan ▄▄▄▄▄█████▓████████▀
}
 ..wale {
 /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
 /msg $chan ████████████████▌▀▀██▀▀
 /msg $chan ████▄████████████▄▄█▌
 /msg $chan ▄▄▄▄▄██████████████▀
} 
 ..lolwale {
 /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
 /msg $chan ██████▌█▌▄▐▌████▌▀▀██▀▀
 /msg $chan ████▄█▌▀▌▀▐▌▀████▄▄█▌
 /msg $chan ▄▄▄▄▄██████████████▀
}
 ..coolwale {
 /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
 /msg $chan ██████▌▄▌▄▐▌▄▐▌█▌▀▀██▀▀
 /msg $chan ████▄█▌▀▌▀▐▌▀▐▌▀█▄▄█▌
 /msg $chan ▄▄▄▄▄██████████████▀
}
 ..callme {
 /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
 /msg $chan ██████▌▄▌▄▐▌█▌██▌▀▀██▀▀
 /msg $chan ████▄█▌▀▌▄▐▌▀▌▀███▄█▌
 /msg $chan ▄▄▄▄▄██████████████▀

 /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
 /msg $chan ██████▌▄▀▄▐▌__██▌▀▀██▀▀
 /msg $chan ████▄█▌███▐▌▀▀████▄█▌
 /msg $chan ▄▄▄▄▄██████████████▀
}
}

;other people part

on 1:Text:!wale help:#: {
  /notice $nick welcome to wale help
  /notice $nick Example: !wale <command>
  /notice $nick -
  /notice $nick wale show commands:
  /notice $nick "fail" for failwale (failwale is used %failc times)
  /notice $nick "win" for winwale (winwale is used %winc times)
  /notice $nick "love" for lovewale (lovewale is used %lovec times)
  /notice $nick "heart" for heartwale (heartwale is used %heartc times)
  /notice $nick "nrml" for normal wale (normalwale is used %normalc times)
  /notice $nick "lol" for lolwale (lolwale is used %lolc times)
  /notice $nick "cool" for coolwale (coolwale is used %coolc times)
  /notice $nick "callme" for call me wale (callme wale is used %callmec times)
  /notice $nick -
  /notice $nick other commands:
  /notice $nick "stats" shows the stats
  /notice $nick "credits"
  /notice $nick thank you for using!
}

on 1:Text:!wale:#: /notice $nick try !wale help .

on 1:Text:!wale stats:#: {
  /notice $nick stats:
  /notice $nick failwale is used %failc time(s)
  /notice $nick winwale is used %winc time(s)
  /notice $nick lovewale is used %lovec time(s)
  /notice $nick heartwale is used %heartc time(s)
  /notice $nick normalwale is used %normalc time(s)
  /notice $nick lolwale is used %lolc time(s)
  /notice $nick coolwale is used %coolc time(s)
  /notice $nick callme wale is used %callmec time(s)
  /notice $nick all together = %alllc times
}

on 1:Text:!wale credits:#: {
everythin is made by DFSFOT except the wales.
if you know who the wales made, say it me and i change it
you can get this script at www.hawkee.com (search for funny wale script)
}

on 1:Text:!wale fail:#: {
  inc %failc
  inc %allc
  /msg $chan Failwale ( Requested by $nick )
  /msg $chan ▄███████████▄▐█▄▄▄█▌
  /msg $chan ████▌▄▌▄▐▐▌██▌▀▀██▀
  /msg $chan ██▄█▌▄▌▄▐▐▌▀██▄▄█▌
  /msg $chan ▄▄▄█████████████▀
  /msg $chan ^_^this wale is used %failc times^_^
}

on 1:text:!wale win:#: {
  inc %winc
  inc %allc
  winwale ( Requested by $nick )
  /msg $chan ▄███████████▄▐█▄▄▄█▌
  /msg $chan ███▌█ █▐▐▌▀█▐▌▀▀██▀
  /msg $chan ██▄▌▀ ▀▐▐▌█▄▐█▄▄█▌
  /msg $chan ▄▄▄█████████████▀
  /msg $chan ^_^this wale is used %winc times^_^
}

on 1:text:!wale love:#:  {
  inc %lovec
  inc %allc
  lovewale ( Requested by $nick )
  /msg $chan ▄███████████▄▐█▄▄▄█▌
  /msg $chan ███▌█▌▄▐▌█▐▌▄▌▀▀██▀
  /msg $chan ██▄▌▀▌▀▐▌█▐▌▄█▄▄█▌
  /msg $chan ▄▄▄██████▄█▄▄███▀
  /msg $chan ^_^this wale is used %lovec times^_^
}

on 1:text:!wale heart:#:   {
  inc %heartc
  inc %allc
  heartwale ( Requested by $nick )
  /msg $chan ▄███████▓▓█▓▓██▄▐█▄▄▄▄█▌
  /msg $chan ████████▓▓▓▓▓███▌▀▀██▀▀
  /msg $chan ████▄████▓▓▓█████▄▄█▌
  /msg $chan ▄▄▄▄▄█████▓████████▀
  /msg $chan ^_^this wale is used %heartc times^_^

}

on 1:text:!wale nrml:#: {
  inc %nrmlc
  inc %allc
  nrmlwale ( Requested by $nick )
  /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
  /msg $chan ████████████████▌▀▀██▀▀
  /msg $chan ████▄████████████▄▄█▌
  /msg $chan ▄▄▄▄▄██████████████▀
  /msg $chan ^_^this wale is used %normalc times^_^
}

on 1:text:!wale lol:#: {
  inc %lolc
  inc %allc
  lolwale ( Requested by $nick )
  /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
  /msg $chan ██████▌█▌▄▐▌████▌▀▀██▀▀
  /msg $chan ████▄█▌▀▌▀▐▌▀████▄▄█▌
  /msg $chan ▄▄▄▄▄██████████████▀
  /msg $chan ^_^this wale is used %lolc times^_^
}

on 1:text:!wale cool:#: {
  inc %coolc
  inc %allc
  coolwale ( Requested by $nick )
  /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
  /msg $chan ██████▌▄▌▄▐▌▄▐▌█▌▀▀██▀▀
 /msg $chan  ████▄█▌▀▌▀▐▌▀▐▌▀█▄▄█▌
 /msg $chan  ▄▄▄▄▄██████████████▀
  /msg $chan ^_^this wale is used %coolc times^_^
}

on 1:text:!wale callme:#:{
  inc %callmec
  inc %allc
  callmewale ( Requested by $nick )
  /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
  /msg $chan ██████▌▄▌▄▐▌█▌██▌▀▀██▀▀
  /msg $chan ████▄█▌▀▌▄▐▌▀▌▀███▄█▌
  /msg $chan ▄▄▄▄▄██████████████▀

  /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
  /msg $chan ██████▌▄▀▄▐▌__██▌▀▀██▀▀
  /msg $chan ████▄█▌███▐▌▀▀████▄█▌
  /msg $chan ▄▄▄▄▄██████████████▀
  /msg $chan ^_^this wale is used %callmec times^_^

}

Comments

Sign in to comment.
DFSFOT   -  Jan 21, 2012

ok but plz got to FWS V2 there is my better one...

 Respond  
Kentaro Kurosaki   -  Jan 21, 2012

DFSFOT: I added it to mine ;p
As I run this in my bot

 Respond  
DFSFOT   -  Jan 21, 2012

@kentaro kurosaki i cant find

 if ($nick != "mynick") { ignore -u60 $nick } 

in my script...

 Respond  
Kentaro Kurosaki   -  Jan 21, 2012

Me like ;) Wonderful script
EDIT: I added

if ($nick != "mynick") { ignore -u60 $nick }

you could probably change that to

if ($istok($waitwhale,$nick,C) = $true) { ignore -u60 $nick }
;with C being the ascii character with which to seperate the nicks, 32 for a space, 44 for a comma, etc. if I ;have the table of ascii characters in my bookmarks ;p
alias waitwhale {
return nick1 nick2 nick3 
}
 Respond  
MashhitDK   -  Jan 17, 2012

is %spam made by mIRC or did you made it yourself?
Like Abcdefmonkey said... it's just a variable created to make sure the !wale doesn't flood channels.
What are the options of spam? What do it consider as spam?
That all depends on where you implement it... in the example I gave it will consider all !wale's as "SPAM".
So once someone has done !wale there is a 1 minute wait (60 seconds) before anyone else can do it again.

 Respond  
Abcdefmonkey   -  Jan 17, 2012

%spam is a variable that he created. The options are limited when using it the way he used

inc -u60 %SPAM-Wale

When using the variable like this the -uN (N being any number) switch the variable is unset after N seconds. So, in his example:

inc -u60 %SPAM-Wale

the variable %SPAM-Wale will unset after 60 seconds. However, this is a good simple spam protection system. The portion after the On TEXT event

if (%SPAM-Wale) { halt }

will recognize that the variable %SPAM-Wale is set to unset after 60 seconds, meaning since it halts upon finding the variable not null, it'll prevent anyone from using the command for 60 seconds. The 60 can be changed to anything. :)

Hope I was helpful.

 Respond  
DFSFOT   -  Jan 17, 2012

@mashhitDK THANKS!!
i found a site with some tuts and i am learning from there.
is %spam made by mIRC or did you made it yourself? and what are the options of spam? what do it consider as spam?

 Respond  
MashhitDK   -  Jan 16, 2012

Your welcome... I'm still a NUB tho... but regarding flood protection ->
Simply make something like

if (%SPAM-Wale) { halt }
inc -u60 %SPAM-Wale

Then add it... in My EDiT I would implement it here ->

;*** Wale section
  elseif (%SPAM-Wale) { halt }
  else { inc -u60 %SPAM-Wale | inc %allc
    if ($strip($2) == CallMe) { inc %callmec | CallMe # }
    elseif ($strip($2) == COOL) { inc %coolc | CoolWale # }
    elseif ($strip($2) == LOL) { inc %lolc | LoLWale # }
    elseif ($strip($2) == NRML) { inc %nrmlc | Wale # }
    elseif ($strip($2) == HEART) { inc %heartc | HeartWale # }
    elseif ($strip($2) == LOVE) { inc %winc | LoveWale # }
    elseif ($strip($2) == WiN) { inc %winc | WinWale # }
    elseif ($strip($2) == FAiL) { inc %failc | FailWale # }
  }

And I think you will be able to find help for pretty much everything here... but else http://www.mirc.net
or just google your problem. And the is always /help in mIRC

 Respond  
DFSFOT   -  Jan 15, 2012

@MashhitDK thx for help.
you know that i am a noob in scripting, i dont know how to make flood protection can you also explain that? or give me a nice site where i can learn everything about mIRC scripting.

 Respond  
jaytea   -  Jan 15, 2012

elseif - is used to "speed" up the script... when using elseif

no, that is a side effect of using it in one particular way. "elseif (...) { ... }" is just another way of writing "else { if (...) { ... } }". understand how 'if' and 'else' work, and the behaviour of 'elseif' will become apparent.

And (!$2) = ($2 == $null)

again, no. if (!$2) = if ($2 == $null) || ($2 == 0) || ($2 == $false). sure, you may not expect $2 to equal $false or 0, but it is important to realize that there is a difference between the two.

i dont see much differents with my script but i think i will use it this way if everybody likes it in this way.

:(

don't be pressured into using code that you don't want to. i can't say i blame you for not being altogether convinced, since very little appears to have been said about WHY an alternative approach might be useful for you in this case. the message you should take from these comments is not that using multiple text events for the same script is bad (since this is wrong), it's that using a single TEXT event here may, with a bit more work, result in code that is easier for you to read and maintain. i say 'a bit more work' since eliminating the TEXT events without any code factoring accomplishes nothing useful.

there is a relevant quote on Wikipedia's article on the abstraction principle:

Each significant piece of functionality in a program should be implemented in just one place in the source code. Where similar functions are carried out by distinct pieces of code, it is generally beneficial to combine them into one by abstracting out the varying parts.

an example of one such piece of functionality is the action shared by all !wale (sic) requests: "inc %allc". understanding this principle takes time and putting it into action takes practice, but it's a good one to code by and will enable you to make some sound decisions.

 Respond  
MashhitDK   -  Jan 15, 2012

^ I haven't tested your script... but don't think there is anything wrong..
just the way it's written... would be cleaner to combined all of the text events to one single on :TEXT:
instead of having several on
:TEXT: events

Tell me a little bit about else/elseif/if (very little bit i think i know most of it and do it need end if?)
what do this mean? (!$2) i know $2 but why !?
and do you exactly mean with $strip?
I'll try to... but not sure how to explain... but here goes ->
if - is for checking whatever
elseif - is used to "speed" up the script... when using elseif
else - is used if everything else fails
Ex.

on *:TEXT:!Whale*:#: {
  if ($strip($2) == $nick) { msg # This is just for testing }
  elseif ($nick == $strip($2)) { msg # This is just for testing }
  else { msg # Sorry... no such luck }
}

I know it's a weird example...
But if it was made with just
if - statements both the if and elseif would have replied back
when using if first and the elseif for everything else... only the matched text will "activate" and not anything after.

And (!$2) = ($2 == $null)
It's if 2nd word isn't there / only one word
$strip($2) strips the text for both color and bold + underscore

If you need more help and don't feel like waiting on reply... feel free to drop by #Coders on "My" server ;)

Here is a EDiT of the orginal script... not tested... but if your lucky it's working...

;*** Manually part
menu channel {
  .wales
  ..failwale:failwale #
  ..winwale:winwale #
  ..lovewale:lovewale #
  ..heartwale:heartwale #
  ..wale:wale #
  ..lolwale:lolwale #
  ..coolwale:coolwale #
  ..callme:callme #
}
;*** Other people part
on *:TEXT:!wale*:#: {
  ;*** !Wale
  if (!$2) { .notice $nick try !wale help . }
  ;*** !Wale Credits
  elseif ($strip($2) == CREDiTs) { msg # Everythin is made by DFSFOT except the wales.
    msg # If you know who the wales made, say it Me and I change it you can get this script at www.hawkee.com (search for funny wale script)
  }
  ;*** !Wale help
  elseif ($strip($2) == HELP) {
    .notice $nick welcome to wale help
    .notice $nick Example: !wale <command>
    .notice $nick -
    .notice $nick wale show commands:
    .notice $nick "fail" for failwale (failwale is used %failc times)
    .notice $nick "win" for winwale (winwale is used %winc times)
    .notice $nick "love" for lovewale (lovewale is used %lovec times)
    .notice $nick "heart" for heartwale (heartwale is used %heartc times)
    .notice $nick "nrml" for normal wale (normalwale is used %nrmlc times)
    .notice $nick "lol" for lolwale (lolwale is used %lolc times)
    .notice $nick "cool" for coolwale (coolwale is used %coolc times)
    .notice $nick "callme" for call me wale (callme wale is used %callmec times)
    .notice $nick -
    .notice $nick other commands:
    .notice $nick "stats" shows the stats
    .notice $nick "credits"
    .notice $nick thank you for using!
  }
  ;*** !Wale stats
  elseif ($strip($3) == STATS)  {
    .notice $nick stats:
    .notice $nick failwale is used $iif(%failc,$v1,0) time(s)
    .notice $nick winwale is used $iif(%winc,$v1,0) time(s)
    .notice $nick lovewale is used $iif(%lovec,$v1,0) time(s)
    .notice $nick heartwale is used $iif(%heartc,$v1,0) time(s)
    .notice $nick normalwale is used $iif(%nrmlc,$v1,0) time(s)
    .notice $nick lolwale is used $iif(%lolc,$v1,0) time(s)
    .notice $nick coolwale is used $iif(%coolc,$v1,0) time(s)
    .notice $nick callme wale is used $iif(%callmec,$v1,0) time(s)
    .notice $nick all together = $iif(%allcc,$v1,0) time(s)
  }
  ;*** Wale section
  else { inc %allc
    if ($strip($2) == CallMe) { inc %callmec | CallMe # }
    elseif ($strip($2) == COOL) { inc %coolc | CoolWale # }
    elseif ($strip($2) == LOL) { inc %lolc | LoLWale # }
    elseif ($strip($2) == NRML) { inc %nrmlc | Wale # }
    elseif ($strip($2) == HEART) { inc %heartc | HeartWale # }
    elseif ($strip($2) == LOVE) { inc %winc | LoveWale # }
    elseif ($strip($2) == WiN) { inc %winc | WinWale # }
    elseif ($strip($2) == FAiL) { inc %failc | FailWale # }
  }
}
;*** Aliases
alias failwale {
 msg # ▄███████████▄▐█▄▄▄█▌
 msg # ████▌▄▌▄▐▐▌██▌▀▀██▀
 msg # ██▄█▌▄▌▄▐▐▌▀██▄▄█▌
 msg # ▄▄▄█████████████▀
 msg # ^_^this wale is used %failc times^_^
}

alias winwale {
 msg # ▄███████████▄▐█▄▄▄█▌
 msg # ███▌█ █▐▐▌▀█▐▌▀▀██▀
 msg # ██▄▌▀ ▀▐▐▌█▄▐█▄▄█▌
 msg # ▄▄▄█████████████▀
 msg # ^_^this wale is used %winc times^_^
}
alias lovewale {
 msg # ▄███████████▄▐█▄▄▄█▌
 msg # ███▌█▌▄▐▌█▐▌▄▌▀▀██▀
 msg # ██▄▌▀▌▀▐▌█▐▌▄█▄▄█▌
 msg # ▄▄▄██████▄█▄▄███▀
 msg # ^_^this wale is used %lovec times^_^
}
alias heartwale {
 msg # ▄███████▓▓█▓▓██▄▐█▄▄▄▄█▌
 msg # ████████▓▓▓▓▓███▌▀▀██▀▀
 msg # ████▄████▓▓▓█████▄▄█▌
 msg # ▄▄▄▄▄█████▓████████▀
 msg # ^_^this wale is used %heartc times^_^
}
alias wale {
 msg # ▄██████████████▄▐█▄▄▄▄█▌
 msg # ████████████████▌▀▀██▀▀
 msg # ████▄████████████▄▄█▌
 msg # ▄▄▄▄▄██████████████▀
 msg # ^_^this wale is used %nrmlc times^_^
} 
alias lolwale {
 msg # ▄██████████████▄▐█▄▄▄▄█▌
 msg # ██████▌█▌▄▐▌████▌▀▀██▀▀
 msg # ████▄█▌▀▌▀▐▌▀████▄▄█▌
 msg # ▄▄▄▄▄██████████████▀
 msg # ^_^this wale is used %lolc times^_^
}
alias coolwale {
 msg # ▄██████████████▄▐█▄▄▄▄█▌
 msg # ██████▌▄▌▄▐▌▄▐▌█▌▀▀██▀▀
 msg # ████▄█▌▀▌▀▐▌▀▐▌▀█▄▄█▌
 msg # ▄▄▄▄▄██████████████▀
 msg # ^_^this wale is used %coolc times^_^
}
alias callme {
 msg # ▄██████████████▄▐█▄▄▄▄█▌
 msg # ██████▌▄▌▄▐▌█▌██▌▀▀██▀▀
 msg # ████▄█▌▀▌▄▐▌▀▌▀███▄█▌
 msg # ▄▄▄▄▄██████████████▀

 msg # ▄██████████████▄▐█▄▄▄▄█▌
 msg # ██████▌▄▀▄▐▌__██▌▀▀██▀▀
 msg # ████▄█▌███▐▌▀▀████▄█▌
 msg # ▄▄▄▄▄██████████████▀
 msg # ^_^this wale is used %callmec times^_^
}

NOTE: Haven't added anything to the script... just re-wrote it.
Would suggest using flood protection

 Respond  
DFSFOT   -  Jan 14, 2012

@SunnyD i dont understand what you say?
what is wrong with my script?
and what do you mean with this?: This has been the case on more than one whale.

 Respond  
Sorasyn   -  Jan 14, 2012
on 1:Text:!wale*:#: {
  if ($2 == fail) {
    inc %failc
    inc %allc
    /msg $chan Failwale ( Requested by $nick )
    /msg $chan ▄███████████▄▐█▄▄▄█▌
    /msg $chan ████▌▄▌▄▐▐▌██▌▀▀██▀
    /msg $chan ██▄█▌▄▌▄▐▐▌▀██▄▄█▌
    /msg $chan ▄▄▄█████████████▀
    /msg $chan ^_^this wale is used %failc times^_^
  }
  if ($2 == win) {
    inc %winc
    inc %allc
    /msg $chan winwale ( Requested by $nick )
    /msg $chan ▄███████████▄▐█▄▄▄█▌
    /msg $chan ███▌█ █▐▐▌▀█▐▌▀▀██▀
    /msg $chan ██▄▌▀ ▀▐▐▌█▄▐█▄▄█▌
    /msg $chan ▄▄▄█████████████▀
    /msg $chan ^_^this wale is used %winc times^_^
  }
  if ($2 == love) {
    inc %lovec
    inc %allc
    /msg $chan lovewale ( Requested by $nick )
    /msg $chan ▄███████████▄▐█▄▄▄█▌
    /msg $chan ███▌█▌▄▐▌█▐▌▄▌▀▀██▀
    /msg $chan ██▄▌▀▌▀▐▌█▐▌▄█▄▄█▌
    /msg $chan ▄▄▄██████▄█▄▄███▀
    /msg $chan ^_^this wale is used %lovec times^_^
  }
  if ($2 == heart) {
    inc %heartc
    inc %allc
    /msg $chan heartwale ( Requested by $nick )
    /msg $chan ▄███████▓▓█▓▓██▄▐█▄▄▄▄█▌
    /msg $chan ████████▓▓▓▓▓███▌▀▀██▀▀
    /msg $chan ████▄████▓▓▓█████▄▄█▌
    /msg $chan ▄▄▄▄▄█████▓████████▀
    /msg $chan ^_^this wale is used %heartc times^_^
  }
  if ($2 == nrml) {
    inc %nrmlc
    inc %allc
    /msg $chan nrmlwale ( Requested by $nick )
    /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
    /msg $chan ████████████████▌▀▀██▀▀
    /msg $chan ████▄████████████▄▄█▌
    /msg $chan ▄▄▄▄▄██████████████▀
    /msg $chan ^_^this wale is used %normalc times^_^
  }
  if ($2 == lol) {
    inc %lolc
    inc %allc
    /msg $chan lolwale ( Requested by $nick )
    /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
    /msg $chan ██████▌█▌▄▐▌████▌▀▀██▀▀
    /msg $chan ████▄█▌▀▌▀▐▌▀████▄▄█▌
    /msg $chan ▄▄▄▄▄██████████████▀
    /msg $chan ^_^this wale is used %lolc times^_^
  }
  if ($2 == cool) {
    inc %coolc
    inc %allc
    /msg $chan coolwale ( Requested by $nick )
    /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
    /msg $chan ██████▌▄▌▄▐▌▄▐▌█▌▀▀██▀▀
    /msg $chan  ████▄█▌▀▌▀▐▌▀▐▌▀█▄▄█▌
    /msg $chan  ▄▄▄▄▄██████████████▀
    /msg $chan ^_^this wale is used %coolc times^_^
  }
  if ($2 == callme) {
    inc %callmec
    inc %allc
    /msg $chan callmewale ( Requested by $nick )
    /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
    /msg $chan ██████▌▄▌▄▐▌█▌██▌▀▀██▀▀
    /msg $chan ████▄█▌▀▌▄▐▌▀▌▀███▄█▌
    /msg $chan ▄▄▄▄▄██████████████▀

    /msg $chan ▄██████████████▄▐█▄▄▄▄█▌
    /msg $chan ██████▌▄▀▄▐▌__██▌▀▀██▀▀
    /msg $chan ████▄█▌███▐▌▀▀████▄█▌
    /msg $chan ▄▄▄▄▄██████████████▀
    /msg $chan ^_^this wale is used %callmec times^_^
  }
}

I rarely do rebuilds of submitted code like this so enjoy. x) There are any number of ways to accomplish something such as this. You may have people argue that one way is better than the other, but in my eyes as long as it's functional something this recreational shouldn't be coded in stone. Also be sure to proofread before you submit; it's easy to get caught up doing the easy stuff and miss crucial bits.

coolwale ( Requested by $nick )

This has been the case on more than one whale.

 Respond  
DFSFOT   -  Jan 14, 2012

@MashhitDK tons of thanks man.
i dont see much differents with my script but i think i will use it this way if everybody likes it in this way.
this is my first official script/snippet and i dont know alot about scripting in mIRC yet. i learned everything from a site (#beginners)
and i need some things that must be complained because otherway i cant use it on my next scripts
tell me a little bit about else/elseif/if (very little bit i think i know most of it and do it need end if?)
what do this mean? (!$2) i know $2 but why !?
and do you exactly mean with $strip?
it would be very nice if anyone can answer those questions.
thanks in advanced

 Respond  
MashhitDK   -  Jan 14, 2012

Something like this I think they mean ?

on 1:Text:!wale*:#: {
  ;*** !Wale
  if (!$2) { notice $nick try !wale help . }
  ;*** !Wale help
  elseif ($strip($2) == HELP) {
    /notice $nick welcome to wale help
    /notice $nick Example: !wale <command>
    /notice $nick -
    /notice $nick wale show commands:
    /notice $nick "fail" for failwale (failwale is used %failc times)
    /notice $nick "win" for winwale (winwale is used %winc times)
    /notice $nick "love" for lovewale (lovewale is used %lovec times)
    /notice $nick "heart" for heartwale (heartwale is used %heartc times)
    /notice $nick "nrml" for normal wale (normalwale is used %normalc times)
    /notice $nick "lol" for lolwale (lolwale is used %lolc times)
    /notice $nick "cool" for coolwale (coolwale is used %coolc times)
    /notice $nick "callme" for call me wale (callme wale is used %callmec times)
    /notice $nick -
    /notice $nick other commands:
    /notice $nick "stats" shows the stats
    /notice $nick "credits"
    /notice $nick thank you for using!
  }
  ;*** !Wale stats
  elseif ($strip($3) == STATS)  {
    /notice $nick stats:
    /notice $nick failwale is used %failc time(s)
    /notice $nick winwale is used %winc time(s)
    /notice $nick lovewale is used %lovec time(s)
    /notice $nick heartwale is used %heartc time(s)
    /notice $nick normalwale is used %normalc time(s)
    /notice $nick lolwale is used %lolc time(s)
    /notice $nick coolwale is used %coolc time(s)
    /notice $nick callme wale is used %callmec time(s)
    /notice $nick all together = %alllc times
  }
}
 Respond  
DFSFOT   -  Jan 14, 2012

so you guys mean istead of:
[spoiler]

on 1:Text:!wale help:#: {
  /notice $nick welcome to wale help
  /notice $nick Example: !wale <command>
  /notice $nick -
  /notice $nick wale show commands:
  /notice $nick "fail" for failwale (failwale is used %failc times)
  /notice $nick "win" for winwale (winwale is used %winc times)
  /notice $nick "love" for lovewale (lovewale is used %lovec times)
  /notice $nick "heart" for heartwale (heartwale is used %heartc times)
  /notice $nick "nrml" for normal wale (normalwale is used %normalc times)
  /notice $nick "lol" for lolwale (lolwale is used %lolc times)
  /notice $nick "cool" for coolwale (coolwale is used %coolc times)
  /notice $nick "callme" for call me wale (callme wale is used %callmec times)
  /notice $nick -
  /notice $nick other commands:
  /notice $nick "stats" shows the stats
  /notice $nick "credits"
  /notice $nick thank you for using!
}

[/spoiler]

on *:text:!wale help*:#:{
 if ($2 == win) { 
;Commands for Wale Win here;
welcome to wale help
 Example: !wale <command>
  -
  wale show commands:
  "fail" for failwale (failwale is used %failc times)
  "win" for winwale (winwale is used %winc times)
  "love" for lovewale (lovewale is used %lovec times)
  "heart" for heartwale (heartwale is used %heartc times)
  "nrml" for normal wale (normalwale is used %normalc times)
  "lol" for lolwale (lolwale is used %lolc times)
  "cool" for coolwale (coolwale is used %coolc times)
  "callme" for call me wale (callme wale is used %callmec times)
  -
  other commands:
   "stats" shows the stats
  "credits"
  thank you for using!
 }
 }

but i think i understand it wrong...

}

can you show it with one command?
or if can some

 Respond  
Known   -  Jan 14, 2012

He is saying that they are if statements, so if someone did

 !wale win 

then it would show the win wale. $2 is basically what is said after the first statement, and so $3 is the 3rd statement, etc.

It's a easier way to make everything more organized and cleaner looking instead of having a bunch of on text statements.

 Respond  
DFSFOT   -  Jan 14, 2012

@SunnyD can u explain if($2 == win) ?
idk what it mean or do
and what do it do? msg/notice/query/channel?

 Respond  
Sorasyn   -  Jan 14, 2012

You can utilize if statements to better shorten your code.

on *:text:!wale*:#:{
     if ($2 == win) { 
           ;Commands for Wale Win here;
     }
}

EDIT: LOL Sorry I forgot the closing BB Code.

 Respond  
DFSFOT   -  Jan 14, 2012

@abcdefmonkey
lol i know it is whale but that whale is called fail wale
about nicklist sorry i forgot the last steps of that and also didnt test that i thought that is easy and is good :D
i fixed it and now it must work. but hawkee do not support unicode do it? because the whale must look like: Image
and how can i make it shorter?

 Respond  
Abcdefmonkey   -  Jan 14, 2012

Just to test your script and give you some decent feedback, I tried it. The nicklist portion spams the nicklist and does nothing. All the options are greyed out. Also, the on text events could be shortened, instead of spamming the user. And it wouldn't hurt to spell whale correctly :P Overall, it's okay.

 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.