mIRC Home    About    Download    Register    News    Help

Print Thread
user prot #101190 20/10/04 11:52 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
we have are on server, witch basicly about 30 of us talk on, and alot of the times r mates change there name to try n fool us, i want it so that if a nick comes in that i have tagged, it will echo nick is normally bla

i have

alias mate { auser mate $address($1,6) $1 }

on mate:join:#squatjuice:{
var %n = $$ulist($address($nick,6),mate,1).info
if %n != $nick { echo #squatjuice $nick was previously %n }
}
then in popups

Tag Prot
.Add:/mate $$1

but it aint working

Re: user prot #101191 21/10/04 11:04 AM
Joined: Sep 2003
Posts: 27
T
TravisK Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Sep 2003
Posts: 27
you have 2 $'s infront of ulist whne im pretty sure you just want one, if that dont fix it witch im pretty sure it wont right off... you prolly just need to delay the var par that gets $address cause its trying to get $address from the ial b4 its aviable OR what i would do is just use $mask($fulladdress,<N>) instead, it does a /userhost i belive

hope this fixes it, i didnt really look at the code that closely to see if it would really work i just, noticed 2 main things that were wrong with it

Re: user prot #101192 21/10/04 11:48 AM
Joined: Mar 2004
Posts: 175
Relinsquish Offline
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
Code:
alias mate { guser mate $$1 2 $$1 }
on mate:join:#squatjuice:{
If ($UList($WildSite,mate,1).info != $Nick) { echo # $Nick was previously $IfMatch }
}
menu nicklist {
-
Tag Prot
.Add:/mate $$1
-
}


- Relinsquish
Re: user prot #101193 21/10/04 11:50 AM
Joined: Mar 2004
Posts: 175
Relinsquish Offline
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
Having 2 $'s does not matter. If you put one, it'll continue the script even if that identifier does not exist. Putting 2 $'s will stop the command if the identifier does not exist.


- Relinsquish