Thread: Thoughts
View Single Post
Cr3V3TT3
Senior Member
Join Date: Jul 2004
Location: V'dauban
Old 05-16-2005 , 13:12  
Reply With Quote #4

Quote:
Originally Posted by ajax
seems like it would be a nice feature, but i don't have any need for this right now. i'm sure when i find a way to use it, i'll want it very much.
In fact, its not realy usefull, its more for script-styling ^^

I think :
Code:
function "LoadLib" 1 "exec ES_LIB/$1.rc"

// Is greater than, less, ect..
LoadLib(Comparse)

// Run lib' s commands
LoadLib(Events)

// Player[id].{info} , require EventLink
LoadLib(PlayerInfo)
Got a better looking as :
Code:
// Is greater than, less, ect..
exec ES_LIB/Comparse.rc

// Run lib' s commands
exec ES_LIB/Events.rc

// Player[id].{info} , require "Events"
exec ES_LIB/PlayerInfo.rc
and you can do something like
Code:
function "LoadLib" 1 "echo Loading $1 Module...; exec ES_LIB/$1.rc;echo Module $1 Loaded..."
Cr3V3TT3 is offline
Send a message via MSN to Cr3V3TT3