Triggering event groups from a plugin?

Xlobby plugin development

Triggering event groups from a plugin?

Postby dalanik on Tue Jul 25, 2006 10:27 am

I know it is possible to trigger any command from a plugin with the SendCommand() function.

But what about Events created by users?

I.e. if I have an event with SEVERAL commands I made in event manager, can I also trigger that (Sort of like a parameter we specify to XEvent plugin which can then execute user created events with multiple commands)?

D.
dalanik
 
Posts: 886
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby dgemily on Tue Jul 25, 2006 11:32 am

I suppose xevent can do it by parsing every eventgroups (xml files) at the start up. Then it use SendCommand() function.
Maybe there is another way but I’m pretty sure xevent do like that because you can’t execute an event just created without restarting xlobby…
Member of XLobby FR Team
~~~~~~~~~~~~~~~~
Releases from the French team
dgemily
 
Posts: 795
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby P3rv3rt B3ar on Tue Jul 25, 2006 12:45 pm

xPerT does that. Either within xlobby with its call command or outside via PervTalk...
(and way Dgemily describes is way xPerT does it too...)
P3rv3rt B3ar
 
Posts: 1367
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby dalanik on Tue Jul 25, 2006 12:52 pm

Thanx for your replies. So I guess that means no...

At least now I know how to implement it, once I don't feel so lazy ... :-)
dalanik
 
Posts: 886
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby badubo on Tue Jul 25, 2006 1:18 pm

I asked this feature sometimes ago to Steven
XRemote use the same tips, I parse all xml events files
Badubo
Member of XLobby FR Team
~~~~~~~~~~~~~~~~~
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium


Return to Plugins

Who is online

Users browsing this forum: No registered users and 15 guests

cron