umm if ur gonna post on a site where most of the people speak english. then you should use the translator yourself and post in english. and i would say the same bout anyone posting on a site thats mostly one language. use the language that most of the people there use
:/ Spanish or not, some people might find this useful
MichaelA: I had some trouble with this script actually.. :/ this is what i did with it..
menu nicklist {
.[-[_Mute_]-]
..[-[-Mute $1 $+ -]-]:{
set %Mute.Nick $1
set %Mute.Channel $chan
set %Mute.Time $$?"How many minutes do you want to mute %Mute.Nick for?"
if (%Mute.Time isnum) {
set %MuteMSG $$?"What do you want the mute message to be?"
msg $chan 4,1.:[9 $+ %Mute.Nick $+ 4]:. .:[11You have been muted for9 %Mute.Time 11minutes4]:. .:[11Reason:9 %MUTEMSG $+ 4]:.
.timerMUTE 1 $calc(%Mute.Time * 60) mode $chan -b $+ $iif(%Mute.Nick isavoice #,+v) ~q: $+ $address(%Mute.Nick,2) %Mute.Nick
mode $chan -vqaoh+b %Mute.Nick %Mute.Nick %Mute.Nick %Mute.Nick %Mute.Nick ~q: $+ $address(%Mute.Nick,2)
.timerMUTE 1 $calc(%Mute.Time * 60) msg $chan 4,1.:[9 $+ %Mute.Nick $+ 4]:. .:[11You have been unmuted. In future, please follow all the rules, and you will not be muted again4]:. .:[11The reason you were muted for is:9 %MuteMSG $+ 4]:.
.timer 1 $calc(%Mute.Time * 60) mode $chan +v-b %Mute.Nick ~q: $+ $address(%Mute.Nick,2)
.timer 1 $calc(%Mute.Time * 60) unset %Mute.Nick
}
else { echo -a 4,1.:[9Error:11 You must specify a time in numbers!4]:. }
}
..[-[-Unmute $1 $+ -]-]:{
mode $chan +v-b %Mute.Nick ~q: $+ $address(%Mute.Nick,2)
.timer 1 1 msg $chan 4,1.:[9 $+ %Mute.Nick $+ 4]:. .:[11You have been unmuted early. In future, please follow all the rules, and you will not be muted again4]:. .:[11The reason you were muted for is:9 %MuteMSG $+ 4]:.
unset %Mute*
.timerMUTE off
}
}
ON *:NICK:{
if ($nick == %Mute.Nick) {
set %Mute.Nick $newnick
}
}
ON *:JOIN:%Mute.Channel:{
if ($address($nick,2) == $address(%Mute.Nick,2)) {
mode $chan -v $nick
set %Mute.Nick $nick
}
}
I had to fix a few of the timers..and the unmute feature o.O it looks good how it is when you did it..but it didnt like to work correctly :P..you know how some scripts are a pain in the ass..
:P Thank you, PunkTuReD. Also LadySorien,if you are using mIRC or any version/script OF mIRC, if you press ctrl+h, then it should find all missing/missplaced brackets for you.
It should say somthing like, " There seems to be a bracket mis-match somewhere around line 29/etc." OR..just make sure you close all of the brackets that you open :P
But there are many ways you can go with this script..people prefer to do it like Teen is..because that is one of the efficiant ways. The thing about bot scripts, is that there is no failing..its just the scripters point-of-view of how to code it ;) There is really no " right or wrong " way to do it...unless the script fails..then you may have coded it wrong. ^_^
Hawkee doesnt have the Platform that this is really written on, so i just put " C++ " again. The real code is in a from of basic(TI).This program draws a Series or Parallel circuit..just depends on which one you are doing. Each circuit has 2 resistors. a Amp gauge, and so forth, it calculates the amount of electricty that can flow through through the circuit, without you blowing it. :D enjoy those..
:/ i get really bored in class most of the time...and last year in physics, our teach made a lesson that involed us learning how to program them..i was the only on in my class that caught on to it xD..i have a circuit program that im fixing to post..but it is over 100 lines..so it may take me a while. Oh, and one more question >.> i havent figured out how to make the " Quote: " or " Code: " box..may you tell me how to do that, xD..still trying to figure out all the things about hawkee
I'm suprised that no on has pointed this out yet, but when you are typing
Code:
on :text:Hoss I love you:#:{
msg $chan I love you too, $+ $nick }
on :text:Hoss, I love you:#:{
msg $chan I love you too, $+ $nick }
on :text:Hoss ilu:#:{
msg $chan I love you too, $+ $nick }
on :text:Hoss is boss:#:{
msg $chan You know it! B) }
:
You can simplify it down to something like
Code:
on Text::#: {
if ($1- == Hoss is boss) msg $chan You know it! B)
if ($1- == blah blah) msg $chan and so-forth
}
:
Also..if it is just a one code line..like " msg $chan You know it! B)" you dont need the brackets around that..but if it is like a code " msg $chan You know it! B) | me bites $nick" you can just do it in 2 lines..take away the " | " but you do need brackets around that. :)
^^ Besides mIRC code, I also program the TI83,TI84 calculators.I put the Platform as C++ Because i don't know what this code language is..kinda sad because i know how to code it, but anywho. This program calculates the percent of error in a measurment. When you take a measurment, there is an exact measurment and your measurment, which is a estimate, and there is a percent of error that you will have...
Yes there is a lot of repetition, but really doesnt matter. Same commands throughout the script, but only certain users can use certain commands. That is why its split up into five different levels. It works for what i want it to do, and thats all i care about ^_^. I'm new at scripting anyways...its not like I have time to sit down several hours a day and study scripting :/ i have plenty of Calculus and College Algebra work i could be doing.
This is just a simple bot command script i put together. just load it into your remotes and follow the instructions. Put comments if you'd like, but dont be saying stuff like " oh, i made that script, or something just like it" because most likely...it does look like yours..there are many bot scripts on hawkee, and it doesnt mean that this one is yours. And you will notice that there are a few new..