mIRC Home    About    Download    Register    News    Help

Print Thread
#158595 06/09/06 05:22 PM
Joined: Jul 2006
Posts: 2
B
bongo Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
B
Joined: Jul 2006
Posts: 2
How can I replace the 2 in $2 by the variable %number

example
on *:TEXT:*test*:#test:{
%number = 2
%word = $2
echo %word
}

#158596 06/09/06 06:12 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
%word = $eval($+($, %number), 2)


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard