mojo_client/bin/scripts/opcode_who_forplayer.def
False.Genesis 74bb1a8a42 * added possibility to hook scripts to incoming opcodes
* fixed a few bugs with script hooks (scripts must be uppercased!!)
* added script funcs: GetOpcodeName, GetOpcodeID
* fixed possible crash at const char *GetOpcodeName()
* added script SendWhoForPlayer until CMSG_WHO correctly implemented into core
2007-11-13 20:44:55 +00:00

22 lines
587 B
Modula-2

// temporary wrapper for requesting info about a certain player until implemented into the core
#script=SendWhoForPlayer
// minlvl 0
bbappend,pkt,uint32 0
// maxlvl 100
bbappend,pkt,uint32 100
// player name, case-sensitive string
bbappend,pkt,string ${@def}
// no guild, empty string
bbappend,pkt,string
// racemask - all races
bbappend,pkt,uint32 0xFFFFFFFF
// classmask - all classes
bbappend,pkt,uint32 0xFFFFFFFF
// 0 zones to check
bbappend,pkt,uint32 0
// 0 additional strings
bbappend,pkt,uint32 0
SendWorldPacket,{?{GetOpcodeID CMSG_WHO}} pkt
bbdelete pkt