mIRC Home    About    Download    Register    News    Help

Print Thread
#21615 30/04/03 11:02 AM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
[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

#21616 30/04/03 12:18 PM
Joined: Feb 2003
Posts: 282
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
Why do you write all your scripts with n0= ????

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

Be more spesific!

Last edited by saragani; 30/04/03 12:19 PM.
#21617 30/04/03 12:30 PM
Joined: Apr 2003
Posts: 9
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Apr 2003
Posts: 9
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

#21618 30/04/03 12:34 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
thanks

#21619 30/04/03 12:53 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Do you write your scripts in notepad or where do you get those n0= stuff???


Code:
//if ( khaled isgod ) echo yes | else echo no
#21620 30/04/03 12:59 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
in a .ini file learned from a friend and it works very well
other stuff by than

#21621 30/04/03 01:05 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
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

#21622 30/04/03 01:46 PM
Joined: Dec 2002
Posts: 54
L
laz Offline
Babel fish
Offline
Babel fish
L
Joined: Dec 2002
Posts: 54
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.

#21623 30/04/03 01:51 PM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
ok

#21624 30/04/03 11:15 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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..


-KingTomato
#21625 01/05/03 12:23 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
The on OWNER event exists but is undocumented.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#21626 01/05/03 07:24 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
What exactly is the implimentation, is it for the +a event?


-KingTomato
#21627 01/05/03 10:23 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#21628 06/05/03 08:14 AM
Joined: Apr 2003
Posts: 55
T
Babel fish
OP Offline
Babel fish
T
Joined: Apr 2003
Posts: 55
-a is $active

#21629 06/05/03 01:35 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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 )


D3m0nnet.com

Link Copied to Clipboard