MUDL:add pissed

From SlothMUD Wiki
Revision as of 22:45, 19 November 2018 by Teker (Talk | contribs) (Created page with " __TOC__ = Summary = {|class="abilitiestable" border="0" cellspacing="0" cellpadding="0" ! Function Name | add_pissed |- ! Settable | No |- ! Returns | Boolean |} {|class...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Summary

Function Name add_pissed
Settable No
Returns Boolean


Parameter Options
Mobile (character), Player Name (string)


This function adds the player name to the "pissed" list for the specified mobile. If the mobile and string are valid and the mobile isn't currently pissed at that name, the function returns True.


Example

setproc <parent> # on_foo
add_pissed(char_in_room(%a, 'kobold'), name(%a)),

return(true)