Logged in as Nobody

Vote for Us

Epitaph Help

Categories

Concepts Creator Commands Creator Tutorials Games Innate Commands Known Commands
Lord Npc Objects Playtesters Rooms Rules

Exec

Description

Exec can be used to execute a small amount of lpc. What the function does is write a temporary file call ~/exec_tmp.c and call a function containing the code you provided on that object. It will delete everything when it is finished and clean up everything. It will also print whatever return value is passed.

Example

exec return users()
exec return query_ip_number(this_player())
exec string s; s = 'frog'; s += 'fish'; return s
Copyright Statement

Epitaph Black Ops - Epiphany v1.2.13 [development]. Copyright © Imaginary Realities Ltd 2009 -