mIRC Home    About    Download    Register    News    Help

Print Thread
#27064 30/05/03 04:31 PM
Joined: May 2003
Posts: 3
P
Pehmo Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: May 2003
Posts: 3
How can I run a alias script in same time when i join the channel? (stat script)

#27065 30/05/03 04:44 PM
Joined: May 2003
Posts: 177
P
Vogon poet
Offline
Vogon poet
P
Joined: May 2003
Posts: 177
Code:
on *:JOIN:#:{
if ($nick == $me) { [color:red]alias[/color] }
} 


Replace alias with the alias you want to call.

#27066 30/05/03 07:58 PM
Joined: May 2003
Posts: 3
P
Pehmo Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: May 2003
Posts: 3
hmm. it didn't work, put it in remotes. I shall figure it out myself.

#27067 30/05/03 08:12 PM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
If you use this in your remotes

on *:JOIN:#:{if ($nick == $me) { alias }}

Your alias must be in the aliases not in the remotes
if you use your alias in the remotes then you have to list the alias as

alias TRIGER { COMANDS }




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#27068 30/05/03 08:17 PM
Joined: May 2003
Posts: 3
P
Pehmo Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: May 2003
Posts: 3
got it work but stats go now in the status window?

#27069 30/05/03 08:42 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
if your using an /echo command in your alias, make sure its either -a or you add the channel name to your alias call like this: /myalias $chan and use /echo $$1 <text>


-KingTomato
#27070 30/05/03 09:41 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
If this is a channel stats script, you might want to wait until after you recieve raw 366, when you have the names list.
Code:
on me:*:join:#:set -u30 %mejoin. $+ # 1
raw 366:*:{ 
  if %mejoin. [ $+ [ $2 ] ] { aliasname }  
}

#27071 30/05/03 09:50 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Quote:
Any Other Imput/Ideas/Suggestion would be greatly appreciated......

Here's a couple. smile
Any Other Input/Ideas/Suggestions would be greatly appreciated......

#27072 30/05/03 11:02 PM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
TYPO'S "R" US (Big Hands, Little Keyboard)
grin




Intelligence: It's better to ask a stupid question, then to prove it by not asking....

Link Copied to Clipboard