mIRC Home    About    Download    Register    News    Help

Print Thread
#41219 12/08/03 05:31 AM
Joined: Aug 2003
Posts: 23
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Aug 2003
Posts: 23
echo -s BIENVENIDOS A REDHISPANA
.server chat.redhispana.org
.on 1:connect: .set %clave ?$$="Su Nick" | .nick %clave | echo -s su nick %clave a sido activado | .set %clavenick ?$$="Clave" | .msg nick identify %clavenick | .echo -s su nick %clave ha sido identificado con la clave %clavenick ,bienvenido a RedHispana


any one can tell me if i doing fine

#41220 12/08/03 06:26 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Since you didn't tell us what you want this code to do, it's near impossible to check. Second, there uis avery easy way of checking if you are 'doing fine', or if your code works and does what you want, and that is to boldly go where no scripter has gone before: TEST IT.

PS: I will give you one tip: events never under any circumstance begin with a .on, they begin with on. You cannot silence them with a . You need haltdef for that.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#41221 12/08/03 06:26 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I assume you meant something like..
Code:
on *:CONNECT: {
  if ($server == chat.redhispana.org) {
    set %clave $$?="Su Nick" 
    nick %clave 
    echo -s su nick %clave a sido activado 
    set %clavenick $$?="Clave" 
    msg nickserv identify %clavenick 
    echo -s su nick %clave ha sido identificado con la clave %clavenick $+ , bienvenido a RedHispana.
  }
}

Next time try to translate to English, so we can understand what it is you want. Thank you. grin


Link Copied to Clipboard