Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer listener;
- integer channelNum;
- default
- {
- state_entry()
- {
- channelNum = 4983945;
- llListen(channelNum, "", "", "");
- }
- touch_start(integer total_number)
- {
- llDialog(llGetOwner(), "Test", ["Color", "Text"], channelNum);
- }
- listen(integer channel, string name, key id, string message)
- {
- if (channel == channelNum){
- if (message == "Color"){
- llDialog(llGetOwner(), "Test", ["New Dialog", "New Text"], channelNum);
- } else {
- llOwnerSay("Message: " + message);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement