Excuse me

Posted by Kijin on Sun 25 Apr 2004 08:02 AM — 9 posts, 37,365 views.

#0
Excuse me i was wondering if there is anyway to set an alias to match on like,

hocuspocus 30 colour 11 cows go moo

and have a script or something have the seconds sent to something or something and start a timer and alert me when the time is up thank you every much

Australia Forum Administrator #1
Sure, anything like that is possible. It is a bit hard to know what "something or something" means but check out this page:

http://www.gammon.com.au/scripts/doc.php?function=DoAfterNote

Maybe you mean a trigger? Is this something you type, or something you see?
#2
i mean its a command to do something in game

Hocuspocus 30 colour 11 cows go moo

Hocuspocus is the name of the skill, the 30 is in how many seconds till it goes off, and the rest is colour of the wording, and the wording. I am not quite sure a trigger could do that if i must type it in
USA #3
Sounds like you want aliasing rather than triggers but you could use a rather interesting combination of the 2 for some very..... unusual effects.
#4
oh hehe i think i figured it out, cant believe it was as simply as just using * and %1 for the time lol
#5
i have a quick question. its it possible to make an alias that will do a few things like

inscribe 10 magician

to like do inscribe blank with magician, then wait for

You have successfully inscribed the image of the Magician on your Tarot card.

then do it 9 more times, and if i get this message

You lack the mental resources to etch a Tarot card.

to stop, then med and wait till i get

You cease your meditation having achieved full will and mana.

then start again?
Australia Forum Administrator #6
Virtually anything is possible, yes.

In this case I would do something like "send to script" on the first alias, along these lines:

Match: inscribe * *
Send:
world.Send "inscribe blank with %2"
world.SetVariable "inscribe_count", "%1"
world.SetVariable "inscribe_name", "%2"


This kicks the process off.

Then have a trigger matching:

You have successfully inscribed the image of * on your Tarot card.

This decrements variable "inscribe_count" by 1, and if greater than zero does it again (using the variable "incscribe_name" to know what to inscribe).

Similarly the "stop" and "start" actions could be handled by other triggers.
#7
what decrements the variable again
Australia Forum Administrator #8
Something like this:


Match: You have successfully inscribed the image of * on your Tarot card.

Send: 

world.SetVariable "inscribe_count", CInt (GetVariable ("inscribe_count")) - 1

if CInt (GetVariable ("inscribe_count")) > 0 then
  Send "inscribe blank with " & GetVariable ("inscribe_name")
end if

Send to: script