Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
multiserv related query/chat script help
Forums
Active Threads
Search
Who's Online
Help
Print Thread
multiserv related query/chat script help
#
145255
21/03/06
12:15 AM
Joined:
Dec 2002
Posts: 1,541
state of confusion
L
landonsandor
OP
Hoopy frood
OP
landonsandor
Hoopy frood
L
Joined:
Dec 2002
Posts: 1,541
state of confusion
What Im looking for is a way to do this:
if "query/chat windows in this server are more than 0, do this"
The ONLY thing I cant figure out is how to do "query/chat windows on this server". Any help would be appreciated
Those who fail history are doomed to repeat it
Copy Link to Clipboard
Re: multiserv related query/chat script help
#
145256
21/03/06
12:30 AM
Joined:
Mar 2005
Posts: 420
X
xDaeMoN
Fjord artisan
xDaeMoN
Fjord artisan
X
Joined:
Mar 2005
Posts: 420
Code:
if ( $query(0) ) { stuff here... }
Is this what you're looking for?
If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Copy Link to Clipboard
Re: multiserv related query/chat script help
#
145257
21/03/06
12:40 AM
Joined:
Dec 2002
Posts: 1,541
state of confusion
L
landonsandor
OP
Hoopy frood
OP
landonsandor
Hoopy frood
L
Joined:
Dec 2002
Posts: 1,541
state of confusion
that I believe only shows on the ACTIVE server. Im looking to check for ANOTHER server (connected to, but not the active server)
Those who fail history are doomed to repeat it
Copy Link to Clipboard
Re: multiserv related query/chat script help
#
145258
21/03/06
02:25 AM
Joined:
Oct 2005
Posts: 1,741
G
genius_at_work
Hoopy frood
genius_at_work
Hoopy frood
G
Joined:
Oct 2005
Posts: 1,741
The command you need to use is /scon or /scid .
/help /scon
You would do something like this in your script
alias test {
scon 4
echo -a $query(0)
scon -r
}
That code would echo the number of queries attached to status window 4.
-genius_at_work
Copy Link to Clipboard
Re: multiserv related query/chat script help
#
145259
21/03/06
05:05 AM
Joined:
Dec 2002
Posts: 1,541
state of confusion
L
landonsandor
OP
Hoopy frood
OP
landonsandor
Hoopy frood
L
Joined:
Dec 2002
Posts: 1,541
state of confusion
awesome, Ill have to work with it
Those who fail history are doomed to repeat it
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
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage