[Solved]Evaluating number using 'int' ?

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
qq6346144
Noob
Noob
Posts: 14
Joined: 12 Mar 2018, 12:25
Noob?: Yes
Location: shanghai china

[Solved]Evaluating number using 'int' ?

#1 Post by qq6346144 »

error in 5: Unrecognized --> int <-- Sub-Routine

automacro num99 {
console /num(\d+)~(\d+)/
call {
$numone = @eval ($.lastMatch1 + $.lastMatch2)
$numtwo = @eval ($numone / 2)
$numthree = int(@eval($numtwo))
do talk num $numthree
}
}

how to write?

c4c1n6kr3m1
The Way Of Human
The Way Of Human
Posts: 150
Joined: 24 Mar 2012, 04:13
Noob?: Yes

Re: error in 5: Unrecognized --> int <-- Sub-Routine

#2 Post by c4c1n6kr3m1 »

@eval(int($numtwo))

Locked