Spellcast React On Eating Food/meds ?

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » Spellcast Scripting » Other » spellcast react on eating food/meds ?
spellcast react on eating food/meds ?
 Phoenix.Gaiarorshack
Offline
Server: Phoenix
Game: FFXI
user: MiavPigen
Posts: 1245
By Phoenix.Gaiarorshack 2013-07-21 02:58:58
Link | Quote | Reply
 
can spellcast reacts on eating food/meds ?
and if so, how ?
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-07-21 04:00:01
Link | Quote | Reply
 
I could be wrong, it's been a while since I've played around with command prefixes, but try:

<if commandprefix="/item">
 Phoenix.Gaiarorshack
Offline
Server: Phoenix
Game: FFXI
user: MiavPigen
Posts: 1245
By Phoenix.Gaiarorshack 2013-07-22 11:10:29
Link | Quote | Reply
 
THank you i will see if can get that to work.

i just want to make sure i dont drink and potions when im at 75-80% hp or higher
Offline
Posts: 1018
By kenshynofshiva 2013-07-22 11:16:35
Link | Quote | Reply
 
Not sure if changed but:
%CommandPrefix
2.11
Replaced with the current spell's command prefix. You must specify full prefixes here, as SpellCast automatically converts short or alternate prefixes.
Available CommandPrefixes:
/magic, /weaponskill, /jobability, /pet, /range, /song, /ninjutsu


What you can do if you really want the ability is use a fake spell and have that fake spell tied to the /item command. if fakespell and hplt < 70 cmd item else cancelspell return. To use an item just cast the fake spell.
Log in to post.