mIRC Homepage
Posted By: Terror_Vdb own thanks wont work ... - 30/04/03 11:02 AM
[Script]
n0=on ^*:Owner:#:{ //echo $chan $dstime 09(15 $+ $nick $+ 09) 9O15wnz 09(15 $+ $knick $+ 09) | .haltdef
n0= if ( $opnick == $me) {
n0= if ($me isowner $chan) { goto end }
n0= if (%ownthnx == On) { goto yes }
n0= if (%ownthnx == Off) { Halt }
n0= :yes
n0= .msg # 9(1515(9T15hanks for the voic9E15)09) | //echo $chan $dstime $dsme 15(9T15hanks for the ow9N15)
n0= access $chan add owner $address($me,2)
n0= set %ownthnx Off
n0= .timer 1 15 /set %ownthnx On
n0= halt
n0= :end
n0= .haltdef
n0= }
n0= }
n0=on ^*:Voice:#:{ //echo $chan $dstime 09(15 $+ $nick $+ 09) 9V15oiced 09(15 $+ $knick $+ 09) | .haltdef
n0= if ( $opnick == $me) {
n0= if (%voicethnx == Off) { goto end }
n0= if (%voicethnx == On) {
n0= if ($me isreg $chan) { goto yes }
n0= else { halt }
n0= :yes
n0= .msg # 9(1515(9T15hanks for the voic9E15)09) | //echo $chan $dstime $dsme 15(9T15hanks for the voic9E15)
n0= set %voicethnx Off
n0= .timer 1 15 /set %voicethnx On
n0= halt
n0= :end
n0= .haltdef
n0= }
n0= }
n0=}
n0=on ^*:Op:#:{ //echo $chan $dstime 09(15 $+ $nick $+ 09) 9O15ped 09(15 $+ $knick $+ 09) | .haltdef
n0= if ( $opnick == $me) {
n0= if ($me isowner $chan) { goto end }
n0= if ($me isop $chan) { goto end }
n0= else { goto yes }
n0= if (%opthnx == On) { goto yes }
n0= if (%opthnx == Off) { goto end }
n0= :yes
n0= .msg # 9(1515(9T15hanks for the hos9T15)09) | //echo $chan $dstime $dsme 15(9T15hanks for the hos9T15)
n0= set %opthnx Off
n0= .timer 1 15 /set %opthnx On
n0= halt
n0= :end
n0= .haltdef
n0= }
n0= }

problem is that it doesnt work with the if reg [censored] please help me
Posted By: saragani Re: own thanks wont work ... - 30/04/03 12:18 PM
Why do you write all your scripts with n0= ????

And again, no one understands what you want!!!

Be more spesific!
Posted By: a_th3ory Re: own thanks wont work ... - 30/04/03 12:30 PM
I think he was pretty specific. All he wants is to have his owner, voice and host thanks fixed. You simply don't understand anything. I'll look at your "thanks" script in a while
Posted By: Terror_Vdb Re: own thanks wont work ... - 30/04/03 12:34 PM
thanks
Posted By: theRat Re: own thanks wont work ... - 30/04/03 12:53 PM
Do you write your scripts in notepad or where do you get those n0= stuff???
Posted By: Terror_Vdb Re: with notepad - 30/04/03 12:59 PM
in a .ini file learned from a friend and it works very well
other stuff by than
Posted By: Terror_Vdb Re: own thanks wont work ... - 30/04/03 01:05 PM
shitting own thanks :P
i have another one but thats a simple one with the protection (if %voice-, own-, opthnx == on or off)
but that's a simple one i want to create a advanced one just like that one i posted
Posted By: laz Re: own thanks wont work ... - 30/04/03 01:46 PM
You use use mIRC remote editor for that (press alt+r in mIRC). Its much easier to read and has some other stuff, also you dont have to add that nX stuff.
Posted By: Terror_Vdb Re: own thanks wont work ... - 30/04/03 01:51 PM
ok
Posted By: KingTomato Re: own thanks wont work ... - 30/04/03 11:15 PM
First off, as many have commented, the editing outside of mirc isn't easier (Esp notepad). Don't get me wrong, notepad is a very (very) handy tool, but with mirc, you have a tool that will check your structure for you [{}] bottun on top right.

Secondly, if you stil insist on editin outside of mirc, try using the .mrc extension. This way you do not need the [script] and nX= stuff. All you need to do is write your code, and thats it!

Also looking at your code, there isn't an on OWNER Event, that I'm aware of? If you plan on making one, don't you need to use on SIGNAL? I could be wrong..
Posted By: starbucks_mafia Re: own thanks wont work ... - 01/05/03 12:23 PM
The on OWNER event exists but is undocumented.
Posted By: KingTomato Re: own thanks wont work ... - 01/05/03 07:24 PM
What exactly is the implimentation, is it for the +a event?
Posted By: starbucks_mafia Re: own thanks wont work ... - 01/05/03 10:23 PM
I would imagine it's for +q since that's generally referred to as the owner mode on many IRC servers. +a usually just sets someone as 'protected'. Whether that applies to the on OWNER event I don't know. I've never actually used it and since it's undocumented there's no obvious place to look it up. My suggestion is to just try it out.
Posted By: Terror_Vdb Re: own thanks wont work ... - 06/05/03 08:14 AM
-a is $active
Posted By: _D3m0n_ Re: own thanks wont work ... - 06/05/03 01:35 PM
did u read anything in any of these posts before u typed that out wasting everyones times? -a in a channel mode would mean to remove protection from a user in most networks-a only means $active when your using its in some sort of comand line like ( /echo -a hey )
© mIRC Discussion Forums