MUDL:add pissed

From SlothMUD Wiki
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)