mIRC Home    About    Download    Register    News    Help

Print Thread
#240954 09/03/13 01:30 PM
Joined: Feb 2013
Posts: 7
T
Texaras Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Feb 2013
Posts: 7
I have made this script and i can't find out why it doesn't work please help me

Quote:
alias Contact {
hmake Contacts 10
hadd -m Contacts 1 %col1 Leader9 $gettok(%leaders,1,44) Skype : $gettok(%con,1,32) %col2
hadd -m Contacts 2 %col1 Leader9 $gettok(%leaders,2,44) Skype : $gettok(%con,2,32) %col2
}

on *:TEXT:*:%channel: {
if ( $ulevel == 30 ) && ( $1 == !contactadd ) {
set %con $addtok(%con,$2,32)
set %con $addtok(%con,$3,32)
}
if ( $ulevel == 30 ) && ( $1 == !contactrem ) {
set %con $remtok(%con,$2,32)
set %con $remtok(%con,$3,32)
}
if ( %nick ison %channel ) && ( $1 == !contact ) {
notice $hget(Contacts,Item1)
notice $hget(Contacts,Item2)
}
}


Thanks for any help in advance

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Where do you set %col1, %col2, %nick and %channel?

Also, which part of the script doesn't work? Do you get any error messages?

And you haven't specified a target in the /notice command; you need to /notice a nick or a channel.


Link Copied to Clipboard