mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
I got n26=Whatever!:/me whatever $$1- whatever
To work. But I can't get a , between each name. How do I get it?

Last edited by FireDivine; 20/12/07 05:24 AM.
Joined: May 2007
Posts: 89
T
Babel fish
Offline
Babel fish
T
Joined: May 2007
Posts: 89
What names ? Can you please be more explicit about the problem ?

By the way, to include "," somewhere, use $chr(44) to do so as 44 is the ascii code of ",".

Example:
Code:
var %a = testingcommasinsomething

; the following won't work
var %a = $+(testing,,,commas,,,in,,,something)

; the following shall function
var %a = $+(testing,$chr(44),commas,$chr(44),in,$chr(44),something)


Cordialement


tropnul
Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
It's a pop-up thing. Like slap trout. But multi, and with ,'s.

Joined: May 2007
Posts: 89
T
Babel fish
Offline
Babel fish
T
Joined: May 2007
Posts: 89
Atleast show us the code ... sleep and describe the problem accordingly. We can't guess exactly what it's all about. *cough*


tropnul
Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
Code:
n26=Whatever!:/me whatever $$1- whatever


^

Which when right clicked on will result in.

Quote:
~Me whatever user1 user2 user3 user4 whatever


I would like to have.

Quote:
~Me whatever user1, user2, user3, user4 whatever

Joined: May 2007
Posts: 89
T
Babel fish
Offline
Babel fish
T
Joined: May 2007
Posts: 89
/help $snicks

and wow, it says

Originally Posted By: "mIRC help file"
$snicks

Returns a string of the currently selected nicknames in the active channel listbox in the form:

nick1,nick2,nick3,...,nickN


wink


tropnul
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
This should do what you want.

Code:
n26=Whatever!:/me whatever $replace($snicks,$chr(44),$chr(44) $+ $chr(32)) whatever


Joined: Feb 2006
Posts: 47
F
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2006
Posts: 47
Thanks OrionsBelt! That got it to work perfectly.


Link Copied to Clipboard