 |
Noboyuki Beginner
Joined: 27 Jul 2001 Posts: 17
|
Posted: Thu May 22, 2003 12:08 am
megamogs backward talk script |
#CLASS {forwardback}
#VAR new {}
#VAR new2 {}
#VAR newc {}
#TRIGGER {(%W) sc (*)} {#var new2 "";#var new %replace(%2," ","|");#var newc %numitems(@new);#loop @newc,1 {#addi new2 %item(@new,%i)};#var new2 %replace(@new2,"|"," ");%1 @new2}
#CLASS 0
It lets you "say sc anything you want"
say want you anything
get the idea?
My problem is this the script works fine except it also sends to the mud my orginal sentence with the sc in it. Is there anyone who can assist me in blocking out that portion of the script so it only sends the backwards sentence to the mud
Thanks in advance
Noboyuki |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Thu May 22, 2003 12:32 am |
Yep, the trigger should have been created with the #ONINPUT command. Since you have already created it go into the settings editor and change the trigger type to 'Input'.
|
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|