Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
aeslynn
Newbie


Joined: 08 Apr 2019
Posts: 4

PostPosted: Sun Apr 14, 2019 12:46 am   

OnDisconnect Set Variable
 
Code:
#ADDKEY {%item(@CHARACTERS, @MSDP.CHARACTER_NAME)} {autopoke} {%if(%trigger("pokes"), 1, 0)}
#ADDKEY {%item(@CHARACTERS, @MSDP.CHARACTER_NAME)} {autoheal} {%if(%class("autoheal"), 1, 0)}


I'm trying to set these variables to save to the character record onDisconnect. However, even though this code works when I'm connected, it doesn't seem to work on the event "onDisconnect". Any ideas?
Reply with quote
aeslynn
Newbie


Joined: 08 Apr 2019
Posts: 4

PostPosted: Sun Apr 14, 2019 2:59 am   
 
Nevermind, I fixed the problem. Can't delete unfortunately.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net