mIRC Home    About    Download    Register    News    Help

Print Thread
#54541 14/10/03 08:18 AM
Joined: Oct 2003
Posts: 8
J
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Oct 2003
Posts: 8
on 1:INPUT:*: {

if $1 == !oper { set %clave $$?="oper" | .oper $$?="nick" %clave | halt

if $1 == !info {
.echo -a ** INFO **
.echo -a Nick : $Me
.echo -a server : $server
.echo -a Canal : # | halt

)


its fine lke this !!! help granted !!!


thnx

#54542 14/10/03 09:26 AM
Joined: Oct 2003
Posts: 6
C
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
C
Joined: Oct 2003
Posts: 6
Well, you know you're missing an enclosing } twice..

on 1:INPUT:*: {

if $1 == !oper { set %clave $$?="oper" | .oper $$?="nick" %clave | halt >>> } <<<

if $1 == !info {
.echo -a ** INFO **
.echo -a Nick : $Me
.echo -a server : $server
.echo -a Canal : # | halt

>>> } <<<


- For I Shall Prevail
#54543 14/10/03 01:46 PM
Joined: Apr 2003
Posts: 35
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Apr 2003
Posts: 35
Code:
{ set %clave $$?="oper" | .oper $$?="nick" %clave | halt }


can be shortened to:
Code:
{ oper $$?="nick" $$?="oper" | halt }


Who will trade his karma for my kingdom?

Link Copied to Clipboard