Changes the method name of the namecall currently in progress, so the call proceeds as if a different method had been invoked. Only valid while a namecall is actually happening, which in practice means from inside a __namecall hook.

Parameters

string
required
The method name to substitute.

Example

Errors