|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
Hello,
I want to suggest an opinion of one identifier that will return the currently connected server description, as the $serverip exist's i thought that you could also add the $serverdesc or something like that will return the currently $server description that the user is connected, I don't know if this can be with an other command or if it is already exists i search for it and didn't find any result's .
e.g: testuser using magic.testirc.com The MagiC server of TestIRC network
|
|
|
|
Joined: Jul 2006
Posts: 4,105
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,105 |
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
Not this, i main the currently mine connected server description
e.g: on /links command at the right after the server name it has the server description this.
Last edited by westor; 25/06/09 10:30 PM.
|
|
|
|
Joined: Jul 2006
Posts: 4,105
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,105 |
Then you certainly want $link(N).info ?
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
Yes this but when i use the $link(N).info i must have the LINKS window open to use this other way the result is $null , how can i get the server info without opening the LINKS window?, This is what exactly said to add into the mIRC.
e.g: //echo my server: $serverdesc or e.g: //echo other server: $serverdesc(1).desc or something like these or any other that will return the server link description.
Last edited by westor; 26/06/09 05:21 PM.
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
The server description is not sent to IRC clients when they connect, which means mIRC would have to query the server for $serverdesc to work. No other identifier currently does this.
|
|
|
|
Joined: Nov 2004
Posts: 842
Hoopy frood
|
Hoopy frood
Joined: Nov 2004
Posts: 842 |
Would this have any use in the long run?
Maybe I'm missing something here?
What do you do at the end of the world? Are you busy? Will you save us?
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
I want to say that, when you are using the $serverdesc identifier that will return the currently ($cid) connected server info. e.g: RAW 312 312 <nick> <server> :<info>
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
We understand what you're asking but Collective's point still stands. This information isn't available to mirc automatically (eg when connecting) - mirc has to explicitly request it. This is not the sort of thing identifiers (should) do.
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
I think that identifier will not be so difficult to be added , also it will more helpful , any way if you take my idea good you can continue to add this or something like this , other way thanks for your time 
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
If it's not difficult to add, try implementing it for yourself. An exercise like this will illustrate exactly what the difficulty is-- incidentally, the same difficulty being described above. And hey, if you manage to implement it, you can use it before Khaled adds it (that is, if he adds it).
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
hehe, the problem is that i don't know how to add this, i don't know C++ or any of these scripting languages , only mIRC Scripting , and i like it much better that all the others
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
Then implement it in mIRC script (which is what I was implying you should do).
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
Yes but i don't know how can i make it can you give me an example??
|
|
|
|
Joined: Jan 2003
Posts: 1,063
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 1,063 |
I want to say that, when you are using the $serverdesc identifier that will return the currently ($cid) connected server info. e.g: RAW 312 312 <nick> <server> :<info>
raw <numeric>:<matchtext>:<commands>
Examples
The following script filters out the channels list numeric when you use the /list command.
raw 322:*mirc*:/echo 5 raw $numeric : $1-
If it ain't broken, don't fix it!
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
LOL, What the point of your reply i ask said before like the 312 raw numeric not the 322, read again what i post to be added.
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
Are you really that big of an idiot?
You asked for an example of the raw event, you got an example of how to use raw events. Maybe you should read the help file again. Are you expecting someone to write the exact script for you and call it an "example"? The point was to write the code yourself. Change the 2 to a 1, and be on your way. If you're *that* lazy or inept and want someone to write a script for you, ask in the Scripts & Popups section.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Dec 2008
Posts: 1,515
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,515 |
If i wanted that or if i was lazy i wouldn't post anything, maybe the idiot person will be you, i asked an example from the currently subject not for 322 but for 312 and something about the $serverdesc theme, to giving me an example that how can i use the RAW commands i can see this by myself thanks, and better thinking before posting your idiot answer.
|
|
|
|
Joined: Mar 2007
Posts: 218
Fjord artisan
|
Fjord artisan
Joined: Mar 2007
Posts: 218 |
Sorry, but i have to agree with argv0 here. An example of what could be done was given and you LOL'D at it. It might be that you need to explain yourself more clearly in future. But you aren't going to get it all scripted on here unless some good members are very generous.
|
|
|
|
Joined: Jan 2007
Posts: 1,156
Hoopy frood
|
Hoopy frood
Joined: Jan 2007
Posts: 1,156 |
You are asking for help yet calling him an idiot?
raw 312:*:echo -s . $rawmsg
You figure it out.
|
|
|
|
|