[Turn off line numbering]1: arg what, value; 2: 3: (> .perms(sender()) <); 4: if (!(what in .variables())) 5: throw(~motd, toliteral(what) + " is not a valid motd variable, try one of: " + toliteral(.variables())); 6: if (!(type(value) in ['string, 'list])) 7: throw(~motd, "Value must be sent as a string or a list of strings."); 8: set_var(what, value);
// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit