Glaves
11-26-2011, 03:21 AM
I have this currently running on an alt to echo his HP/MP/SP to my 2 main chatectors
while line = get
if line =~ /^NAME whispers, "stats/i
fput "whisper NAME HP:#{checkhealth} MP:#{checkmana} SP:#{checkspirit}"
elsif line =~ /^NAME whispers, "(stats)/i
fput "whisper NAME HP:#{checkhealth} MP:#{checkmana} SP:#{checkspirit}"
end
end
Wondering if someone could help me alter it to also echo wounds he has, maybe like it'll say this when whispered, HP:xx MP:xxx SP:xxx Head:2 Leg:0
Is this possible? even simply saying hes bleeding and possibly for how much.
thank you!
while line = get
if line =~ /^NAME whispers, "stats/i
fput "whisper NAME HP:#{checkhealth} MP:#{checkmana} SP:#{checkspirit}"
elsif line =~ /^NAME whispers, "(stats)/i
fput "whisper NAME HP:#{checkhealth} MP:#{checkmana} SP:#{checkspirit}"
end
end
Wondering if someone could help me alter it to also echo wounds he has, maybe like it'll say this when whispered, HP:xx MP:xxx SP:xxx Head:2 Leg:0
Is this possible? even simply saying hes bleeding and possibly for how much.
thank you!