mIRC Home    About    Download    Register    News    Help

Print Thread
#185010 03/09/07 07:26 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
I want to be able to invite a user from my channel menu.
Not working for me, what is wrong here? thx.

Invite User:/invite $$1 #$$?="Enter Who To Invite?:"

Last edited by Garou; 03/09/07 07:27 PM.
Garou #185014 03/09/07 07:52 PM
Joined: Jan 2006
Posts: 111
N
Vogon poet
Offline
Vogon poet
N
Joined: Jan 2006
Posts: 111
Code:
  Invite User:/invite $$1 $$?="Enter Where To Invite?:" 



noMen #185015 03/09/07 07:59 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
Thats not what I need :P
I want to invite a user from another channel into my channel from my channel menu :P

Garou #185016 03/09/07 08:23 PM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
this will work for the nicklist (first selected nick in nicklist)... the problem for me with a channel menu is to use $$1 (= rclicked nick in that channel) and submenu: $1 or $$1 has a different funktion there confused
Code:
menu nicklist  {
  invite $snick($active,1) to....
  .$submenu($sub.invite($1,$snick($active,1)))
}

alias -l sub.invite {
  while ($chan($1) ischan) { return $v1 : invite $2 $v1  }
}


Horstl #185017 03/09/07 08:29 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
I already have this in the nicklist that does just about the samething if I want to invite a user thats already in my channel. :P

.Invite user:{ invite $$1 #$$?="Enter Channel Name" }

Garou #185018 03/09/07 08:33 PM
Joined: Jan 2006
Posts: 111
N
Vogon poet
Offline
Vogon poet
N
Joined: Jan 2006
Posts: 111
ooooooooooooo I think you need this then:

Code:
  Invite User:/invite $$?="Enter Who To Invite?:" $chan

Garou #185019 03/09/07 08:34 PM
Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033
Code:

menu channel {
  Invite:invite $$?="Enter a nickname to invite" #
}



~ Edit ~

noMen beat me
smile

noMen #185020 03/09/07 08:37 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
I need somethin like this!!

.Current Chan:chanserv invite $chan $$?="What Nick?"
.Specify Chan:chanserv invite #$$?="What Channel?(without #)" $$?="What Nick?"

Garou #185021 03/09/07 08:39 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
I tink I got it right??

Specify Chan:chanserv invite #$$?="What Channel?(without #)" $$?="What Nick?"
.Current Chan:chanserv invite $chan $$?="What Nick?"

Garou #185024 03/09/07 08:55 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
Thx guys I just got it right thx.

Invite User:chanserv invite $chan $$?="What Nick?"

Last edited by Garou; 03/09/07 08:56 PM.

Link Copied to Clipboard