mIRC Home    About    Download    Register    News    Help

Print Thread
#232908 29/06/11 06:16 PM
Joined: Jun 2011
Posts: 5
C
Cheezey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Jun 2011
Posts: 5
The following will not work.
Code:
on +1:join:#:{ 2:$nick }

This is what the server window says when someone joins:
Originally Posted By: "mIRC"
2:$NICK unknown command


What's going on here, and how can I fix it?


---CHEEZEY---
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
2:$nick *IS* an invalid command. What is it you're trying to accomplish with that script? If you want it to output 2: followed by the nick of the person joining (not sure why you would want to output 2: ), then put a space after the colon and use msg $chan or msg $nick to tell it what you want it to do.

Last edited by Riamus2; 29/06/11 06:54 PM.

Invision Support
#Invision on irc.irchighway.net
Joined: Jun 2011
Posts: 5
C
Cheezey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Jun 2011
Posts: 5
Originally Posted By: Riamus2
2:$nick *IS* an invalid command.

Obviously.

Originally Posted By: Riamus2
What is it you're trying to accomplish with that script?

I'm trying to set their level to 2.


---CHEEZEY---
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
/help /auser

replace 2:$nick with:

auser 2 $nick


Invision Support
#Invision on irc.irchighway.net
Joined: Jun 2011
Posts: 5
C
Cheezey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Jun 2011
Posts: 5
THANK YOU! laugh

It works!!


---CHEEZEY---

Link Copied to Clipboard