Multiple choices

Posted by David B on Sun 06 Jul 2003 08:34 AM — 4 posts, 16,097 views.

USA #0
I have this alias, that sends info to a variable, BUT I also need it to send the information directly to the mud, using send immeadiate. My Suggestion, When you click the drop down to select where you want to send the info, instead, have another window open, that lets you click multiple things at once.

I.E. Send Immeadiately, variable, and Lets say Notepad(new) just for grins and giggles.

I figure tou'd make a new window box, have all the things you have now with a [] next to them. If you wanted Variable, and send immeadiately you'd click on the box [x] and it'd be selected. This would make be very helpful I think.
Greece #1
You can just send to scripting, and use like:
Send "mystuff"
Setvariable "myvar", "mystuff"
Australia Forum Administrator #2
I agree with Poromenos on this one. The "send to script" gives you all the flexibility you really need.

For instance, you could send one thing to the world and another to notepad, and a third thing to a variable. Check boxes wouldn't really cover that. eg.


Send "%1"
SetVariable "myvar", "%2"
AppendToNotepad "Nick's window", "%3" + vbcrlf
If "%1" = "foo" Then
  EnableTrigger "bar", 1
End If


That is very flexible.
USA #3
Then you could just world.sendimmeadiate from the script, ya that could work I suppose, that whole send to script thing, don't quite understand it, I guess you could say thats because I'm kinda old school, having been using mushclient since like very early on.