well, I cant stand. But ur deleting my comments, yet im trying to help you. I shuld shoot ymself. But ur still having the same problem with ur brackets, at line 12..ö.
You're welcome. And what you do is:
if ($1- !isin $read(yourtxtfile.txt,n,1)) {
The ! infront of isin, means if its not in the file, it'll add. just to give you a hint, u might be able to figure it out yourslef ;p.
And the $1- means the first word and the rest of the sentence.
Oh and btw, since u can edit comments (argh x.x) ill have to post a second one, well, why dont u make a if statement to check if the youtube file is NOT in the txt file, and it will add it. No need to have multiple urls right ;p?
And u know, u can use $fulldate instead of "YouTube window opened $day $+ , $date $+ , $time" etc.
I see, looks kinda usless to me, but someone might need it.
1) Whats with all the dots?
2) your missing () at the starting if statement. This one:
if %tube != on {
Not everyone is using the same script as you are using, since messes colours up. And most of the people here on hawkee rather keep it clean I suppose, or add their own colours.
Its highly annoying to get a script with colours, belive me. Im just telling you that.
Yes, kinda like this:
on *:rawmode:#: {
if (($1 == +q) && ($2 == $me)) {
;The +q for the identifer, if u get +o'ed intead, change the +q to +o etc..
;In rawmode u can get em all working. U can also change the $2 identifier
;to != $me (not equal you) and echo if thats what u want. etc..
;Suppose u already know that.
;Although, u might need to chang the +q to +qo in some networks etc.
msg $chan Thanks for the QOP $nick $+ !
echo -at > You got QOP'ed in $chan $+ !
;The -t switch gives you a time stamp, the -a switch echos in active window.
}
if (($1 == -q) && ($2 == $me)) {
msg $chan Why did u remove my QOP $nick $+ ?
echo -at > You got deqop'ed in $chan $+ !
}
;GL and HF!
}
Lindriancommented on mIRC Snippet: /kb
-
Feb 14, 2007
Although, since the trigget (text event) is set as !* it will trigger on all events made with ! in the channel, either change the main trigger or set it 1 specefic channel. and you could always add an help event,
on *:TEXT:!help:#: {
.notice $nick <how it goes>
}
Just to make it clear for the users ;p. So they wont ask you guys hehe.
have fun & i hope the script I made above works now.
Okay, I did some "fixes" dunno if it'll work, I made it quickly, u can test it yourself :p..
;-------------------------------------
;here it is:
on *:TEXT:!*:#:{
;i've set em all into 1 text event, looks better.
if ($2 == roll) && ($3 == on) {
if (%dice == on) {
.notice $nick 6 Game is already in progress.
goto end
;added an 'goto end' loop instead of halt.
}
if ($2 == roll) && ($3 == off) {
;the 2 statements in the if statement is due to the way i've set the text ;event up.
if (%dice == off) {
.notice $nick The game is already disabled.
goto end
}
else {
set %dice off
.notice $nick the game is now disabled.
goto end
}
else {
set %dicedplayer1 $nick
set %dice on
msg $chan 6 %dicedplayer1 has began the game and you have 30 seconds to write !join
.timer72 1 30 msg $chan 6SOrry, %dicedplayer1 nobody joined your game!
.timer73 1 30 unset %dice* | goto end
;i've also put . infront of timers & notices, to make them 'silent'.
}
}
elseif ($2 == join) {
if ($nick == %dicedplayer1) {
.notice $nick 6 You can`t play with yourself.
goto end
}
}
elseif (%dice == $null) {
.notice $nick 6 Game hasn`t been started yet! Type !dice to start the game.
goto end
}
else {
;added an else statement here and above, to make the event get executed.
.timer72 off
.timer73 off
goto next
:next
set %dicedplayer2 $nick
set %diceplayer1num $rand(1,6)
set %diceplayer2num $rand(1,6)
msg $chan 6 Game has been started...
msg $chan 6 $+ %dicedplayer1 $+ 's rolls ---> %diceplayer1num
msg $chan 6 $+ %dicedplayer2 $+ 's rolls ---> %diceplayer2num
}
if (%diceplayer1num > %diceplayer2num) {
msg $chan 4 $+ %dicedplayer1 won!
unset %dice*
goto end
}
if (%diceplayer1num < %diceplayer2num) {
msg $chan 4 $+ %dicedplayer2 won!
unset %dice*
goto end
;also added this line, so the player number 2 can win aswell.
}
if (%diceplayer1num == %diceplayer2num) {
msg $chan 6 It`s a tie. ROll again!
goto next
}
:end
;and here's the ending loop.
}
}
;----------------------------
Enjoy! And feel free to fix any of the bugs u might find! We're both here to learn after all!
Okay, well u might wanna fix a few grammar problems, its "Translator" and secondly, u might wanna make the edit box a little bigger, so u can easier see what you write. a few more languages would be cool, otherwhize its fine.
Lindriancommented on mIRC Snippet: /dnd
-
Feb 10, 2007
i see totally no use for this script o.o; (And u might wanna say that it shall be posted into the aliases, and not remotes)
And at the last line, or the last part of the script, ur missing an opening bracket at the if statment, and ofcourse an closing bracket