Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
I need some imput on the correct use of $aop
Forums
Active Threads
Search
Who's Online
Help
Print Thread
I need some imput on the correct use of $aop
#
198077
20/04/08
03:28 AM
Joined:
Dec 2002
Posts: 416
O
Othello
OP
Fjord artisan
OP
Othello
Fjord artisan
O
Joined:
Dec 2002
Posts: 416
In what context can I use "
if ( $aop == true )
"
Should this be used in a raw command or on a ON Join or On OP?
Copy Link to Clipboard
Re: I need some imput on the correct use of $aop
Othello
#
198078
20/04/08
03:35 AM
Joined:
Dec 2002
Posts: 1,995
R
RoCk
Hoopy frood
RoCk
Hoopy frood
R
Joined:
Dec 2002
Posts: 1,995
Well you can use it anywhere, it returns $true if auto-op is enabled or $false if auto-op is disabled.
Copy Link to Clipboard
Re: I need some imput on the correct use of $aop
RoCk
#
198079
20/04/08
03:38 AM
Joined:
Dec 2002
Posts: 416
O
Othello
OP
Fjord artisan
OP
Othello
Fjord artisan
O
Joined:
Dec 2002
Posts: 416
I tired this simple script with no responce
ON *:OP:#: {
if ( $aop == true ) { /echo -s a o p - $opnick }
if ( $aop == false ) { /echo -s not aop - $opnick }
}
Last edited by Othello;
20/04/08
03:39 AM
.
Copy Link to Clipboard
Re: I need some imput on the correct use of $aop
Othello
#
198080
20/04/08
03:43 AM
Joined:
Dec 2002
Posts: 1,995
R
RoCk
Hoopy frood
RoCk
Hoopy frood
R
Joined:
Dec 2002
Posts: 1,995
In that case you would have to use $aop($address($opnick,5)) and it would return the first matching address or $null if no matching addresses.
Copy Link to Clipboard
Re: I need some imput on the correct use of $aop
Othello
#
198081
20/04/08
03:59 AM
Joined:
Dec 2002
Posts: 2,884
Norwich, UK
S
starbucks_mafia
Hoopy frood
starbucks_mafia
Hoopy frood
S
Joined:
Dec 2002
Posts: 2,884
Norwich, UK
The boolean true/false values in mIRC are represented by
[color:green]$
true[/color] and
[color:green]$
false[/color] - so your code should read "
if ($aop == $true)
" to check if the Auto-op setting is switched on.
Copy Link to Clipboard
Re: I need some imput on the correct use of $aop
starbucks_mafia
#
198083
20/04/08
04:14 AM
Joined:
Dec 2002
Posts: 1,995
R
RoCk
Hoopy frood
RoCk
Hoopy frood
R
Joined:
Dec 2002
Posts: 1,995
heh .. I didn't even notice the $ was missing. Good catch.
Copy Link to Clipboard
Re: I need some imput on the correct use of $aop
starbucks_mafia
#
198099
20/04/08
01:37 PM
Joined:
Dec 2002
Posts: 416
O
Othello
OP
Fjord artisan
OP
Othello
Fjord artisan
O
Joined:
Dec 2002
Posts: 416
Thanks for the info.
Working late at night makes for a lousy scripter.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage