mIRC Home    About    Download    Register    News    Help

Print Thread
#101180 20/10/04 10:25 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
raw 5:*: { echo -s the chantypes are $1- | halt }

how i do to get only the chantype not the entire text


please help thnx



mess with the best
#101181 20/10/04 10:30 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Code:
raw 5:*CHANTYPES=*:echo -s the chantypes are $gettok($$wildtok($1-,CHANTYPES=*,1,32),2,61)


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#101182 20/10/04 10:41 PM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
If it's just the chantypes you want, you can also just use $chantypes instead...


Saturn, QuakeNet staff
#101183 20/10/04 10:44 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
how can i add a halt ?


mess with the best
#101184 20/10/04 10:49 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Code:
raw 5:*CHANTYPES=*:{
  echo -s the chantypes are $gettok($$wildtok($1-,CHANTYPES=*,1,32),2,61)
  halt
}


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#101185 20/10/04 11:00 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
thnx for the fast responding


mess with the best

Link Copied to Clipboard