mIRC Home    About    Download    Register    News    Help

Print Thread
#164417 12/11/06 12:44 AM
Joined: Sep 2006
Posts: 35
C
chump Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Sep 2006
Posts: 35
hi peeps i got a lil prob with two on text scripts i am running
they are conflicting
one uses the trigger [real] and the other [unreal] relayed to my scriopt from a chan i sit in..they both trigger on either of those words..iam trying to get it so [unreal] triggers the next part of the unreal script and so on..i am trying to get them to trigger on the keywords there supposes to and not both at the same time...if u catch my drfit..thx peeps hope someone can point me in the right direction

forgot to mention the the words are in colour also ie word unreal is in green and the word real is in red..thx peeps

oh forgot to mention the bot it triggers from has looks somthign like this [ UNREAL]

#164418 12/11/06 01:24 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
basic on text stuff...
Code:
on *:text:*:#: {
  if ($strip($1) == unreal) { do this }
  elseif ($strip($1) == real) { do this }
}


Invision Support
#Invision on irc.irchighway.net
#164419 12/11/06 01:35 AM
Joined: Sep 2006
Posts: 35
C
chump Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Sep 2006
Posts: 35
i triedd that no luck...its still picking up on both scripts

#164420 12/11/06 03:43 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You are going to need to be more specific. What I gave you cannot trigger both things because of the elseif. Show what you're using as a script and we can fix it.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard