What does "@*@" mean in Triggers?

coolman

Active Member
another question:

AddTrigger GMDetected "@*@CS.@*@tells you@*@"
AddTrigger GMDetected "@*@GM.@*@tells you@*@"
AddTrigger GMDetected "\\aPC @*@ @*@:mad:sender@\\/a tells you@*@GM@*@"

what's meaning of @*@ ,and how to use it? I couldn't find any details.
please help me.
thx.
 

Hendrix

Well-Known Member
@*@ means it can have any text whatever as long as the core words are there it will hit the trigger. @Something@ is passed to the function that the trigger calls as a variable, so the only difference between @*@ and @something@ is @*@ doesnt get passed.
 

coolman

Active Member
Yestoday a GM talk to me when I am useing the craft bot. But I am not AFK.
He said

Jone:"Hi,This is GM Jone from SOE."

sure He is a GM ,must have someone reported me . I was lucky I was on screen that moment.
So I add this in the script

AddTrigger GMDetected "@*@SOE@*@@*@GM@*@"
AddTrigger GMDetected "@*@GM@*@@*@SOE@*@"

will that work if someone tells in shout, ooc,or just says channel? ?

GM is smart ,they don't use tell anymore.
 

Hendrix

Well-Known Member
well for starters, you only need 1 @*@ for each gap, not for each word :p. but with the first one if anyone said SOE and then GM in the same sentence it would go off. The second one if anyone says GM then SOE in the same sentence it would go off... If you keep logs then i would go back and look at them and see if the name still had GM.Whatever, if not i doubt it was actually a GM. Could have been someone trying to screw with you.
 
Top Bottom